Jump to content

accessing wsdl through PHP


anusha.srs

Recommended Posts

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?

 

Link to comment
https://forums.phpfreaks.com/topic/191300-accessing-wsdl-through-php/
Share on other sites

Archived

This topic is now archived and is closed to further replies.

×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.