From: anusha dot srs at gmail dot com
Operating system: Windows
PHP version: 5.2.12
PHP Bug Type: SOAP related
Bug description: Cannot access the extension base
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 bug report at http://bugs.php.net/?id=51074&edit=1
--
Try a snapshot (PHP 5.2):
http://bugs.php.net/fix.php?id=51074&r=trysnapshot52
Try a snapshot (PHP 5.3):
http://bugs.php.net/fix.php?id=51074&r=trysnapshot53
Try a snapshot (PHP 6.0):
http://bugs.php.net/fix.php?id=51074&r=trysnapshot60
Fixed in SVN:
http://bugs.php.net/fix.php?id=51074&r=fixed
Fixed in SVN and need be documented:
http://bugs.php.net/fix.php?id=51074&r=needdocs
Fixed in release:
http://bugs.php.net/fix.php?id=51074&r=alreadyfixed
Need backtrace:
http://bugs.php.net/fix.php?id=51074&r=needtrace
Need Reproduce Script:
http://bugs.php.net/fix.php?id=51074&r=needscript
Try newer version:
http://bugs.php.net/fix.php?id=51074&r=oldversion
Not developer issue:
http://bugs.php.net/fix.php?id=51074&r=support
Expected behavior:
http://bugs.php.net/fix.php?id=51074&r=notwrong
Not enough info:
http://bugs.php.net/fix.php?id=51074&r=notenoughinfo
Submitted twice:
http://bugs.php.net/fix.php?id=51074&r=submittedtwice
register_globals:
http://bugs.php.net/fix.php?id=51074&r=globals
PHP 4 support discontinued: http://bugs.php.net/fix.php?id=51074&r=php4
Daylight Savings: http://bugs.php.net/fix.php?id=51074&r=dst
IIS Stability:
http://bugs.php.net/fix.php?id=51074&r=isapi
Install GNU Sed:
http://bugs.php.net/fix.php?id=51074&r=gnused
Floating point limitations:
http://bugs.php.net/fix.php?id=51074&r=float
No Zend Extensions:
http://bugs.php.net/fix.php?id=51074&r=nozend
MySQL Configuration Error:
http://bugs.php.net/fix.php?id=51074&r=mysqlcfg