|
php.net | support | documentation | report a bug | advanced search | search howto | statistics | random bug | login |
PatchesPull RequestsHistoryAllCommentsChangesGit/SVN commits
[2010-02-19 11:21 UTC] anusha dot srs at gmail dot com
|
|||||||||||||||||||||||||||||||||||||
Copyright © 2001-2025 The PHP GroupAll rights reserved. |
Last updated: Sat Nov 01 03:00:01 2025 UTC |
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>