Calling REST Service from OSB.
Hi All,
I am calling a rest service from OSB BusinessService and tested it using Test Console.It worked fine.
When i am calling the BusinessService from ProxyService ,The invocation is failing in BusinessService with following error.
BEA-380000: General runtime error: charsetName
Details of the Service:
=============
URL : http://api.geonames.org/postalCodeSearch?postalcode=90110&username=siddhardha
It has 2 parameters ..postalcode & username.
Populated below to outbound variable as part of callout.
1# <http:http-method>GET</http:http-method>
2# <http:query-parameters>
<http:parameter name="postalcode" value="{$v}"/>
<http:parameter name="username" value="{$q}"/>
</http:query-parameters>
Can someone point me to any code sample for this.Where i am doing wrong.
NOTE : The main question is how to send the query parameters to BusinessService from Proxy Service.
I am getting these values from the user as part of XML input.
Thanks,
Sid.