Nemeziz / nusoap-for-php5

Automatically exported from code.google.com/p/nusoap-for-php5
GNU Lesser General Public License v2.1
0 stars 0 forks source link

Call to undefined method soapclientnusoap:: #1

Open GoogleCodeExporter opened 8 years ago

GoogleCodeExporter commented 8 years ago
What steps will reproduce the problem?
1. copy nusoap for php5 directories to website
2. add the include for nusoap.php
3. run page that used to work with SOAP

What is the expected output? What do you see instead?
I expect it to work as it used to with SOAP. My webhost (Dreamhost) 
upgraded and stopped supporting SOAP. It worked before pulling from 
Commission Junction's web service.

What version of the product are you using? On what operating system?
nusoap-php5-0.9
Dreamhost shared hosting Unix (not sure which)

Please provide any additional information below.
I get the following error when running my script:
Fatal error: Call to undefined method 
soapclientNusoap::retrieveLatestTransactions() in /home/.tyg/(home)/
(file).php on line 96

Original issue reported on code.google.com by varsity...@gmail.com on 9 Sep 2008 at 7:44

GoogleCodeExporter commented 8 years ago
Forgot to add. After looking up possible reasons for the error, some suggested 
making sure the correct number of parameters.  Here's the code in my script:

    $results = $productClient->retrieveLatestTransactions(array(
        "developerKey" => $key, 
        "websiteIds" => '', 
        "lookBackXHours" => $lookBackXHours, 
        "advertiserIds" => '', 
        "countries" => '', 
        "adIds" => '', 
        "includeDetails" => $includeDetails, 
        "sortBy" => Date, 
        "sortOrder" => Desc 
        ));

and here's the info from 
https://rtpubcommission.api.cj.com/wsdl/version2/realtimeCommissionService.wsdl

- <xsd:element name="retrieveLatestTransactions">
- <xsd:complexType>
- <xsd:sequence>
  <xsd:element maxOccurs="1" minOccurs="1" name="developerKey" nillable="true" 
type="xsd:string" /> 
  <xsd:element maxOccurs="1" minOccurs="1" name="websiteIds" nillable="true" 
type="xsd:string" /> 
  <xsd:element maxOccurs="1" minOccurs="1" name="lookBackXHours" nillable="true" 
type="xsd:string" /> 
  <xsd:element maxOccurs="1" minOccurs="1" name="advertiserIds" nillable="true" 
type="xsd:string" /> 
  <xsd:element maxOccurs="1" minOccurs="1" name="countries" nillable="true" 
type="xsd:string" /> 
  <xsd:element maxOccurs="1" minOccurs="1" name="adIds" nillable="true" 
type="xsd:string" /> 
  <xsd:element maxOccurs="1" minOccurs="1" name="includeDetails" nillable="true" 
type="xsd:string" /> 
  <xsd:element maxOccurs="1" minOccurs="1" name="sortBy" nillable="true" 
type="xsd:string" /> 
  <xsd:element maxOccurs="1" minOccurs="1" name="sortOrder" nillable="true" 
type="xsd:string" /> 
  </xsd:sequence>
  </xsd:complexType>
  </xsd:element>

Original comment by varsity...@gmail.com on 9 Sep 2008 at 7:50