jQuery in Action, 2nd edition*
The moose likes Web Services and the fly likes How to convert a database table record to SOAP XML message Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Java » Web Services
Bookmark "How to convert a database table record to SOAP XML message" Watch "How to convert a database table record to SOAP XML message" New topic
Author

How to convert a database table record to SOAP XML message

thomas jacob
Ranch Hand

Joined: May 19, 2005
Posts: 91
I want to convert a database record to a SOAP message/ XML payload. How can I go about doing it

Thanks
Freddy Wong
Ranch Hand

Joined: Sep 11, 2006
Posts: 959

Read the record from database using JDBC and create the XML using that object using something like DOM. Then use any web service framework, such as JAX-WS to send that message across.


SCJP 5.0, SCWCD 1.4, SCBCD 1.3, SCDJWS 1.4
My Blog
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: How to convert a database table record to SOAP XML message