NuSphere Forums Forum Index
NuSphere Forums
Reply to topic
XML error parsing SOAP payload on line 1: Mismatched tag


Joined: 04 Jun 2008
Posts: 1
Reply with quote
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:
Code:

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">{&quot;SUCCESS&quot;:true,&quot;ERROR&quot;:&quot;&quot;,&quot;TABLE&quot;:&quot;re_employee&quot;,&quot;RECORDS&quot;:{&quot;TABLE&quot;:&quot;re_employee&quot;,&quot;LASTUPDATE&quot;:&quot;25.04.2008 13:42:11&quot;,&quot;SQL&quot;:false,&quot;SUCCESS&quot;:true,&quot;COUNT&quot;:6,&quot;NEW_REAL&quot;:[{&quot;EMPLOYEE_UID&quot;:&quot;11&quot;,&quot;LUD&quot;:&quot;26.05.08&quot;,&quot;MANDANTORY_UID&quot;:&quot;1&quot;,&quot;ORGANIZATION_UID&quot;:&quot;1&quot;,&quot;LOCATION_UID&quot;:&quot;1&quot;,&quot;LAST_NAME&quot;:&quot;

,&quot;CREW_FOREMAN_FLG&quot;:null,&quot;COST_CENTRE&quot;:null,&quot;RANKING&quot;:&quot;7&quot;,&quot;STANDBY&quot;:null,&quot;TAKE_OFF_AREA&quot;:null,&quot;AREA_OF_WORK&quot;:null,&quot;GANG_FLG&quot;:&quot;N&quot;}]},&quot;COUNT&quot;: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
View user's profileFind all posts by workforceSend private message
XML error parsing SOAP payload on line 1: Mismatched tag
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum
All times are GMT - 5 Hours  
Page 1 of 1  

  
  
 Reply to topic