Win a copy of Functional Reactive Programming this week in the Other Languages forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

How to convert a database table record to SOAP XML message

 
thomas jacob
Ranch Hand
Posts: 91
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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
Posts: 959
Eclipse IDE Java Linux
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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.
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic