FUDforum
Fast Uncompromising Discussions. FUDforum will get your users talking.

Home » Imported messages » comp.lang.php » How to extract value using php soapclient
Show: Today's Messages :: Polls :: Message Navigator
Return to the default flat view Create a new topic Submit Reply
Re: How to extract value using php soapclient [message #173776 is a reply to message #173756] Wed, 04 May 2011 09:01 Go to previous message
Jonathan Stein is currently offline  Jonathan Stein
Messages: 43
Registered: September 2010
Karma:
Member
Den 03-05-2011 10:49, ofuuzo skrev:

> I have just started learning to program with PHP SOAPclient.

But your example doesn't use the SOAP client?

It looks like you somehow captured a SOAP response and tries to
interpret it manually.
The idea of the SOAP client is to forget about the SOAP protocol and
call a remote function (almost) as if it was a local function.

What you should get from the SOAP client is a PHP object, that you can
use directly. Basically you should do something like:

$client = new SoapClient('some.wsdl');
$result = $client->RemoteFunction($a, $b, $c, ...);
print_r($result);

The SOAP client is not the best documented part of PHP, but try to read
http://www.php.net/manual/en/book.soap.php and especially the client
part, if you haven't already been there.

Regards

Jonathan
[Message index]
 
Read Message
Read Message
Previous Topic: What are the directories/files who php needs?
Next Topic: preg_replace help
Goto Forum:
  

-=] Back to Top [=-
[ Syndicate this forum (XML) ] [ RSS ]

Current Time: Wed Nov 27 01:36:49 GMT 2024

Total time taken to generate the page: 0.05993 seconds