Re: [PHP] WSDL Generator class
IIRC, the nuSoap.php did what you want, and PHP's nifty new SOAP class does everything else better... So run nuSoap once to get the WSDL thingie, and use PHP 5 SOAP for the rest. YMMV I may be out-dated (again) on my PHP knowledge. Or should I say still? On Thu, May 10, 2007 10:10 am, Brice wrote: 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/234-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 -- Some people have a gift link here. Know what I want? I want you to buy a CD from some indie artist. http://cdbaby.com/browse/from/lynch Yeah, I get a buck. So? -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php
[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/234-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
RE: [PHP] WSDL Generator class
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. G. 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:[EMAIL PROTECTED] 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 -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php