Error

HTTP Error: Unsupported HTTP response status 410 Gone (soapclient->response has contents of the response)

Request

POST /onca/soap2 HTTP/1.0
Host: soap.amazon.com
User-Agent: NuSOAP/0.9.5 (1.123)
Content-Type: text/xml; charset=ISO-8859-1
SOAPAction: "http://soap.amazon.com"
Content-Length: 824

<?xml version="1.0" encoding="ISO-8859-1"?><SOAP-ENV:Envelope SOAP-ENV:encodingStyle="http://schemas.xmlsoap.org/soap/encoding/" xmlns:SOAP-ENV="http://schemas.xmlsoap.org/soap/envelope/" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:SOAP-ENC="http://schemas.xmlsoap.org/soap/encoding/"><SOAP-ENV:Body><ns2496:ManufacturerSearchRequest xmlns:ns2496="http://soap.amazon.com"><manufacturer xsi:type="xsd:string">O&apos;Reilly</manufacturer><page xsi:type="xsd:string">1</page><mode xsi:type="xsd:string">books</mode><tag xsi:type="xsd:string">trachtenberg-20</tag><type xsi:type="xsd:string">lite</type><devtag xsi:type="xsd:string">Your tag here</devtag><sort xsi:type="xsd:string">+title</sort></ns2496:ManufacturerSearchRequest></SOAP-ENV:Body></SOAP-ENV:Envelope>

Response

HTTP/1.1 410 Gone
Date: Mon, 23 May 2022 16:40:24 GMT
Server: Server
Content-Length: 282
Keep-Alive: timeout=2, max=13
Connection: Keep-Alive
Content-Type: text/html; charset=iso-8859-1

<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">
<html><head>
<title>410 Gone</title>
</head><body>
<h1>Gone</h1>
<p>The requested resource is no longer available on this server and there is no forwarding address.
Please remove all references to this resource.</p>
</body></html>

Debug

