0 Replies Latest reply on Oct 15, 2015 6:14 AM by aarjunmuthu

    HTTP Post with XML as parameter

    aarjunmuthu

      Hi All,

       

      I would like to do HTTP Post with two parameters. One parameter is xml as string. How to do?

       

      My SOAP is,

       

      Content-Type: text/xml; charset=utf-8

      Content-Length: length

      SOAPAction: "http://tempuri.org/ImportInvoiceLives"

       

       

      <?xml version="1.0" encoding="utf-8"?>

      <soap:Envelope xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:soap="http://schemas.xmlsoap.org/soap/envelope/">

        <soap:Body>

          <ImportInvoiceLives xmlns="http://tempuri.org/">

            <sXMLInvoice>string</sXMLInvoice>

            <sErrMsg>string</sErrMsg>

          </ImportInvoiceLives>

        </soap:Body>

      </soap:Envelope>

       

      Here

      sXMLInvoice -> take xml as parameter.

       

      How to do with insert from URL or using Baseelements plugin. If there is any example, that would be more helpful.

       

      Thanks in advance,

      Aarjun