Win a copy of Murach's Python Programming this week in the Jython/Python forum!
  • Post Reply Bookmark Topic Watch Topic
  • New Topic

Axis2 Anync Service - Fetching data from a database.  RSS feed

 
Constantinos Grevenitis
Ranch Hand
Posts: 31
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
I have to built a client, that is going to invoke a web service in order to get data from a database using a date arg. The communication is going to be async (fire and forget). The issue is that web services communicate using SOAP messages, but I have DB data. So I thought that I have to take those steps:

1. When the client is calling the web service, the DB table's data will be parsed to an XML -SOAP message file.

2. Then the service will "take" the SOAP file and "fetch" it to the client.

My problem is that I don't know if what I thought is correct. If it is correct, Sun's XML API for Java will be good enought to help me "transform" the database data to SOAP message, or there is another API that could probably help me more?
 
It is sorta covered in the JavaRanch Style Guide.
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!