2022-05-23 20:40:24.331985 nusoap_client: ctor wsdl= timeout=0 response_timeout=30
endpoint=string(33) "http://soap.amazon.com/onca/soap2"
2022-05-23 20:40:24.332035 nusoap_client: instantiate SOAP with endpoint at http://soap.amazon.com/onca/soap2
2022-05-23 20:40:24.332054 nusoap_client: setUseCURL(0)
2022-05-23 20:40:24.332080 nusoap_client: call: operation=ManufacturerSearchRequest, namespace=http://soap.amazon.com, soapAction=http://soap.amazon.com, rpcParams=, style=rpc, use=encoded, endpointType=soap
params=array(7) {
  ["manufacturer"]=>
  string(8) "O'Reilly"
  ["page"]=>
  string(1) "1"
  ["mode"]=>
  string(5) "books"
  ["tag"]=>
  string(15) "trachtenberg-20"
  ["type"]=>
  string(4) "lite"
  ["devtag"]=>
  string(13) "Your tag here"
  ["sort"]=>
  string(6) "+title"
}
headers=bool(false)
2022-05-23 20:40:24.332117 nusoap_client: serializing param array for operation ManufacturerSearchRequest
2022-05-23 20:40:24.332138 nusoap_client: in serialize_val: name=manufacturer, type=, name_ns=, type_ns=, use=encoded, soapval=
value=string(8) "O'Reilly"
attributes=bool(false)
2022-05-23 20:40:24.332171 nusoap_client: serialize_val: serialize string
2022-05-23 20:40:24.332196 nusoap_client: serialize_val returning <manufacturer xsi:type="xsd:string">O&apos;Reilly</manufacturer>
2022-05-23 20:40:24.332215 nusoap_client: in serialize_val: name=page, type=, name_ns=, type_ns=, use=encoded, soapval=
value=string(1) "1"
attributes=bool(false)
2022-05-23 20:40:24.332244 nusoap_client: serialize_val: serialize string
2022-05-23 20:40:24.332263 nusoap_client: serialize_val returning <page xsi:type="xsd:string">1</page>
2022-05-23 20:40:24.332278 nusoap_client: in serialize_val: name=mode, type=, name_ns=, type_ns=, use=encoded, soapval=
value=string(5) "books"
attributes=bool(false)
2022-05-23 20:40:24.332302 nusoap_client: serialize_val: serialize string
2022-05-23 20:40:24.332320 nusoap_client: serialize_val returning <mode xsi:type="xsd:string">books</mode>
2022-05-23 20:40:24.332334 nusoap_client: in serialize_val: name=tag, type=, name_ns=, type_ns=, use=encoded, soapval=
value=string(15) "trachtenberg-20"
attributes=bool(false)
2022-05-23 20:40:24.332357 nusoap_client: serialize_val: serialize string
2022-05-23 20:40:24.332376 nusoap_client: serialize_val returning <tag xsi:type="xsd:string">trachtenberg-20</tag>
2022-05-23 20:40:24.332389 nusoap_client: in serialize_val: name=type, type=, name_ns=, type_ns=, use=encoded, soapval=
value=string(4) "lite"
attributes=bool(false)
2022-05-23 20:40:24.332412 nusoap_client: serialize_val: serialize string
2022-05-23 20:40:24.332430 nusoap_client: serialize_val returning <type xsi:type="xsd:string">lite</type>
2022-05-23 20:40:24.332443 nusoap_client: in serialize_val: name=devtag, type=, name_ns=, type_ns=, use=encoded, soapval=
value=string(13) "Your tag here"
attributes=bool(false)
2022-05-23 20:40:24.332473 nusoap_client: serialize_val: serialize string
2022-05-23 20:40:24.332492 nusoap_client: serialize_val returning <devtag xsi:type="xsd:string">Your tag here</devtag>
2022-05-23 20:40:24.332506 nusoap_client: in serialize_val: name=sort, type=, name_ns=, type_ns=, use=encoded, soapval=
value=string(6) "+title"
attributes=bool(false)
2022-05-23 20:40:24.332528 nusoap_client: serialize_val: serialize string
2022-05-23 20:40:24.332545 nusoap_client: serialize_val returning <sort xsi:type="xsd:string">+title</sort>
2022-05-23 20:40:24.332558 nusoap_client: wrapping RPC request with encoded method element
2022-05-23 20:40:24.332579 nusoap_client: In serializeEnvelope length=427 body (max 1000 characters)=<ns2496:ManufacturerSearchRequest xmlns:ns2496="http://soap.amazon.com"><manufacturer xsi:type="xsd:string">O&apos;Reilly</manufacturer><page xsi:type="xsd:string">1</page><mode xsi:type="xsd:string">books</mode><tag xsi:type="xsd:string">trachtenberg-20</tag><type xsi:type="xsd:string">lite</type><devtag xsi:type="xsd:string">Your tag here</devtag><sort xsi:type="xsd:string">+title</sort></ns2496:ManufacturerSearchRequest> style=rpc use=encoded encodingStyle=http://schemas.xmlsoap.org/soap/encoding/
2022-05-23 20:40:24.332592 nusoap_client: headers:
bool(false)
2022-05-23 20:40:24.332607 nusoap_client: namespaces:
array(0) {
}
2022-05-23 20:40:24.332639 nusoap_client: endpoint=http://soap.amazon.com/onca/soap2, soapAction=http://soap.amazon.com, namespace=http://soap.amazon.com, style=rpc, use=encoded, encodingStyle=http://schemas.xmlsoap.org/soap/encoding/
2022-05-23 20:40:24.332653 nusoap_client: SOAP message length=824 contents (max 1000 bytes)=<?xml version="1.0" encoding="ISO-8859-1"?><SOAP-ENV:Envelope SOAP-ENV:encodingStyle="http://schemas.xmlsoap.org/soap/encoding/" xmlns:SOAP-ENV="http://schemas.xmlsoap.org/soap/envelope/" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:SOAP-ENC="http://schemas.xmlsoap.org/soap/encoding/"><SOAP-ENV:Body><ns2496:ManufacturerSearchRequest xmlns:ns2496="http://soap.amazon.com"><manufacturer xsi:type="xsd:string">O&apos;Reilly</manufacturer><page xsi:type="xsd:string">1</page><mode xsi:type="xsd:string">books</mode><tag xsi:type="xsd:string">trachtenberg-20</tag><type xsi:type="xsd:string">lite</type><devtag xsi:type="xsd:string">Your tag here</devtag><sort xsi:type="xsd:string">+title</sort></ns2496:ManufacturerSearchRequest></SOAP-ENV:Body></SOAP-ENV:Envelope>
2022-05-23 20:40:24.332682 nusoap_client: transporting via HTTP
2022-05-23 20:40:24.332869 nusoap_client: sending message, length=824
2022-05-23 20:40:24.332722 soap_transport_http: ctor url=http://soap.amazon.com/onca/soap2 use_curl=0 curl_options:
array(0) {
}
2022-05-23 20:40:24.332751 soap_transport_http: parsed URL scheme = http
2022-05-23 20:40:24.332764 soap_transport_http: parsed URL host = soap.amazon.com
2022-05-23 20:40:24.332776 soap_transport_http: parsed URL path = /onca/soap2
2022-05-23 20:40:24.332795 soap_transport_http: set header Host: soap.amazon.com
2022-05-23 20:40:24.332821 soap_transport_http: set header User-Agent: NuSOAP/0.9.5 (1.123)
2022-05-23 20:40:24.332841 soap_transport_http: set header Content-Type: text/xml; charset=ISO-8859-1
2022-05-23 20:40:24.332855 soap_transport_http: set header SOAPAction: "http://soap.amazon.com"
2022-05-23 20:40:24.332887 soap_transport_http: entered send() with data of length: 824
2022-05-23 20:40:24.332905 soap_transport_http: connect connection_timeout 0, response_timeout 30, scheme http, host soap.amazon.com, port 80
2022-05-23 20:40:24.332926 soap_transport_http: calling fsockopen with host soap.amazon.com connection_timeout 0
2022-05-23 20:40:24.427063 soap_transport_http: set response timeout to 30
2022-05-23 20:40:24.427126 soap_transport_http: socket connected
2022-05-23 20:40:24.427168 soap_transport_http: set header Content-Length: 824
2022-05-23 20:40:24.427187 soap_transport_http: HTTP request: POST /onca/soap2 HTTP/1.0
2022-05-23 20:40:24.427205 soap_transport_http: HTTP header: Host: soap.amazon.com
2022-05-23 20:40:24.427218 soap_transport_http: HTTP header: User-Agent: NuSOAP/0.9.5 (1.123)
2022-05-23 20:40:24.427232 soap_transport_http: HTTP header: Content-Type: text/xml; charset=ISO-8859-1
2022-05-23 20:40:24.427245 soap_transport_http: HTTP header: SOAPAction: "http://soap.amazon.com"
2022-05-23 20:40:24.427258 soap_transport_http: HTTP header: Content-Length: 824
2022-05-23 20:40:24.427316 soap_transport_http: wrote data to socket, length = 1013
2022-05-23 20:40:24.510136 soap_transport_http: read line of 19 bytes: HTTP/1.1 410 Gone
2022-05-23 20:40:24.510196 soap_transport_http: read line of 37 bytes: Date: Mon, 23 May 2022 16:40:24 GMT
2022-05-23 20:40:24.510215 soap_transport_http: read line of 16 bytes: Server: Server
2022-05-23 20:40:24.510233 soap_transport_http: read line of 21 bytes: Content-Length: 282
2022-05-23 20:40:24.510250 soap_transport_http: read line of 31 bytes: Keep-Alive: timeout=2, max=13
2022-05-23 20:40:24.510269 soap_transport_http: read line of 24 bytes: Connection: Keep-Alive
2022-05-23 20:40:24.510287 soap_transport_http: read line of 45 bytes: Content-Type: text/html; charset=iso-8859-1
2022-05-23 20:40:24.510304 soap_transport_http: read line of 2 bytes: 
2022-05-23 20:40:24.510331 soap_transport_http: found end of headers after length 195
2022-05-23 20:40:24.510396 soap_transport_http: want to read content of length 282
2022-05-23 20:40:24.510421 soap_transport_http: read buffer of 282 bytes
2022-05-23 20:40:24.510444 soap_transport_http: read to EOF
2022-05-23 20:40:24.510457 soap_transport_http: read body of length 282
2022-05-23 20:40:24.510470 soap_transport_http: received a total of 477 bytes of data from server
2022-05-23 20:40:24.510524 soap_transport_http: closed socket
2022-05-23 20:40:24.510558 soap_transport_http: end of send()
2022-05-23 20:40:24.510600 nusoap_client: Error: HTTP Error: Unsupported HTTP response status 410 Gone (soapclient->response has contents of the response)