assilem1986 Posted October 12, 2012 Share Posted October 12, 2012 Hi! I have a webservice in asp.net that return Content-Type: application/soap+xml; charset=utf-8 Content-Length: length <?xml version="1.0" encoding="utf-8"?> <soap12:Envelope xmlns:xsi="http://www.w3.org/20...chema-instance" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:soap12="http://www.w3.org/20...soap-envelope"> <soap12:Body> <CalculadoraResponse xmlns="http://tempuri.org/"> <CalculadoraResult> <xsd:schema>schema</xsd:schema>xml</CalculadoraResult> </CalculadoraResponse> </soap12:Body> </soap12:Envelope> I call the webservice: <?php $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 Quote Link to comment https://forums.phpfreaks.com/topic/269389-reading-xml/ Share on other sites More sharing options...
Pikachu2000 Posted October 12, 2012 Share Posted October 12, 2012 The forum you posted this in is for questions related to this site. Moving to appropriate forum. Quote Link to comment https://forums.phpfreaks.com/topic/269389-reading-xml/#findComment-1384770 Share on other sites More sharing options...
assilem1986 Posted October 12, 2012 Author Share Posted October 12, 2012 witch one is the appropriate forum? can you show me the link? thanks Quote Link to comment https://forums.phpfreaks.com/topic/269389-reading-xml/#findComment-1384772 Share on other sites More sharing options...
premiso Posted October 12, 2012 Share Posted October 12, 2012 witch one is the appropriate forum? It has already been moved. The appropriate forum is: http://forums.phpfreaks.com/forum/13-php-coding-help/ Quote Link to comment https://forums.phpfreaks.com/topic/269389-reading-xml/#findComment-1384773 Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.