Re: WSDL/SOAP/PHP5

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

 



On Fri, Jun 6, 2008 at 6:33 PM, Nathan Nobbe <quickshiftin@xxxxxxxxx> wrote:
> On Fri, Jun 6, 2008 at 2:53 PM, Dan Joseph <dmjoseph@xxxxxxxxx> 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
>

nusoap was really simple to get the attachments working correctly.
Perhaps it might not have been as proper with namespace support and
all that mess, but who cares if you can get at your data and it works.
 I saw the PEAR SOAP client did have support but I didn't see any way
whatsoever to get it to work correctly.  I'm sure I could have asked
on the list, but really it should have been documented somewhere.

Other than that, what Nathan said. :)

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


[Index of Archives]     [PHP Home]     [Apache Users]     [PHP on Windows]     [Kernel Newbies]     [PHP Install]     [PHP Classes]     [Pear]     [Postgresql]     [Postgresql PHP]     [PHP on Windows]     [PHP Database Programming]     [PHP SOAP]

  Powered by Linux