Hi Aaquibah,

FromCurrency and ToCurrency should be sent in the request. So you can
simply invoke the service using a tool like SoapUI. Did you try that option?



​

Regards,
Sandapa


On Mon, Jun 22, 2015 at 12:11 PM, Aaquibah Nashry <nas...@wso2.com> wrote:

> Hi,
> i am trying to get the current currency exchange rate from EUR to USD from
> a webservice. i used a call mediator as follows:
>
>          <call>
>             <endpoint>
>                <address uri="
> http://www.webservicex.net/CurrencyConvertor.asmx?WSDL"/>
>             </endpoint>
>          </call>
>
> I need to send the FromCurrency and the ToCurrency to the webservice and
> get the rate. How can i do this?
>
> Also,
> how can i store the value returned, in my proxy and then send this value
> into a class mediator that i have written.
>  <class name="mediator.CustomMediator">
>             <property name="rate" value="100"/>
>          </class>
> I want to send the rate instead of the value 100
>
>
>
> Please help...
>
> Thanks and Regards,
>
> M.R.Aaquibah Nashry
> *Intern, Engineering**| **WSO2, Inc.*
> Mobile : +94 773946123
> Tel      : +94 112662541
> Email : nas...@wso2.com <nas...@wso2.com>
>
> _______________________________________________
> Dev mailing list
> Dev@wso2.org
> http://wso2.org/cgi-bin/mailman/listinfo/dev
>
>


-- 
Sandapa Handakumbura
Associate Technical Lead
WSO2.Inc. ; http://wso2.com/
M : +94777115866
_______________________________________________
Dev mailing list
Dev@wso2.org
http://wso2.org/cgi-bin/mailman/listinfo/dev

Reply via email to