nikefido Posted January 6, 2009 Share Posted January 6, 2009 Hi all - I get this from $client->__getLastResponse(): <?xml version="1.0" encoding="UTF-8"?> <SOAP-ENV:Envelope xmlns:SOAP-ENV="http://schemas.xmlsoap.org/soap/envelope/" xmlns:ns1="https://somesite.com/" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:SOAP-ENC="http://schemas.xmlsoap.org/soap/encoding/" SOAP-ENV:encodingStyle="http://schemas.xmlsoap.org/soap/encoding/"> <SOAP-ENV:Body> <ns1:Agent.Agent_Bean_List_Agents> <serviceParameters> <partName>Agent.List_Agents</partName> <partTokens>0</partTokens> <logonUserid>webservice</logonUserid> <logonPassword>webservice</logonPassword> </serviceParameters> <serviceData> <Master_Agent_Code>MSTR001</Master_Agent_Code> <Password_Text>mstr001</Password_Text> </serviceData> </ns1:Agent.Agent_Bean_List_Agents> </SOAP-ENV:Body> </SOAP-ENV:Envelope> However, my $result from the soap call contains only this: array(4) { ["partName"]=> string(28) "Agent.List_Agents" ["partTokens"]=> string(1) "0" ["logonUserid"]=> string(10) "webservice" ["logonPassword"]=> string(10) "webservice" } Any ideas on what might be happening?? I'm totally missing the important part of the response! And I really can't feasabily parse the string of "__getLastResponse();" because the web service responds with different parameters. Link to comment https://forums.phpfreaks.com/topic/139754-soap-response-not-complete-object-only-contains-first-node/ Share on other sites More sharing options...
cytech Posted January 6, 2009 Share Posted January 6, 2009 What parameters are you sending and what server are you sending them to? Link to comment https://forums.phpfreaks.com/topic/139754-soap-response-not-complete-object-only-contains-first-node/#findComment-731219 Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.