xml - Interacting with .net SOAP services using PHP -
i have working soap request website .net based api. reason, php seems having issues parsing response.
when dump response, of retrieved data in string named "any". string seems copy of returned xml. big paste in question, can view response content here: http://pastie.org/4165973
i have tried loading string in simplexml, error: "extra content @ end of document ".
has experienced similar issues? how can parse response?
edit saved __getlastresponse() file raw output possible. new xml here http://pastebin.com/3ztjdbjw
the xml looks malformed. <shiptoaddress>
incorrect, contains cdata might breaking parser.
in case, run through xml linter (http://xmlsoft.org/xmllint.html) , see has say. however, guess source api either spitting out incorrectly or you're doing before printing out, provided isn't live output.
Comments
Post a Comment