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

c# - SelectList with Dictionary, add values to the Dictionary after it's assigned to SelectList -

how can i manage url using .htaccess in php? -

ios - I get the error Property '...' not found on object of type '...' -