How to create a webservice for the conversion rate

Posted by praveenjayapal on Stack Overflow See other posts from Stack Overflow or by praveenjayapal
Published on 2010-05-03T11:39:16Z Indexed on 2010/05/03 11:48 UTC
Read the original article Hit count: 293

Filed under:
|

Hi Friends, I would like to create a SOAP Web service for the following wsld http://www.webservicex.com/CurrencyConvertor.asmx?WSDL Could you please explain how to do this? The following code is not working... Please help me..

ini_set("soap.wsdl_cache_enabled", "0");
$client = new SoapClient("http://www.webservicex.com/CurrencyConvertor.asmx?wsdl");
$CURR = array("FromCurrency" => "USD","ToCurrency" => "INR");
$scramble = $client->ConversionRate($CURR);
$mirror = $client->ConversionRateResponse($scramble);

Thanks, Praveen J

© Stack Overflow or respective owner

Related posts about php

Related posts about webservice