Hi Vanii,

It can be due to a a SSL issue. We can verify this by enabling SSL Debug
logs. Info can be found in [1]

Then we can compare that with the logs from curl.

[1]
http://blog.facilelogin.com/2010/11/debugging-ssl-connections-part-i.html


On Fri, Nov 28, 2014 at 10:46 PM, Vanii Thiyagarajah <[email protected]> wrote:

> 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}&amp;ts={uri.var.ts}&amp;hash={uri.var.hash}&amp;slideshow_id={uri.var.slideshow_id}&amp;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
>
>


-- 

Best Regards,

Malaka Silva
Senior Tech Lead
M: +94 777 219 791
Tel : 94 11 214 5345
Fax :94 11 2145300
Skype : malaka.sampath.silva
LinkedIn : http://www.linkedin.com/pub/malaka-silva/6/33/77
Blog : http://mrmalakasilva.blogspot.com/

WSO2, Inc.
lean . enterprise . middleware
http://www.wso2.com/
http://www.wso2.com/about/team/malaka-silva/
<http://wso2.com/about/team/malaka-silva/>

Save a tree -Conserve nature & Save the world for your future. Print this
email only if it is absolutely necessary.
_______________________________________________
Dev mailing list
[email protected]
http://wso2.org/cgi-bin/mailman/listinfo/dev

Reply via email to