Dear all,
I have tried to send MMS via NuSoap.
But it returned me the error "socket read of chunk length timed out", therefore I cannot proceed to attach my image and send MMS.
What should I check as the first step..?
Following is my debugging result:
2011-08-09 12:45:43.289307 nusoap_client_mime: ctor wsdl=1 timeout=600 response_timeout=600
endpoint=string(45) "http://abc.com:1234/mm72mms.sh"
2011-08-09 12:45:43.292657 nusoap_client_mime: will use lazy evaluation of wsdl from http://abc.com:1234/mm72mms.sh
2011-08-09 12:45:43.292820 nusoap_client_mime: setCredentials username= authtype=basic certRequest=
array(0) {
}
2011-08-09 12:45:43.292923 nusoap_client_mime: setHeaders headers=
string(165) "<mm7:TransactionID xmlns:mm7="http://www.3gpp.org/ftp/Specs/archive/23_series/23.140/schema/REL-5-MM7-1-2" soap-env:mustUnderstand="1">1312865143</mm7:TransactionID>"
2011-08-09 12:45:43.293505 nusoap_client_mime: setUseCURL(0)
2011-08-09 12:45:43.293592 nusoap_client_mime: setHTTPEncoding("deflate, gzip")
2011-08-09 12:45:43.293697 nusoap_client_mime: call: operation=Submit.REQ, namespace=http://www.3gpp.org/ftp/Specs/archive/23_series/23.140/schema/REL-5-MM7-1-2, soapAction=, rpcParams=, style=rpc, use=encoded, endpointType=wsdl
params=array(7) {
["MM7Version"]=>
string(3) "1.0"
["SenderIdentification"]=>
array(3) {
["VASPID"]=>
string(7) "my_vaspid"
["VASID"]=>
string(5) "my_vasid"
["SenderAddress"]=>
array(1) {
["ShortCode"]=>
string(5) "22822"
}
}
["Recipients"]=>
array(1) {
["To"]=>
array(1) {
["Number"]=>
string(11) "123456789"
}
}
["DeliveryReport"]=>
string(4) "true"
["ServiceCode"]=>
string(0) ""
["Subject"]=>
string(5) "Hello"
["Content"]=>
string(16) "mycontentgeneric"
}
headers=string(165) "<mm7:TransactionID xmlns:mm7="http://www.3gpp.org/ftp/Specs/archive/23_series/23.140/schema/REL-5-MM7-1-2" soap-env:mustUnderstand="1">1312865143</mm7:TransactionID>"
2011-08-09 12:45:43.293818 nusoap_client_mime: instantiating wsdl class with doc: http://abc.com:1234/mm72mms.sh
2011-08-09 12:45:43.293945 wsdl: ctor wsdl= timeout=600 response_timeout=600
2011-08-09 12:45:43.294033 wsdl: parse and process WSDL path=
2011-08-09 12:45:43.294142 wsdl: setCredentials username= authtype=basic certRequest=
array(0) {
}
2011-08-09 12:45:43.294237 wsdl: parse and process WSDL path=http://abc.com:1234/mm72mms.sh
2011-08-09 12:45:43.294320 wsdl: parse WSDL at path=http://abc.com:1234/mm72mms.sh
2011-08-09 12:45:43.294421 wsdl: getting WSDL http(s) URL http://abc.com:1234/mm72mms.sh
2011-08-09 12:45:43.294546 soap_transport_http: ctor url=http://abc.com:1234/mm72mms.sh use_curl=0 curl_options:
array(0) {
}
2011-08-09 12:45:43.294659 soap_transport_http: parsed URL scheme = http
2011-08-09 12:45:43.294743 soap_transport_http: parsed URL host = abc.com
2011-08-09 12:45:43.294826 soap_transport_http: parsed URL port = 1234
2011-08-09 12:45:43.294907 soap_transport_http: parsed URL path = mm72mms.sh
2011-08-09 12:45:43.295000 soap_transport_http: set header Host: abc.com:1234
2011-08-09 12:45:43.295138 soap_transport_http: set header User-Agent: NuSOAP/0.7.3 (1.114)
2011-08-09 12:45:43.295230 soap_transport_http: setCredentials username= authtype=basic digestRequest=
array(0) {
}
2011-08-09 12:45:43.295322 soap_transport_http: certRequest=
array(0) {
}
2011-08-09 12:45:43.295420 soap_transport_http: set header Authorization: Basic Og==
2011-08-09 12:45:43.295522 soap_transport_http: set header Accept-Encoding: gzip, deflate
2011-08-09 12:45:43.295612 soap_transport_http: set header Connection: close
2011-08-09 12:45:43.295704 soap_transport_http: entered send() with data of length: 0
2011-08-09 12:45:43.295798 soap_transport_http: connect connection_timeout 600, response_timeout 600, scheme http, host abc.com, port 1234
2011-08-09 12:45:43.295889 soap_transport_http: calling fsockopen with host abc.com connection_timeout 600
2011-08-09 12:45:43.301476 soap_transport_http: set response timeout to 600
2011-08-09 12:45:43.301632 soap_transport_http: socket connected
2011-08-09 12:45:43.301740 soap_transport_http: set header Content-Length: 0
2011-08-09 12:45:43.301828 soap_transport_http: HTTP request: GET /mm72mms.sh HTTP/1.1
2011-08-09 12:45:43.301916 soap_transport_http: HTTP header: Host: abc.com:1234
2011-08-09 12:45:43.302001 soap_transport_http: HTTP header: User-Agent: NuSOAP/0.7.3 (1.114)
2011-08-09 12:45:43.302084 soap_transport_http: HTTP header: Authorization: Basic Og==
2011-08-09 12:45:43.302167 soap_transport_http: HTTP header: Accept-Encoding: gzip, deflate
2011-08-09 12:45:43.302249 soap_transport_http: HTTP header: Connection: close
2011-08-09 12:45:43.302331 soap_transport_http: HTTP header: Content-Length: 0
2011-08-09 12:45:43.302442 soap_transport_http: wrote data to socket, length = 194
2011-08-09 12:45:43.309161 soap_transport_http: read line of 31 bytes: HTTP/1.1 200 Document follows
2011-08-09 12:45:43.309269 soap_transport_http: read line of 19 bytes: Connection: close
2011-08-09 12:45:43.309358 soap_transport_http: read line of 28 bytes: Transfer-Encoding: chunked
2011-08-09 12:45:43.309446 soap_transport_http: read line of 64 bytes: Server: XMS (724Solutions HTA XSAM_30_M2_B020 20070803.172831)
2011-08-09 12:45:43.309535 soap_transport_http: read line of 37 bytes: Date: Tue, 09 Aug 2011 04:45:55 GMT
2011-08-09 12:45:43.309622 soap_transport_http: read line of 22 bytes: Accept-Ranges: bytes
2011-08-09 12:45:43.309715 soap_transport_http: read line of 2 bytes:
2011-08-09 12:45:43.309845 soap_transport_http: found end of headers after length 203
2011-08-09 12:45:43.309983 soap_transport_http: want to read chunked content
2011-08-09 12:48:48.035257 soap_transport_http: read chunk line of 0 bytes
2011-08-09 12:48:48.035400 soap_transport_http: socket read of chunk length timed out after length 0
2011-08-09 12:48:48.035483 soap_transport_http: read before timeout:
2011-08-09 12:48:48.035572 soap_transport_http: end of send()
2011-08-09 12:48:48.035682 wsdl: HTTP ERROR: socket read of chunk length timed out
2011-08-09 12:48:48.035827 nusoap_client_mime: checkWSDL
2011-08-09 12:48:48.035919 nusoap_client_mime: got wsdl error: HTTP ERROR: socket read of chunk length timed out
Thank you for your every advice and suggestion!