Win a copy of Spark in Action this week in the Open Source Projects forum!
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
programming forums Java Mobile Certification Databases Caching Books Engineering Micro Controllers OS Languages Paradigms IDEs Build Tools Frameworks Application Servers Open Source This Site Careers Other all forums
this forum made possible by our volunteer staff, including ...
Marshals:
  • Campbell Ritchie
  • Bear Bibeault
  • Ron McLeod
  • Jeanne Boyarsky
  • Paul Clapham
Sheriffs:
  • Tim Cooke
  • Liutauras Vilda
  • Junilu Lacar
Saloon Keepers:
  • Tim Moores
  • Stephan van Hulst
  • Tim Holloway
  • fred rosenberger
  • salvin francis
Bartenders:
  • Piet Souris
  • Frits Walraven
  • Carey Brown

Generating Soap msg from a xml file

 
Ranch Hand
Posts: 196
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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
 
Ranch Hand
Posts: 548
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
please look at the SAAJ / JAX-RPC API's from Sun and AXIS.
 
    Bookmark Topic Watch Topic
  • New Topic