SubmitXmlOnSession

The SubmitXmlOnSession method is the equivalent of the SyncSubmit transaction in the XML Select product. SubmitXmlOnSession takes a session token, request in XML, and filter. It works like the SubmitXml method, but takes a session token instead of a profile. This method does not support the HTTP Get protocol. Refer to the sample of SubmitXmlOnSession for an example of a request.

Note: To indicate special characters in a request or response, refer to the Special Characters Table.

SOAP Sample

The following is a sample SOAP request and response. The placeholders shown need to be replaced with actual values.

Request

POST /XMLSelect/XMLSelect.asmx HTTP/1.1

Host: testws.galileo.com

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

Content-Length: length

SOAPAction: "http://webservices.galileo.com/SubmitXmlOnSession"

<?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>

    <SubmitXmlOnSession xmlns="http://webservices.galileo.com">

      <Token>string</Token>

      <Request>xml</Request>

      <Filter>xml</Filter>

    </SubmitXmlOnSession>

  </soap:Body>

</soap:Envelope>

Response

HTTP/1.1 200 OK

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

Content-Length: length

<?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>

    <SubmitXmlOnSessionResponse xmlns="http://webservices.galileo.com">

      <SubmitXmlOnSessionResult>xml</SubmitXmlOnSessionResult>

    </SubmitXmlOnSessionResponse>

  </soap:Body>

</soap:Envelope>