Connecting Tech Pros Worldwide Forums | Help | Site Map

SOAP/ XML message handling at Server side

Newbie
 
Join Date: May 2009
Posts: 2
#1: May 6 '09
Hi,

I have a web service which deals with XML data using SOAP. It first gets a request(String in XML) and then respond to the sender in a single string through XML. I searched through so many forums, there are many ways given to send a request and then handle the response but I didn't get a way how to first get the request and then send the response. My response if working fine though.

Can anybody help with this?

Dormilich's Avatar
Moderator
 
Join Date: Aug 2008
Location: Leipzig, Germany
Posts: 3,652
#2: May 6 '09

re: SOAP/ XML message handling at Server side


could you explain it maybe with an example? I couldn't understand your problem at all.
Newbie
 
Join Date: May 2009
Posts: 2
#3: May 7 '09

re: SOAP/ XML message handling at Server side


Thanks for you reply.

Let me explain it in a bit. For an example, I am sending "hi" from my Java program to my web service and I send back "hello" if I can read the string or send "failure" if my program can not read a string. My web service logic is written in vb.net. It seems a very simple thing but the tricky part is 'web service does not send something to start comnnunication'. I searched a lot on web but I get "httpwebrequest" and then "httpwebresponse" which uses httpWebRequest to send the response. But in this case, my program is acting as a server which gets a request from the client and sends the response back.


Thanks,

Kim
Dormilich's Avatar
Moderator
 
Join Date: Aug 2008
Location: Leipzig, Germany
Posts: 3,652
#4: May 7 '09

re: SOAP/ XML message handling at Server side


Quote:

Originally Posted by Kim000 View Post

It seems a very simple thing but the tricky part is 'web service does not send something to start comnnunication'.

that's right, the webservice itself is not intended to start communication.

so, why should your websevice start communication (or taken one step further—to whom)?
Reply