On Tue, Jun 29, 2010 at 7:30 AM, Tamer Higazi <[email protected]> wrote: > I did as you told me, > but nothing happened :( > > Here's the URL: > http://toplay.higazi.net/soaps/app/MeineKlasse.phps > > Can you give me more advises?! > > > Tamer > > > Am 29.06.2010 12:27, schrieb Jan Pieper: >> You need to add PHPDoc comments to your methods of "MeineKlasse". >> Zend_Soap_AutoDiscover will use its content to generate input and output >> messages for your WSDL file. >> >> -- Jan >> >> -------- Original-Nachricht -------- >> >>> Datum: Tue, 29 Jun 2010 12:22:23 +0200 >>> Von: Tamer Higazi <[email protected]> >>> An: [email protected] >>> Betreff: [fw-general] Zend_Soap_Discover don\'t create WSDL return messages >>> and everything xsd:anytime >>> >> >>> Hi people! >>> I have set up a Soap Server as well I do generate the WSDL File with the >>> generator. The WSDL Generator generates me only the input messages, but >>> I need the ouput messages created on the fly either, and I am not >>> getting smart. >>> >>> General: >>> http://toplay.higazi.net/?wsdl >>> >>> generates the WSDL File from the class MeineKlasse >>> >>> and >>> >>> http://toplay.higazi.net/ >>> >>> is the SoapServer. >>> >>> that takes as parameter the wsdl url. >>> >>> Problem: >>> 1. the created WSDL File (<port type>) generates only input messages. >>> Where are the ouptut messages that have to be returned?! >>> 2. the functions message name (at the bottom redefined) defines the >>> parameter as xsd:anyType. How will I have to redefine it, that the input >>> type generated in WSDL is String?! >>> >>> >>> Instead of posting the sourcecode around, I thought generating >>> everything as PHPS Files to see it directly on the browserscreen. >>> >>> http://toplay.higazi.net/soaps/app/MeineKlasse.phps >>> http://toplay.higazi.net/soaps/ClassLoader.phps >>> http://toplay.higazi.net/soaps/web/index.phps >>> >>> >>> >>> Thank you for your support >>> >>> >>> >>> Tamer >>> >> > >
Are you using e-Accelerator? If so, it strips out the doc-block comments from the cached code so that your calls to the auto discovery will only work the first time the PHP class is accessed in a script. Andrew
