php.net |  support |  documentation |  report a bug |  advanced search |  search howto |  statistics |  random bug |  login
Bug #51074 Cannot access the extension base
Submitted: 2010-02-17 19:42 UTC Modified: -
Votes:4
Avg. Score:3.8 ± 1.3
Reproduced:2 of 3 (66.7%)
Same Version:2 (100.0%)
Same OS:2 (100.0%)
From: anusha dot srs at gmail dot com Assigned:
Status: Open Package: SOAP related
PHP Version: 5.2.12 OS: Windows
Private report: No CVE-ID: None
View Developer Edit
Welcome! If you don't have a Git account, you can't do anything here.
If you reported this bug, you can edit this bug over here.
(description)
Block user comment
Status: Assign to:
Package:
Bug Type:
Summary:
From: anusha dot srs at gmail dot com
New email:
PHP Version: OS:

 

 [2010-02-17 19:42 UTC] 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>


Patches

Pull Requests

History

AllCommentsChangesGit/SVN commitsRelated reports
 [2010-02-19 11:21 UTC] anusha dot srs at gmail dot com
IS java client the only option since php seems not capable of acheiving the requirement?
 
PHP Copyright © 2001-2024 The PHP Group
All rights reserved.
Last updated: Sat Dec 07 01:01:30 2024 UTC