Re: WSDL/SOAP/PHP5
| From: | Dan Joseph | Date: | Sat, 07 Jun 2008 14:43:54 +0000 |
| Subject: | Re: WSDL/SOAP/PHP5 | ||
| References: | 1 2 | Groups: | php.general |
| Request: | Send a blank email to php-general+get-275112@lists.php.net to get a copy of this message | ||
On Fri, Jun 6, 2008 at 6:33 PM, Nathan Nobbe <quickshiftin@gmail.com> wrote:
> On Fri, Jun 6, 2008 at 2:53 PM, Dan Joseph <dmjoseph@gmail.com> wrote:
>
>> Hi Everyone,
>>
>> I'm struggling with a WSDL trying to make it work right. I don't even
>> know
>> what to really ask.
>>
>> Basically I've created a WSDL and made a web service in PHP5. It doesn't
>> seem to validate properly when a .NET client tries to hit
>
>
> have you tried hitting it w/ soapUi ? thats a great tool for development.
>
> Is there something that can be used to generate the WSDL?
>
>
> there are some things, but they are all independent projects, heres one for
> example,
> http://www.jool.nl/new/index.php?file_id=1
>
> if you just google around a while for things like "php wsdl generator" you
> can find some. i found something that looked good a few weeks back, but
> having no immediate need for it, ive not used it, and dont recall where to
> find it =/
>
>
>> Should I just abandon PHP5's SOAP and use NuSOAP?
>
>
> obviously nusoap will be slower, but ive found the integrated php soap
> stuff to be a little lean on the feature side. for example, when someone
> was trying to work w/ soap attachments recently (client side issue
> [obviously]) it appears there is no such support in the c code. i did find
> some xml in the .phpt files that had the attachments, but there were no unit
> tests that used them.
>
> i found some stuff in one of the soap packages in pear that did handle soap
> attachments, but again, this code is php, not c. to summarize, the
> integrated support for soap in php is great because its fast and you dont
> have to do anything but include it in the php installation to use it. the
> lacking features can be a bit painful tho. SoapClient is great, but server
> side, if i ever have a need in my personal stuff for soap web services, ill
> probly use java as its way more mature in this arena (and fast :D).
>
> -nathan
>
Thanks for the reply. I hadn't heard of soapUi until you mentioned it, I'll
check it out. I had thought about using c# to re-create the web service,
but I'm nearing a deadline and don't have time to venture into that. I
agree with you that php5's soap is lacking. I'll look this over, thanks for
your help.
--
-Dan Joseph
www.canishosting.com - Plans start @ $1.99/month.
"Build a man a fire, and he will be warm for the rest of the day.
Light a man on fire, and will be warm for the rest of his life."