Jump to content

Recommended Posts

Posted

I have a user that uses a tool called SonicMQ to send XML to my web service. The web service responds instantly and sends a response back to the client.

However, this particular user cannot tie up the response from the web service to the request he has made. This is a problem.

I've been looking into SOAP headers and thought it might be possible to create an optional 'MessageID' that he could pass in the header and then it could be returned in the response. Therefore allowing him to tie up both messages.

Question:

If I do this to my web method;

<WebMethod(), SoapHeader("MessageID", Direction:=SoapHeaderDirection.InOut, Required:=False)> _

Public Function MethodName(ByVal s As String) As String

Will it automatically include the 'MessageID' in the response if it is supplied? Or do I have to tell it to send it back?

Any help would be greatly appreciated.

Cheers,

Francis


Please sign in to comment

You will be able to leave a comment after signing in



Sign In Now
  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...