ID: 51074 Comment by: anusha dot srs at gmail dot com Reported By: anusha dot srs at gmail dot com Status: Open Bug Type: SOAP related Operating System: Windows PHP Version: 5.2.12 New Comment:
IS java client the only option since php seems not capable of acheiving the requirement? Previous Comments: ------------------------------------------------------------------------ [2010-02-17 19:42:49] anusha dot srs at gmail dot com Description: ------------ I am unable to call the wsdl function from the php. The wsdl has the interface concept pasting the snippets. Please help. my wsdl snippet: <s:complexType name="Credential"> <s:sequence/> </s:complexType> <s:complexType name="EnterpriseCredential"> <s:complexContent> <s:extension base="s0:Credential"> <s:sequence/> <s:attribute name="Login" type="s:string" use="required"/> <s:attribute name="Password" type="s:string" use="optional"/> <s:attribute name="Locale" type="s:string" use="optional"/> <s:attribute name="TimeZone" type="s:string" use="optional"/> <s:attribute name="Domain" type="s:string" use="optional"/> <s:attribute name="AuthType" type="s:string" use="optional"/> <s:attribute name="ReportedIPAddress" type="s:string" use="optional"/> <s:attribute name="ReportedHostName" type="s:string" use="optional"/> </s:extension> </s:complexContent> </s:complexType> . . . . <operation name="login"> <documentation>Log into the Web Services</documentation> <input message="s0:loginSoapIn"> </input> <output message="s0:loginSoapOut"> </output> <fault name="DSWSException" message="s0:DSWSException"> </fault> </operation> . . . . <s:element name="login"> <s:complexType> <s:sequence> <s:element name="credential" type="s0:Credential"/> <s:element maxOccurs="1" minOccurs="0" name="version" type="s:string"/> </s:sequence> </s:complexType> --------------------------------------------------------------------------------------------------------- What i understood with this wsdl is that the login operation takes an in parameter of credential object, how can i acheive the same in php.,.. any suggestions? Reproduce code: --------------- I am unable to call the wsdl function from the php. The wsdl has the interface concept pasting the snippets. Please help. my wsdl snippet: <s:complexType name="Credential"> <s:sequence/> </s:complexType> <s:complexType name="EnterpriseCredential"> <s:complexContent> <s:extension base="s0:Credential"> <s:sequence/> <s:attribute name="Login" type="s:string" use="required"/> <s:attribute name="Password" type="s:string" use="optional"/> <s:attribute name="Locale" type="s:string" use="optional"/> <s:attribute name="TimeZone" type="s:string" use="optional"/> <s:attribute name="Domain" type="s:string" use="optional"/> <s:attribute name="AuthType" type="s:string" use="optional"/> <s:attribute name="ReportedIPAddress" type="s:string" use="optional"/> <s:attribute name="ReportedHostName" type="s:string" use="optional"/> </s:extension> </s:complexContent> </s:complexType> . <operation name="login"> <documentation>Log into the Web Services</documentation> <input message="s0:loginSoapIn"> </input> <output message="s0:loginSoapOut"> </output> <fault name="DSWSException" message="s0:DSWSException"> </fault> </operation> . <s:element name="login"> <s:complexType> <s:sequence> <s:element name="credential" type="s0:Credential"/> <s:element maxOccurs="1" minOccurs="0" name="version" type="s:string"/> </s:sequence> </s:complexType> ------------------------------------------------------------------------ -- Edit this bug report at http://bugs.php.net/?id=51074&edit=1