Page 1 of 1

PHP soapoing

Posted: Sun Jan 04, 2009 5:52 pm
by yacahuma
I am using php soapclient to the a soap message. I am having some difficulties and decided to try a soap monitor to see what is going on.
I downloaded wsmonitor. I am also using soapui to test my request before coding them in php. The firt thing I notice is that when I send a message through soapui, wsmonitor registers the message. It says, that the encoding is xml and the preamble is POST.
But when I send the message in php, it says it is a GET and the enconding is blank. And the most frustrating part is that I cannot see anything.
When ws monitor receives the soapui message, I can see the whole xml. When PHP sends the request nothing shows up in the window.


Some of the php calls are working, so I know the client is working, But some of my other calls will send a lot of data ,and I know GET will not be able to handle it.

1. Can I select how the message is sent(GET vs POST)?
2. Why can I see the message in wsmonitor and I can in soapui?
3. Any other soap monitor programs??

Thank you

Re: PHP soapoing

Posted: Wed Jan 07, 2009 9:19 pm
by yacahuma
I got a little update. As always php is to easy. I wasted ours looking for a monitoring utility when all I needed to do was to the the soap client trace="1". O well. I guess experience counts for something after all.



Now any xml experts??

is there a diff between ??
<tns:PR482_2007 xmlns:tns="http://Hac.ETie.Tax.schemas2007.LongForm">
<....>
</tns:PR482_2007>

and
<PR482_2007 xmlns="http://Hac.ETie.Tax.schemas2007.LongForm">
<....>
</PR482_2007>

As far as I understand they should be the same, since in the 2nd you are declaring a default namespace. So why will one validate(1st) and the other does not?