[prev in list] [next in list] [prev in thread] [next in thread]
List: php-soap
Subject: Re: [SOAP] consuming WCF with php5.2.6
From: Roger Roelofs <rer () datacompusa ! com>
Date: 2009-09-28 23:18:57
Message-ID: 4AC14461.8080303 () datacompusa ! com
[Download RAW message or body]
Derek,
Two ideas.
First try
$wcf = $client->PerformSearch(array['RequestMessage'] => $myParam));
The indentation got a little garbled in the email, so I could be wrong here.
Second, my guess is you are talking to a MS server so you might need
some code to alter the xml to match the expected namespaces. Check out
this comment from the php docs
http://www.php.net/manual/en/soapclient.dorequest.php#74123
hth
On 09/28/2009 06:10 PM, Derek Almond wrote:
> I'm having trouble finding the magic combination to consume a WCF
> service, can anyone advise on where I'm wrong?
>
> I've got a test script as follows, (it's locked down to my IP so i
> dont think you;'ll be able to test it, but i've included the wsdl
> location for completeness)
>
>
> <?php
>
> try{
> $client = new
> SoapClient("http://services.ciphe.org.uk/FindPlumber/FindPlumberService.svc?wsdl");
> # get a list of the available methods
> print "Functions:\n";
> var_dump($client->__getFunctions());
>
Roger
--
Roger Roelofs
rer@datacompusa.com
--
PHP Soap Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
[prev in list] [next in list] [prev in thread] [next in thread]
Configure |
About |
News |
Add a list |
Sponsored by KoreLogic