xml - php SoapClient, __soapCall and __getLastRequest / __getLastResponse -


i used downloaded tool auto-create wrapper web service (fedex rate service) creates handy code base accessing service auto-generates class map , builds auto-loading data structure asking web service it's requirements , capabilities. creates wrapper 'extend' of soapclient itself.

the problem is, makes separate service calls using abstract wrapper utilizes __soapcall method. problem i've noticed apparently doesn't populate can retrieve xml calls themselves. whenever call __getlastrequest or __getlastresponse, return null though __soapcall('getrates', $args) returns php object response service.

short of re-writing auto-generated code call $this->getrates($args) or similar, there trick seeing xml used in request , returned in response when using __soapcall ?

nevermind - thought had trace defaulted true, , reason getting 'null' was defaulting false.

as long create interface instance second argument array('trace'=>1) i'm getting xml now.


Comments

Popular posts from this blog

javascript - Count length of each class -

What design pattern is this code in Javascript? -

hadoop - Restrict secondarynamenode to be installed and run on any other node in the cluster -