SubmitXml

The SubmitXml method is the equivalent of the SyncSubmit transaction in the XML Select product. SubmitXml takes a Host Access Profile (HAP), request in XML, and filter and submits a transaction synchronously. The call does not return until the data is available, and the data is returned based on the filter. This method does not support the HTTP Get protocol. Refer to the sample of SubmitXml for an example of a request.

If you are submitting multiple XML requests, use MultiSubmitXml rather than multiple SubmitXml requests. MultiSubmitXml returns the same response, but uses the server resources more efficiently and has better performance.

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

SOAP

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/SubmitXml"

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

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

      <Profile>string</Profile>

      <Request>xml</Request>

      <Filter>xml</Filter>

    </SubmitXml>

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

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

      <SubmitXmlResult>xml</SubmitXmlResult>

    </SubmitXmlResponse>

  </soap:Body>

</soap:Envelope>