Details
-
Type:
Docs: Task
-
Status:
Resolved
-
Priority:
Major
-
Resolution: Fixed
-
Affects Version/s: None
-
Fix Version/s: None
-
Component/s: Zend_Soap_Server, Zend_Soap_Wsdl
-
Labels:None
Description
Zend_Soap_AutoDiscover: If missing the @return in your docblock the message response in the WSDL is not generated.
/**
- Retrieves all informatin for the specified user
* - @param string $uid, the user for whom information whould be retrieved
- @param int $vid
*/
public function userGet( $uid, $vid ) { return $this->Users->get($uid, $vid); }
Error in WSDL:
<SOAP-ENV:Envelope>
<SOAP-ENV:Body>
<SOAP-ENV:Fault>
<faultcode>WSDL</faultcode>
<faultstring>SOAP-ERROR: Parsing WSDL: Missing <message> with name 'tns:userGetResponse'</faultstring>
</SOAP-ENV:Fault>
</SOAP-ENV:Body>
</SOAP-ENV:Envelope>
Issue Links
| This issue is dependecy of: | ||||
| ZF-2970 | Autodiscovery and WSDL Generation |
|
|
|
Was editing a doctype at the type at the time of writing and meant to state docblock.