Board index   FAQ   Search  
Register  Login
Board index php forum :: php coding PHP coding => General

Reading xml

Ask about general coding issues or problems here.

Moderators: macek, egami, gesf

Reading xml

Postby assilem1986 » Fri Oct 12, 2012 7:57 am

Hi! :D

I have a webservice in that return

Content-Type: application/soap+xml; charset=utf-8
Content-Length: length

<?xml version="1.0" encoding="utf-8"?>
<soap12:Envelope xmlns:xsi="" xmlns:xsd="" xmlns:soap12="">
<CalculadoraResponse xmlns="">

I call the webservice:

$client = new SoapClient("webserviceaddress");
$result = $client->Calculadora(array('Param1'=>'1'));

$simpleresult = $result->CalculadoraResult;

How can i read the result?
I have another function in that webservice that return a string and everything its ok, but with this function i dont know how to read the result :?
New php-forum User
New php-forum User
Posts: 1
Joined: Fri Oct 12, 2012 7:52 am

Return to PHP coding => General

Who is online

Users browsing this forum: yetticaretti and 3 guests

Sponsored by Sitebuilder Web hosting and Traduzioni Italiano Rumeno and antispam for cPanel.