Joined: 04 Jun 2008 |
Posts: 1 |
|
|
|
Posted: Tue Jun 03, 2008 8:53 am |
|
|
|
|
|
Hello,
we are trying to transfer complex data (content length > 8000 chars, data from oracle database, encoded with UTF-8 )
with nusoap and get the error "XML error parsing SOAP payload on line 1: Mismatched tag".
If we reduce the string length (f.i. < 7000 chars) then the transfer finished successfully.
Is there a known limit?
Here you can find some details from debug log:
2008-06-03 12:02:34.136107 nusoap_client: Entering parseResponse() for data of length 9466 headers:
array(10) {
["date"]=>
string(29) "Tue, 03 Jun 2008 10:02:33 GMT"
["server"]=>
string(66) "Apache/2.2.8 (Win32) DAV/2 mod_auth_sspi/1.0.4 SVN/1.4.6 PHP/5.2.6"
["x-powered-by"]=>
string(9) "PHP/5.2.6"
["expires"]=>
string(29) "Thu, 19 Nov 1981 08:52:00 GMT"
["cache-control"]=>
string(62) "no-store, no-cache, must-revalidate, post-check=0, pre-check=0"
["pragma"]=>
string(8) "no-cache"
["x-soap-server"]=>
string(20) "NuSOAP/0.7.3 (1.114)"
["content-length"]=>
string(4) "9466"
["connection"]=>
string(5) "close"
["content-type"]=>
string(23) "text/xml; charset=UTF-8"
}
2008-06-03 12:02:34.136201 nusoap_client: Got response encoding: UTF-8
2008-06-03 12:02:34.136482 nusoap_client: Use encoding: UTF-8 when creating nusoap_parser
2008-06-03 12:02:34.136625 nusoap_parser: Charset from HTTP Content-Type matches encoding from XML declaration
2008-06-03 12:02:34.136679 nusoap_parser: Entering nusoap_parser(), length=9466, encoding=UTF-8
2008-06-03 12:02:34.137113 nusoap_parser: found root struct try_get_update_for_wfm_tableResponse, pos 2
2008-06-03 12:02:34.156749 nusoap_parser: in buildVal() for try_get_update_for_wfm_tableResponse(pos 2) of type struct
2008-06-03 12:02:34.156807 nusoap_parser: in buildVal, there are children
2008-06-03 12:02:34.156866 nusoap_parser: in buildVal, adding Java Vector or generic compound type try_get_update_for_wfm_tableResponse
2008-06-03 12:02:34.156936 nusoap_parser: in buildVal, return:
array(1) {
["return"]=>
&string(5149) "{"SUCCESS":true,"ERROR":"","TABLE":"re_employee","RECORDS":{"TABLE":"re_employee","LASTUPDATE":"25.04.2008 13:42:11","SQL":false,"SUCCESS":true,"COUNT":6,"NEW_REAL":[{"EMPLOYEE_UID":"11","LUD":"26.05.08","MANDANTORY_UID":"1","ORGANIZATION_UID":"1","LOCATION_UID":"1","LAST_NAME":"
…
,"CREW_FOREMAN_FLG":null,"COST_CENTRE":null,"RANKING":"7","STANDBY":null,"TAKE_OFF_AREA":null,"AREA_OF_WORK":null,"GANG_FLG":"N"}]},"COUNT":6}"
}
2008-06-03 12:02:34.157069 nusoap_parser: XML error parsing SOAP payload on line 1: Mismatched tag
2008-06-03 12:02:34.157129 nusoap_parser: XML payload:
?<?xml version="1.0" encoding="UTF-8"?><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><ns1:try_get_update_for_wfm_tableResponse xmlns:ns1="http://tempuri_org"><return xsi:type="xsd:string">{"SUCCESS":true,"ERROR":"","TABLE":"re_employee","RECORDS":{"TABLE":"re_employee","LASTUPDATE":"25.04.2008 13:42:11","SQL":false,"SUCCESS":true,"COUNT":6,"NEW_REAL":[{"EMPLOYEE_UID":"11","LUD":"26.05.08","MANDANTORY_UID":"1","ORGANIZATION_UID":"1","LOCATION_UID":"1","LAST_NAME":"
…
,"CREW_FOREMAN_FLG":null,"COST_CENTRE":null,"RANKING":"7","STANDBY":null,"TAKE_OFF_AREA":null,"AREA_OF_WORK":null,"GANG_FLG":"N"}]},"COUNT":6}</return></ns1:try_get_update_for_wfm_tableResponse></SOAP-ENV:Body></SOAP-ENV:Envelo
2008-06-03 12:02:34.157286 nusoap_client: Error: XML error parsing SOAP payload on line 1: Mismatched tag
|
Thank you,
workforce
|