PHP Developers Network

A community of PHP developers offering assistance, advice, discussion, and friendship.
 
Loading
It is currently Mon Dec 22, 2014 11:18 am

All times are UTC - 5 hours




Post new topic Reply to topic  [ 1 post ] 
Author Message
 Post subject: How do I get the data?
PostPosted: Wed Nov 09, 2011 9:36 am 
Offline
Forum Newbie

Joined: Wed Nov 09, 2011 9:27 am
Posts: 1
Hello all,
I have written the following code. It returns data (which is listed in the picture attached). I need to get the values highlighted in red: IDAssigned, ReturnCode, ReturnMessage.

How can I do this? What PHP code can I write?

TIA
Syntax: [ Download ] [ Hide ]
        function __construct( )
        {
                try {

                        //from: https://bugs.php.net/bug.php?id=47492
                        $this ->wmclient= new SoapClient( $this -> soap_location, array('features' => SOAP_USE_XSI_ARRAY_TYPE + SOAP_SINGLE_ELEMENT_ARRAYS  ));

                } catch (SoapFault $e) {
                        echo "<br /> => Caught A SOAP Fault" . $this ->wmclient ->__getLastResponse();
                        die( '<br /> => SOAP Error DOMAIN RECORDS: '.$e->getMessage());
                }
        }


        $parameters = [ ... ] < - clipped this out

        $ret = $this -> wmclient ->__soapCall("CreateHeadquartersUser", $parameters);



The results are in the picture attached.


Attachments:
PICTURE.png
PICTURE.png [ 46.57 KiB | Viewed 301 times ]


Last edited by Benjamin on Wed Nov 09, 2011 6:49 pm, edited 1 time in total.
Added [syntax=php|sql|css|javascript] and/or [text] tags.
Top
 Profile  
 
Display posts from previous:  Sort by  
Post new topic Reply to topic  [ 1 post ] 

All times are UTC - 5 hours


Who is online

Users browsing this forum: Bing [Bot], Google [Bot] and 7 guests


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot post attachments in this forum

Jump to:  
cron
Powered by phpBB® Forum Software © phpBB Group