Re: [SOAP] wsdl generation in php-soap?

From: Date: Wed, 07 Aug 2002 12:51:33 +0000
Subject: Re: [SOAP] wsdl generation in php-soap?
References: 1  Groups: php.soap 
Request: Send a blank email to php-soap+get-221@lists.php.net to get a copy of this message
I've thought alot about this. php-soap will be able to generate wsdls aventually. It will only be able to generate them if you use php-doc style comments. In the meantime they way I generate wsdls is by writing a java interface and using java2wsdl command line tool. Glue (www.themindelectric.com) or Apache Axis (xml.apache.org/axis/index.html) both have java2wsdl command line tools. I normally use Glue. so say you have a function that you want to make a soap service SoapTest.php <? function echoStringArray($array){ return $array; } ?> you would make SoapTest.java public interface SoapTest { public String[] echoStringArray(String array[]); } javac SoapTest.java java2wsdl (some command line arguments) SoapTest (making sure classpath is correct and all that good stuff) -brad --- Niklas Fondberg <niklas.fondberg@i3micro.com> wrote: > Is there such feature in php-soap. > If not what is the best way of generating a wsdl file when working with > php-soap? > > -- > Best Regards > > Niklas Fondberg - niklas.fondberg@i3micro.com > System Developer - I3 Micro Technology > > > -- > PHP Soap Mailing List (http://www.php.net/) > To unsubscribe, visit: http://www.php.net/unsub.php > __________________________________________________ Do You Yahoo!? Yahoo! Health - Feel better, live better http://health.yahoo.com

« previous php.soap (#221) next »