RE: [PHP] WSDL Generator class
| From: | Daevid Vincent | Date: | Thu, 10 May 2007 22:55:26 +0000 |
| Subject: | RE: [PHP] WSDL Generator class | ||
| References: | 1 | Groups: | php.general |
| Request: | Send a blank email to php-general+get-254767@lists.php.net to get a copy of this message | ||
I'm no big fan of SOAP and certainly think it's silly that I have to use like 8 million
lines of WSDL to describe a 20 line function
in PHP. I don't know WSDL - at all - don't want to know it -- shouldn't have to know
it. Grrr.
Sadly I had the same frustrating experience you did and ultimately ended up using this WSDL_Gen tool
too.
What do you have to modify? It worked fine for me for int, float, string, and array -- although
it's kinda wonkey with a hash as it
turns it into an array -- well something does. GRRRR. Not sure if that's a SOAP
"feature" or a bug or what.
All the other "solutions" (for lack of a better term) required just as much messaging to
even get going. WSDL_Gen was quick and
dirty and got my app up and running in a few hours. We use Ruby to talk to PHP5 via SOAP.
I wish PHP had a generator built in, or there was a better tool actively being developed.
Daevid.
"There are two kinds of people in this world. Top posters and bottom posters."
> -----Original Message-----
> From: Brice [mailto:brice.favre@gmail.com]
> Sent: Thursday, May 10, 2007 8:10 AM
> To: PHP General List
> Subject: [PHP] WSDL Generator class
>
> Hello all,
>
> I'am looking for an WSDL generator class. The aim is to
> generate an wsdl
> file to use with the soap extension. The generator will look
> at the included
> classes and print all functions (except maybe abstract or
> private) in a
> correct xml format.
>
> I tried this one which is great :
> http://www.schlossnagle.org/~george/blog/index.php?/archives/2
> 34-WSDL-Generation.htmlbut
> i have to modify a lot of code and it appears it's not maintained.
>
> So what do you do in order to create WSD?
>
> Is the soap extension or a PEAR classes will include this
> kind of function?
>
> Thanks
> Brice