1 SOAP response example

1.1 SOAPOBJServer

1.1.1 Execute an object in ascii mode

  • SOAP Request:
    Copy
    Content-Type: text/xml; charset=utf-8
    Content-Transfer-Encoding: 8bit
    text/xml: text/xml;charset=utf-8
    Content-ID: <23025815.1383669406125.apache-soap.deister_mac6>
    Content-Length: 586
     
    <?xml version='1.0' encoding='UTF-8'?>
    <SOAP-ENV:Envelope xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:SOAP-ENV="http://schemas.xmlsoap.org/soap/envelope/">
    <SOAP-ENV:Body>
    <ns1:execute xmlns:ns1="urn:SOAPOBJServer" SOAP-ENV:encodingStyle="http://schemas.xmlsoap.org/soap/encoding/">
    <database xsi:type="xsd:string">demo_sports</database>
    <objcode xsi:type="xsd:string">cdiarios</objcode>
    <qrycond xsi:type="xsd:string">1=1</qrycond>
    <type xsi:type="xsd:string">asc</type>
    </ns1:execute>
    </SOAP-ENV:Body>
    </SOAP-ENV:Envelope>
  • SOAP Response:
    Copy
    <?xml version='1.0' encoding='UTF-8'?>
    <SOAP-ENV:Envelope xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:SOAP-ENV="http://schemas.xmlsoap.org/soap/envelope/">
    <SOAP-ENV:Body>
    <ns1:executeResponse xmlns:ns1="urn:SOAPOBJServer" SOAP-ENV:encodingStyle="http://schemas.xmlsoap.org/soap/encoding/">
    <objresponse SOAP-ENV:encodingStyle="http://xml.apache.org/xml-soap/literalxml">
    <objresponse date="2013-11-05T17:35:42.326Z" host="web1">
     <object code="cdiarios" dbms="demo_sports" encoding="UTF-8" glob=".txt" gzip="false" lang="es-" size="655" type="asc">bWFydGVzIDUgZGUgbm92aWVtYnJlIGRlIDIwMTMgMTc6MzU6NDIgQ0VUIChkZW1vKQ0KRGVtbyBTcG9ydHMNCkRJQVJJT1MgQ09OVEFCTEVTDQoNCistLS0rLS0tLS0tKy0tLS0tLS0tLS0tLS0tLS0tLS0tLSsNCnxJRCB8RGlhcmlvfERlc2NyaXBjafNuICAgICAgICAgIHwNCistLS0rLS0tLS0tKy0tLS0tLS0tLS0tLS0tLS0tLS0tLSsNCnwyNTh8QUEgICAgfERJQVJJT6BERaBMSVFVSURBQ0nTTnwNCnwyNjF8QU0gICAgfEFETUlOSVNUUkFDSdNOICAgICAgIHwNCnwyNjB8Q0EgICAgfENBSkEgICAgICAgICAgICAgICAgIHwNCnwyNTd8REMgICAgfERJQVJJT6BERaBDQUpBICAgICAgIHwNCnwyNTl8REcgICAgfERJQVJJT6BHRU5FUkFMICAgICAgIHwNCnwyNjJ8RFIgICAgfERJQVJJoERFoFJFUEFSVElNRU5UU3wNCnwyNjR8RFYgICAgfERpYXJpb6BkZaB2ZW50YXMgICAgIHwNCnwyNzl8TiAgICAgfE5VRVZPICAgICAgICAgICAgICAgIHwNCnwyNjh8U0YgICAgfERpYXJpbyBTRiAgICAgICAgICAgIHwNCistLS0rLS0tLS0tKy0tLS0tLS0tLS0tLS0tLS0tLS0tLSsNCg0KDQoNCg0KDQoNCg0KDQoNCg0KDQoNCg0KDQoNCg0KDQoNCg0KDQoNCg0KDQoNCg0KDQoNCg0KDQoNCg0KDQoNCg0KDQoNCg0KDQoNCg0KDQoNCg0KDQoNClDhZ2luYSAxDQoNCg==</object>
    </objresponse>
    </objresponse>
    </ns1:executeResponse>
    </SOAP-ENV:Body>
    </SOAP-ENV:Envelope>