Win a copy of Head First Android this week in the Android forum!

anas alsarairah

Greenhorn
+ Follow
since Sep 27, 2007
Cows and Likes
Cows
Total received
0
In last 30 days
0
Total given
0
Likes
Total received
0
Received in last 30 days
0
Total given
0
Given in last 30 days
0
Forums and Threads
Scavenger Hunt
expand Ranch Hand Scavenger Hunt
expand Greenhorn Scavenger Hunt

Recent posts by anas alsarairah

Dear

i have a big confusion trying to realize the distinction between BPEL and WS-Addressing , and my question is if i can do asynchronous messaging using WS-Addressing and each Message can tell independently what comes after it, isn't this choreography .
bottom line does WS-Addressing replace BPEL somehow .

please
7 years ago
hello
i have been looking for a standalone ws-policy editor, any help please ?

thsnks
8 years ago
thanks for the reply but i have then another question , i couldnt find any annotations in metro or even axis2 that enable us to indent ws-* features inside the implementation code for the web service specially ws-security

thanks
8 years ago
hello

i was wondering if i have a wsdl file that contains some ws-policy and ws-securitypolicy stuff in addition to any other ws-* content , would ws-import be able to import it correctly because i couldn't find any jax-ws annotations that would address the ws-* stuff , and if there is no way to use jax-ws with ws-* can you tell me where i can find a complete ws-* implementation for all the ws-* specs specially security cause i have a requirement to use user name password authentication with my services over https .

thank you in advance
8 years ago
well yes i tried it and its working for text files

i wrote in the first text file (anas )and in the second one (alsarairah )
and the resultant file had the following (anasalsarairah)
which combines the content of the text files

thanks
9 years ago
ok ... now i have used code tags if you would like to have a look ... but my question now how can i do that i mean how can i merg pdf streams ... whats the best way please

thanks
9 years ago
hello
tanks for your reply
well what i do is that i create a list with 2 input streams and then i create a sequence input stream object from the list then i start writing the sequence to a single output file ... now the problem is that only the last file gets written to the output file and the first one somehow disappear

thanks
9 years ago
hello
i have an application that receives a list of PDF streams and then and then tries to merge them together into one single stream using SequenceInputStream class but the problem when i try to write the SequenceInputStream it doesnt write all the expected streams that have been included in the SequenceInputStream .... and please see the code beneath



please anyone help me on this
9 years ago
hello
i have an application that receives a list of PDF streams and then and then tries to merge them together into one single stream using SequenceInputStream class but the problem when i try to write the SequenceInputStream it doesnt write all the expected streams that have been included in the SequenceInputStream .... and please see the code beneath



please anyone help me on this
9 years ago
ok .. got your point and i think you are right .
thank you
hello
i have downloaded the assingmnet and while i was going throught it i noticed that in the domain model there are two classes that appearantly have an association class that links to the relationship between the classes but as i know association classes should link to association between the other two classes throught a dashed arrow , but that is not the case in the daiagram that is shown in the domain model daigram in the assignment as they show it using an association line and not a dashed one . so what do you think

please i need your help as time goes by quickly
thanks for you answer , so in the same day i upload my assignment i can register for the essay . i mean i dont have to wait somtime after i have uploaded the essay before i can take the essay ... can you cofirm if that is the case , please .

thanks
hello

am about to submit my assignment (part 2) for the Architect exam but i dont know when to register for the essay , is it after i submit the assignment or should i wait for the assignment to be graded (failed /passed) then after i pass the assignment i can register for the essay cause its really confusing .

thank s
not a single answer .....help please
10 years ago
hello

i have developed a web service client using the dispatch interface ... all i do is just create the message and attach a PDF file to the message but the message is never optimized ... and here is the part of my code that used MTOM and the soap message that results and by the way the web service that recives this message is developed using the provider interface

.........
target = "http://shaitoon:8080/ecs/documentService";

seviceQname = new QName(DocumentServiceConfig.NAMESPACE_PREFIX, DocumentServiceConfig.SERVICE_NAME);

portQname = new QName(DocumentServiceConfig.NAMESPACE_PREFIX, DocumentServiceConfig.PORT_NAME);

service = javax.xml.ws.Service.create(seviceQname);

service.addPort(portQname, SOAPBinding.SOAP11HTTP_BINDING, target);

javax.xml.ws.Dispatch<SOAPMessage> dispatch = service.createDispatch(portQname, SOAPMessage.class, Mode.MESSAGE, new javax.xml.ws.soap.MTOMFeature());

SOAPMessage response = dispatch.invoke(message);
..............
and here is the SOAP message that gets generated

<SOAP-ENV:Envelope xmlns:SOAP-ENV="http://schemas.xmlsoap.org/soap/envelope/">
<SOAP-ENV:Header/>
<SOAP-ENV:Body/>
</SOAP-ENV:Envelope>
------=_Part_27_31193995.1306014004427
Content-Type: application/pdf
Content-ID: <pdf_rep_of_>
.... and here the rest of the attachment parts

and as you can see there is now <xop:include

so please help me out ... cause i am running out of time

thanks in advance


>
10 years ago