• Post Reply Bookmark Topic Watch Topic
  • New Topic

SOAP within a servlet  RSS feed

 
Sasikanth Malladi
Ranch Hand
Posts: 175
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
All, when my servlet receives a request, it needs to send a SOAP message to another webserver and use the response that it receives to send out a response.

Is this a recommended thing to do? Are there better techniques? I'm a little new to SOAP so any pointers in the right direction are appreciated. Any links pointing to how to use a servlet as a SOAP client would be helpful, needless to say.

Thanks,
Sashi
 
Ben Souther
Sheriff
Posts: 13411
Firefox Browser Redhat VI Editor
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
This is not unusual.

Take a look at Apache Axis.
It's a SOAP engine implemented in Java (including a servlet version).

http://xml.apache.org/axis.

It's very easy to use.
 
Sasikanth Malladi
Ranch Hand
Posts: 175
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Great!
Thanks for the quick response, Ben. I will check it out.
Sashi
 
Ben Souther
Sheriff
Posts: 13411
Firefox Browser Redhat VI Editor
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Originally posted by Ben Souther:
This is not unusual.

Take a look at Apache Axis.
It's a SOAP engine implemented in Java (including a servlet version).

http://xml.apache.org/axis.

It's very easy to use.



Got the URL wrong.
Here:
http://ws.apache.org/axis/
 
Ulf Dittmer
Rancher
Posts: 42970
73
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
It sounds as if the servlet will be a WS client only, in which case you wouldn't need to install Axis (because you don't need a SOAP engine). You still need to download it, because you're going to need its libraries in your web app classpath.

Just about the simplest possible WS client (using the SAAJ API) can be found here.
 
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!