Hi Chanaka, Yes, I did enable it from the console. But still it''s giving me this error. This is the proxy configuration.
<?xml version="1.0" encoding="UTF-8"?> <proxy xmlns="http://ws.apache.org/ns/synapse" name="getuserdetailsprox" transports="https,http" statistics="disable" trace="disable" startOnLoad="true"> <target> <inSequence> <foursquare.init configKey="initnew"> <apiUrl>https://api.foursquare.com</apiUrl> <accessToken>3EVR4GJLWJOYADANHOCCNYI4NLGYCTPR41UDIUUYIKF2QQTY</accessToken> </foursquare.init> <foursquare.getUserDetails configKey="getuserdetails"> <username>87842593</username> </foursquare.getUserDetails> <respond/> </inSequence> <outSequence/> <faultSequence/> </target> <description/> </proxy> Thanks, Asanki. On Mon, Jun 23, 2014 at 4:57 PM, Chanaka Fernando <[email protected]> wrote: > Hi Asanki, > > After uploading the connector to the ESB, did you enable it from the > management console. Unless you enable the connector, synapse cannot > identify the connector element during runtime. This may be the reason for > your error. > > Thanks, > Chanaka > > > On Sun, Jun 22, 2014 at 4:25 AM, Asanki Fernando < > [email protected]> wrote: > >> Hi All, >> >> I've uploaded the connector to the ESB and have created a custom proxy. >> When I tried the service, it gives me the following error. I'm passing the >> parameters through the url, no payload. >> >> <TryitProxyError xmlns:h="http://wso2.org/ns/TryitProxy" h:status="SOAP >> envelope error">org.apache.axis2.AxisFault: The input stream for an >> incoming message is null.</TryitProxyError> >> >> In console >> >> [2014-06-22 13:39:48,931] ERROR - InvokeMediator Failed to locate the >> configure element for connector [org.wso2.carbon.connectors.foursquare.init] >> >> In the REST client >> >> Status Code: 202 Accepted >> Connection: keep-alive >> Date: Sun, 22 Jun 2014 07:34:26 GMT >> Server: WSO2-PassThrough-HTTP >> Transfer-Encoding: chunked >> >> >> Please let me know what cause this error. >> >> Thank you. >> Best Regards, >> Asanki Fernando. >> >> >> >> _______________________________________________ >> Dev mailing list >> [email protected] >> http://wso2.org/cgi-bin/mailman/listinfo/dev >> >> > > > -- > -- > Chanaka Fernando > Technical Lead > WSO2, Inc.; http://wso2.com > lean.enterprise.middleware > > mobile: +94 773337238 > Blog : http://soatutorials.blogspot.com > LinkedIn:http://www.linkedin.com/pub/chanaka-fernando/19/a20/5b0 > Twitter:https://twitter.com/chanakaudaya > Wordpress:http://chanakaudaya.wordpress.com > > > >
_______________________________________________ Dev mailing list [email protected] http://wso2.org/cgi-bin/mailman/listinfo/dev
