How do I get the data?

PHP programming forum. Ask questions or help people concerning PHP code. Don't understand a function? Need help implementing a class? Don't understand a class? Here is where to ask. Remember to do your homework!

Moderator: General Moderators

How do I get the data?

Postby dgmufasa » Wed Nov 09, 2011 9:36 am

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?

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

                        $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.
Last edited by Benjamin on Wed Nov 09, 2011 6:49 pm, edited 1 time in total.
Reason: Added [syntax=php|sql|css|javascript] and/or [text] tags.
Forum Newbie
Posts: 1
Joined: Wed Nov 09, 2011 9:27 am

Return to PHP - Code

Who is online

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