• 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

How to generate SOAP ENEVELOPE

 
Ranch Hand
Posts: 36
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi

Can Some one provide what are the best practices/methods to construct SOAP Message for a given WSDL.

Thanks
 
Ranch Hand
Posts: 260
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
You can use any tool kit like AXIS/XFIRE or JAX-WS.

--Vijay
 
sivaprasad pasupulathi
Ranch Hand
Posts: 36
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator

Thanks for your reply Vijay,

Can you please provide me an example where i can generate a SOAP Message from a WSDL through JAX-WS.

Thank YOu.
 
sivaprasad pasupulathi
Ranch Hand
Posts: 36
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Sorry,I should have been more elaborate.I am looking for creation of SOAP message through Java code dynamically at run time.

or Can i create the soap Envelope once and them replace the soap body according to bussiness rules.Can this is done?

or Do i have a create the Envelope and the body for each and every request.

Thanks



 
Ranch Hand
Posts: 510
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
http://wso2.org/library/1719
 
Ranch Hand
Posts: 2198
1
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi!
To generate SOAP messages dynamically at runtime, you may want to consider SAAJ.
Examples on how to use SAAJ can be found in section 5.7 of the following document: http://www.slideshare.net/krizsan/scdjws-5-study-notes-3085287
SAAJ will help you to create an empty SOAP message, which you later can fill in.
Best wishes!
 
Ranch Hand
Posts: 1183
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator

sivaprasad pasupulathi wrote:I am looking for creation of SOAP message through Java code dynamically at run time.




Building Web Services with JAX-WS explains it.

Regards,
Dan
 
Samanthi perera
Ranch Hand
Posts: 510
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
I did this example untill 10th step
http://wso2.org/library/1719

I am doing Creating Service part.
But when i type http://localhost:8080/axis2/ in browser it doesn't give me result which example mention.
 
    Bookmark Topic Watch Topic
  • New Topic