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. 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@xxxxxxxxx]
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
.



Relevant Pages

  • Re: SOAP project
    ... and what do I do if they haven't published the WSDL document? ... your job is much easier - you can create a SOAP ... > | the server as standard SOAP messages. ...
    (microsoft.public.dotnet.languages.csharp)
  • Re: How to get a WSDL from a given URI
    ... This sort of using standard SOAP API Packets as querying mechanisms is used ... Think of MEX as something rather similar. ... > to generate proxy class "If the SoapService endpoint is bound to an HTTP ... you can request the WSDL definition by appending "?wsdl" to the ...
    (microsoft.public.dotnet.framework.webservices.enhancements)
  • Re: SOAP to webservice
    ... Unfortunately they do not have the WSDL ... required for the SOAP header etc. Do you know of any "SOAP wrapper" ... XML document I've manually put together for testing, but I want to be able ... > class and open a socket to send the SOAP envelope to the Java server. ...
    (microsoft.public.dotnet.framework.aspnet)
  • Problem to invoke a method of webservice from a C++ SoapClient
    ... I used SoapClient Libray provided by SQLData to invoke a method ... exposed by Webservices of weblogic over HTTP.(using WSDL). ... and do html encoding and send that to the server, ... the response would be build as a soap response and send over http. ...
    (microsoft.public.dotnet.framework.aspnet.webservices)
  • Re: [PHP] WSDL Generator class
    ... IIRC, the nuSoap.php did what you want, and PHP's nifty new SOAP class ... I'am looking for an WSDL generator class. ... Is the soap extension or a PEAR classes will include this kind of ...
    (php.general)