Loading ...
Sorry, an error occurred while loading the content.
 

Wrapping XML inside SOAPenvelop

Expand Messages
  • johnsmith2797480@aol.com
    Hi, I have the xml schema below, and I need to send it in a SOP envelop, not sure how to construct the envelop to contain the xml Schema...can any one help
    Message 1 of 1 , Jul 15, 2003
      Hi,

      I have the xml schema below, and I need to send it in a SOP envelop, not sure how to construct the envelop to contain the xml Schema...can any one help please:
      **************The following lines are the schema for my xml data

      <application>
       <Intro_Code>5065</Intro_Code>
        <forenames></forenames>
      <surname></surname>
      </application>

      **********The following lines are the envelope I need to send:

      strEnvelope = _
            "<SOAP:Envelope xmlns:SOAP=""urn:schemas-xmlsoap-org:soap.v1"">" & _
            "<SOAP:Header></SOAP:Header>" & _
            "<SOAP:Body>" & _
            "<m:GetSalesTax xmlns:m=""urn:myserver/soap:TaxCalculator"">" & _
            "<SalesTotal>100</SalesTotal>" & _
            "</m:GetSalesTax>" & _
            "</SOAP:Body>" & _
            "</SOAP:Envelope>"


      I look forward to your replies.

      thanks

      Sam
    Your message has been successfully submitted and would be delivered to recipients shortly.