You are viewing a plain text version of this content. The canonical link for it is here.
Posted to java-user@axis.apache.org by Lukas Barton <lu...@cnawr.cz> on 2006/05/02 15:04:02 UTC

SOAP message to file using JAX-RPC

Hi,
is there an easy way to save SOAP message generated using JAX-RPC into file?
I need to send SOAP message via floppy, STMP + SMINE or registred 
internet mail service.
Now I'am using Sun's SAAJ. I compose SOAPMessage "manually" + 
SOAPMessage.writeTo(OutputStream). But my objects became quite complex 
(eg. cyclic graphs) and generating XML manually is quite difficult.

So I need to change to JAX-RPC but I cannot figure out how to get 
message from it into file (of course I am able to send message accross 
HTTP).
What part of Axis2 shoul I use?


Thanks helping me,

Lukas