Hi All,
I'm implementing WSO2 ESB connector project for SlideShare API. Their
API end point working properly in Rest client .When running through WSO2
ESB i got this error. Can you please figure out this error.
Response in XML
<?xml version="1.0" encoding="UTF-8"?>
<SlideShareServiceError>
<Message ID="24">You must use https:// to access this API
endpoint</Message>
</SlideShareServiceError>
*synapse configuration *
<template name="getSlideshow" xmlns="http://ws.apache.org/ns/synapse">
<parameter name="api_key" description="List of preferences." />
<parameter name="ts" description="List of preferences." />
<parameter name="hash" description="List of preferences." />
<parameter name="slideshow_id" description="List of preferences." />
<parameter name="slideshow_url" description="List of preferences." />
<sequence>
<property name="uri.var.api_key" expression="$func:api_key" />
<property name="uri.var.ts" expression="$func:ts" />
<property name="uri.var.hash" expression="$func:hash" />
<property name="uri.var.slideshow_id"
expression="$func:slideshow_id" />
<property name="uri.var.slideshow_url"
expression="$func:slideshow_url" />
<call>
<endpoint>
<property name="ContentType" value="application/xml"
scope="axis2"/>
<http method="get"
uri-template="
https://www.slideshare.net/api/2/get_slideshow?api_key={uri.var.api_key}&ts={uri.var.ts}&hash={uri.var.hash}&slideshow_id={uri.var.slideshow_id}&slideshow_url={uri.var.slideshow_url}"
/>
</endpoint>
</call>
<header name="x-li-format" scope="transport" action="remove"/>
<header name="X-LI-UUID" scope="transport" action="remove"/>
<header name="X-Li-Pop" scope="transport" action="remove"/>
<header name="X-Li-Fabric" scope="transport" action="remove"/>
<header name="x-li-request-id" scope="transport" action="remove"/>
</sequence>
</template>
.
_______________________________________________
Dev mailing list
[email protected]
http://wso2.org/cgi-bin/mailman/listinfo/dev