473,385 Members | 1,506 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,385 software developers and data experts.

SOAP PHP Client returns missing params but soapUI works fine

I created the following php soap client and the service continues to report missing or invalid adminPassword, version. When I use soapUI the method and parameters passed works fine, so not sure why the php client not is working.

I'm also getting a Notice msg so not sure if that has anything to do w/ it "Notice: Array to string conversion in /var/www/html/index.php on line 5 stdClass"

Response: ( [method] => getUsageReport_v1 [statusCode] => GEN006 [statusMessage] => The following required parameters are missing or invalid: adminPassword,version. [version] => 1.0 [monthlyReceiveReports] => [monthlySendReports] => [receiveReports] => [sendReports] => )

Client (masking adminId and adminPassword):

$client = new SoapClient("https://www.efaxcorporate.com/corp/services/CorpAdmin?wsdl");
$parm = array("adminId" => "*****","version" => "1.0", "adminPassword" => "***",);
print_r($client->getUsageReport_v1(array($parm)));

Thanks for any help on this
Apr 11 '12 #1
1 3138
Dormilich
8,658 Expert Mod 8TB
what data type does getUsageReport_v1() expect?

which is line 5?
Apr 16 '12 #2

Sign in to post your reply or Sign up for a free account.

Similar topics

0
by: Arne Kösling | last post by:
Hi ! I am new to Web Services. Therefore I ve set up a PHP Installation on Windows (PHP 4.3.2 and Apache 1.3.29). I have tested PHP alone and then installed PEAR. Now I am stuck there (Before...
6
by: Glauco | last post by:
I'm trying to use SOAPpy 0.10.1 for a client but is difficult to handle easly Is this library in use or i'm using an OLD death library ? I'm alone in find a lot of problem in a SOAP Client ?...
2
by: George B | last post by:
Hi, I have developed a SOAP service using Perl's SOAP::Lite module and I am currently working through interoperability testing. I have written a client in VB6 using MSSOAP 3.0 and it works fine....
0
by: jennifer.perkins | last post by:
I've seen a couple posts by people having similar problems, but the suggested solutions I've tried so far haven't worked. I'm using a SOAP client in VB.Net (constructed by wsdl.exe) and the...
1
by: Josh Payne | last post by:
I get the following error when trying to use a web service with the SOAP Toolkit: WSDLReader:Could not find '/definitions' inside the default WSDL namespace HRESULT=0x80004005: Unspecified error...
1
by: admspam | last post by:
Hi, I've spent quite a bit of time looking into this, but am having trouble finding a straighforward solution. What is the best/recommended way to return an ADO.NET data set to a PHP SOAP...
0
by: kencana | last post by:
hi All, I got problem in passing data (more than one) from soap client to the soap server. but if i only passing one data at a time, it works successfully.. The following is the error message i...
1
by: lkosak | last post by:
Hi everyone, I am encountering what appears to be a timeout problem using a PHP soap client to connect to a VB.net soap server. I cannot provide the WSDL as it is only available for internal...
2
by: Enda Manni | last post by:
Hi, I have a gSoap Web Service written using C++, it uses SOAP username and password authentication. I also have a C# form client consuming the web service, all this was working fine until I...
1
by: rsingh1980 | last post by:
Hi, I've been struggling with the below piece of code. it works in ie, but not in firefox.. I had to pass a piped string that carries the parameters to another gateway.. one of these was to be a...
1
by: CloudSolutions | last post by:
Introduction: For many beginners and individual users, requiring a credit card and email registration may pose a barrier when starting to use cloud servers. However, some cloud server providers now...
0
by: Charles Arthur | last post by:
How do i turn on java script on a villaon, callus and itel keypad mobile phone
0
by: aa123db | last post by:
Variable and constants Use var or let for variables and const fror constants. Var foo ='bar'; Let foo ='bar';const baz ='bar'; Functions function $name$ ($parameters$) { } ...
0
by: ryjfgjl | last post by:
If we have dozens or hundreds of excel to import into the database, if we use the excel import function provided by database editors such as navicat, it will be extremely tedious and time-consuming...
0
by: emmanuelkatto | last post by:
Hi All, I am Emmanuel katto from Uganda. I want to ask what challenges you've faced while migrating a website to cloud. Please let me know. Thanks! Emmanuel
0
BarryA
by: BarryA | last post by:
What are the essential steps and strategies outlined in the Data Structures and Algorithms (DSA) roadmap for aspiring data scientists? How can individuals effectively utilize this roadmap to progress...
1
by: nemocccc | last post by:
hello, everyone, I want to develop a software for my android phone for daily needs, any suggestions?
1
by: Sonnysonu | last post by:
This is the data of csv file 1 2 3 1 2 3 1 2 3 1 2 3 2 3 2 3 3 the lengths should be different i have to store the data by column-wise with in the specific length. suppose the i have to...
0
by: Hystou | last post by:
There are some requirements for setting up RAID: 1. The motherboard and BIOS support RAID configuration. 2. The motherboard has 2 or more available SATA protocol SSD/HDD slots (including MSATA, M.2...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.