Hi Jan!
You were absolutely right.

I attached the samples in this mail, that you don't have to repeat
yourself for the same returning problem.


Thank you


Tamer




Am 29.06.2010 18:00, schrieb Jan Pieper:
> Use /** instead of /* to start your multi-line comment.
>
> -- Jan
>
> -------- Original-Nachricht --------
>   
>> Datum: Tue, 29 Jun 2010 17:47:12 +0200
>> Von: Tamer Higazi <[email protected]>
>> An: [email protected]
>> Betreff: Re: [fw-general] Zend_Soap_Discover don\'t create WSDL return 
>> messages and everything xsd:anytime
>>     
>   
>> Same result:
>>
>> http://toplay.higazi.net/?wsdl
>>
>> I updated the files.
>>
>>
>> Any ideas anymore?!
>>
>>
>> Tamer
>>
>> Am 29.06.2010 16:54, schrieb Jan Pieper:
>>     
>>> I don't know whether Zend_Soap_AutoDiscover or rather
>>>       
>> Zend_Server_Reflection is able to handle single-line comments for phpdoc. 
>> Try using
>> multi-line comments instead:
>>     
>>> /**
>>>  * @param  string $ein
>>>  * @return string
>>>  */
>>> public function MeineFunk($ein) {
>>>     ...
>>> }
>>>
>>> -- Jan
>>>
>>> -------- Original-Nachricht --------
>>>   
>>>       
>>>> Datum: Tue, 29 Jun 2010 13:30:35 +0200
>>>> Von: Tamer Higazi <[email protected]>
>>>> An: [email protected]
>>>> Betreff: Re: [fw-general] Zend_Soap_Discover don\'t create WSDL return
>>>>         
>> messages and everything xsd:anytime
>>     
>>>>     
>>>>         
>>>   
>>>       
>>>> 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
>>>>>>     
>>>>>>         
>>>>>>             
>>>>>   
>>>>>       
>>>>>           
>>>   
>>>       
>   

setClass('MeineKlasse'); $SoapServer->handle(); } elseif(isset($_GET['wsdl'])) { $ad = new Zend_Soap_AutoDiscover(); $ad->setClass('MeineKlasse'); $ad->handle(); } ?>

Reply via email to