Re: Is there a way to test, what's the output of PHP SOAP request?

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On 2 February 2011 14:01, Mariaxx <sannamari28@gmail.com> wrote:
>
> Is there a way to figure out the form of data I'm sending in an SOAP XML
> request.
> I need to be sure, that when I'm calling the service, that my arrays are
> "printed out" correctly and doesn't contain any extra (nested) parameters.
>
> Maria
> --
> View this message in context: http://old.nabble.com/Is-there-a-way-to-test%2C-what%27s-the-output-of-PHP-SOAP-request--tp30826222p30826222.html
> Sent from the Php - Soap mailing list archive at Nabble.com.
>
>
> --
> PHP Soap Mailing List (http://www.php.net/)
> To unsubscribe, visit: http://www.php.net/unsub.php
>
>

Take a look at the code here [1]. I created this to help a previous
question on this list [2].

Whilst I only show the trace (headers sent/received for
request/response) during an exception, you can just cut'n'paste that
code to the main body.

If you've got any concrete examples of the work you are trying to do,
then maybe I can help you some more.

Regards,

Richard.

[1] http://pastebin.com/f8CBcLHc
[2] http://news.php.net/php.soap/3245

-- 
Richard Quadling
Twitter : EE : Zend
@RQuadling : e-e.com/M_248814.html : bit.ly/9O8vFY

-- 
PHP Soap Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php



[Index of Archives]     [PHP Home]     [PHP Users]     [Kernel Newbies]     [PHP Database]     [Yosemite]

  Powered by Linux