Error: wsdl error: Getting http://localhost/services.gtsys.php?wsdl - HTTP ERROR: Unsupported HTTP response status 404 Not Found (soapclient->response has contents of the response)

Request

Response

Debug

2025-12-16 14:12:12.752592 nusoap_client: ctor wsdl=wsdl timeout=0 response_timeout=200
endpoint=string(40) "http://localhost/services.gtsys.php?wsdl"
2025-12-16 14:12:12.752677 nusoap_client: will use lazy evaluation of wsdl from http://localhost/services.gtsys.php?wsdl
2025-12-16 14:12:12.754930 nusoap_client: call: operation=ListarItens, namespace=http://tempuri.org, soapAction=, rpcParams=, style=rpc, use=encoded, endpointType=wsdl
params=array(1) {
  ["XML"]=>
  string(290) "<?xml version="1.0" encoding="UTF-8" ?>
<listarItens>
    <credencial>
        <CNPJ>07283759000178</CNPJ>
        <senha>76387638</senha>
        <regimeTributario>1</regimeTributario>
    </credencial>
    <itens>
        <barra>7898419464482</barra>
    </itens>
</listarItens>"
}
headers=bool(false)
2025-12-16 14:12:12.754949 nusoap_client: instantiating wsdl class with doc: http://localhost/services.gtsys.php?wsdl
2025-12-16 14:12:12.754957 wsdl: ctor wsdl= timeout=0 response_timeout=200
2025-12-16 14:12:12.754961 wsdl: parse and process WSDL path=
2025-12-16 14:12:12.754969 wsdl: setCredentials username= authtype= certRequest=
array(0) {
}
2025-12-16 14:12:12.754973 wsdl: parse and process WSDL path=http://localhost/services.gtsys.php?wsdl
2025-12-16 14:12:12.754976 wsdl: parse WSDL at path=http://localhost/services.gtsys.php?wsdl
2025-12-16 14:12:12.754980 wsdl: getting WSDL http(s) URL http://localhost/services.gtsys.php?wsdl
2025-12-16 14:12:12.754984 soap_transport_http: ctor url=http://localhost/services.gtsys.php?wsdl use_curl= curl_options:
array(0) {
}
2025-12-16 14:12:12.754989 soap_transport_http: parsed URL scheme = http
2025-12-16 14:12:12.754991 soap_transport_http: parsed URL host = localhost
2025-12-16 14:12:12.754993 soap_transport_http: parsed URL path = /services.gtsys.php
2025-12-16 14:12:12.754995 soap_transport_http: parsed URL query = wsdl
2025-12-16 14:12:12.755001 soap_transport_http: set header Host: localhost
2025-12-16 14:12:12.755008 soap_transport_http: set header User-Agent: NuSOAP/0.9.5 (1.123)
2025-12-16 14:12:12.755012 soap_transport_http: set header Accept-Encoding: gzip, deflate
2025-12-16 14:12:12.755015 soap_transport_http: set header Connection: close
2025-12-16 14:12:12.755018 soap_transport_http: entered send() with data of length: 0
2025-12-16 14:12:12.755022 soap_transport_http: connect connection_timeout 0, response_timeout 200, scheme http, host localhost, port 80
2025-12-16 14:12:12.755026 soap_transport_http: calling fsockopen with host localhost connection_timeout 0
2025-12-16 14:12:12.755287 soap_transport_http: set response timeout to 200
2025-12-16 14:12:12.755294 soap_transport_http: socket connected
2025-12-16 14:12:12.755299 soap_transport_http: HTTP request: GET /services.gtsys.php?wsdl HTTP/1.1
2025-12-16 14:12:12.755302 soap_transport_http: HTTP header: Host: localhost
2025-12-16 14:12:12.755305 soap_transport_http: HTTP header: User-Agent: NuSOAP/0.9.5 (1.123)
2025-12-16 14:12:12.755307 soap_transport_http: HTTP header: Accept-Encoding: gzip, deflate
2025-12-16 14:12:12.755309 soap_transport_http: HTTP header: Connection: close
2025-12-16 14:12:12.755343 soap_transport_http: wrote data to socket, length = 143
2025-12-16 14:12:13.743122 soap_transport_http: read line of 24 bytes: HTTP/1.1 404 Not Found
2025-12-16 14:12:13.743165 soap_transport_http: read line of 37 bytes: Date: Tue, 16 Dec 2025 17:12:13 GMT
2025-12-16 14:12:13.743173 soap_transport_http: read line of 32 bytes: Server: Apache/2.4.62 (Debian)
2025-12-16 14:12:13.743180 soap_transport_http: read line of 21 bytes: Content-Length: 271
2025-12-16 14:12:13.743186 soap_transport_http: read line of 19 bytes: Connection: close
2025-12-16 14:12:13.743192 soap_transport_http: read line of 45 bytes: Content-Type: text/html; charset=iso-8859-1
2025-12-16 14:12:13.743200 soap_transport_http: read line of 2 bytes: 
2025-12-16 14:12:13.743291 soap_transport_http: found end of headers after length 180
2025-12-16 14:12:13.743322 soap_transport_http: want to read content of length 271
2025-12-16 14:12:13.743336 soap_transport_http: read buffer of 271 bytes
2025-12-16 14:12:13.743352 soap_transport_http: read to EOF
2025-12-16 14:12:13.743357 soap_transport_http: read body of length 271
2025-12-16 14:12:13.743363 soap_transport_http: received a total of 451 bytes of data from server
2025-12-16 14:12:13.743454 soap_transport_http: closed socket
2025-12-16 14:12:13.743477 soap_transport_http: end of send()
2025-12-16 14:12:13.743493 wsdl: Getting http://localhost/services.gtsys.php?wsdl - HTTP ERROR: Unsupported HTTP response status 404 Not Found (soapclient->response has contents of the response)
2025-12-16 14:12:13.743521 nusoap_client: checkWSDL
2025-12-16 14:12:13.743530 nusoap_client: got wsdl error: Getting http://localhost/services.gtsys.php?wsdl - HTTP ERROR: Unsupported HTTP response status 404 Not Found (soapclient->response has contents of the response)