Hi all,
 
I have implemented a client and a server for exchanging xml documents, i.e. IFX docuements. The client will send an xml document to the server and the
server will return an xml document after doing some processing. I use the message style method to deal with this kind of work. In the client side, I use the following
code to transport the xml document to the server and receive the result from the server:
 
SOAPBody body = envelope.getBody();
body.addDocument(doc);
SOAPMessage reply=connection.call(msg,url);
 
In the server side, I use the following signature to deal with the incoming message:
public Document method(Document body)
 
I use the above method to handle the exchange of xml documents on the client and the server side.
I would like to know if the stub program produced from WSDL can help me to handle the same situation.
I want to use WSDL2Java to produce the stub program from WSDL to help client program to  handle the low level code, but I don't
know if the produced stub can handle the exchange of the xml documents. I have searched the axis-user forum, but I find
most people use the stub to deal with the RPC style web service message exchange instead of the exchange of the arbitrary xml documents.
Can somebody point me some directions? Thanks in advance,
 
Dink Lo     

Reply via email to