File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
http://aspose.com/file-tools
The moose likes Web Services and the fly likes Generating Soap msg from a xml file Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Java » Web Services
Bookmark "Generating Soap msg from a xml file" Watch "Generating Soap msg from a xml file" New topic
Author

Generating Soap msg from a xml file

ajse ruku
Ranch Hand

Joined: May 06, 2005
Posts: 194
Hi all,
I am getting a xml structured data from the inputstream.I have to send this data to a server using web services(apache axis).So first of all I have to parse this xml , then make an object then send it using apache axis.But apache axis will internally again convert this object into soap msg(xml format).So I think there is xml to object then object to xml repeated conversions are going on.

I just want to make a soap message by taking xml from the inputstream(do not want to parse and make an object) and send it using apache axis so that at the server side,server can get the object from the soap msg.
I am thinking wright?Is it possible?If anyone can suggest something?
Or my first approach is the only way?

with regards,
ajse
Rr Kumaran
Ranch Hand

Joined: Sep 17, 2001
Posts: 548
please look at the SAAJ / JAX-RPC API's from Sun and AXIS.


RR Kumaran
SCJP 1.4
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: Generating Soap msg from a xml file