Forums Register Login

How to generate SOAP ENEVELOPE

+Pie Number of slices to send: Send
Hi

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

Thanks
+Pie Number of slices to send: Send
You can use any tool kit like AXIS/XFIRE or JAX-WS.

--Vijay
+Pie Number of slices to send: Send

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.
+Pie Number of slices to send: Send
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



+Pie Number of slices to send: Send
+Pie Number of slices to send: Send
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!
+Pie Number of slices to send: Send
 

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
+Pie Number of slices to send: Send
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.
It's exactly the same and completely different as this tiny ad:
a bit of art, as a gift, the permaculture playing cards
https://gardener-gift.com


reply
reply
This thread has been viewed 1347 times.
Similar Threads
Soap response contains wsdl
soap web service communication
soap, wsdl, xsd and soap message
How to generate a correct WSDL for a service with overloaded methods ?
My personal test review about SCDJWS 5 beta
More...

All times above are in ranch (not your local) time.
The current ranch time is
Mar 29, 2024 09:31:55.