File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
The moose likes Web Services and the fly likes Parse SOAP request data and modify! Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login

Win a copy of Java Interview Guide this week in the Jobs Discussion forum!
JavaRanch » Java Forums » Java » Web Services
Bookmark "Parse SOAP request data and modify!" Watch "Parse SOAP request data and modify!" New topic

Parse SOAP request data and modify!

kalyan enganti

Joined: Dec 12, 2011
Posts: 6
We are using an sms gateway to send and receive text messages. We have been given a wsdl. I have written a client for it to send sms text messages,which is working as expected.So far so good...
To receive the messages the provider posts the soap request to a configurable server location.The sample request is as follows:

I believe I cannot use request.get parameter() to request the fields.I would like to know if there are any ways to parse the posted request and extract the required fields on the fly and what would be the best possible ways to do it?Also is it possible to filter the sms text message for obscene/offensive content and forward it to another servlet /jsp.Any inputs or pointers in the right direction would be greatly appreciated.
I agree. Here's the link:
subject: Parse SOAP request data and modify!
It's not a secret anymore!