Jump to content

francislang

Member
  • Posts

    2
  • Joined

  • Last visited

  • Donations

    0.00 USD 
  • Country

    United Kingdom

About francislang

francislang's Achievements

0

Reputation

  1. 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
  2. I've got an XML document that returns various bits of information from my webservice. The tags and some values are created inside a stored procedure. I then load the XML into a domXML object in .net because I want to insert a PDF file into the <PDFFILE> tags that were created in the SP. Question: I need to change the property/attribute of the <PDFFILE> tag to tell the client(webservice) that it is base 64 encoded. e.g. <PDFFILE xmlns:dt=""urn:schemas-microsoft-com:datatypes"" dt:dt=""bin.base64""> How do I go about changing this in .net? Any help would be most appreciated.
×
×
  • Create New...