I've just followed the tutorial to create a HTTP Adapter, but the output is not as I would have expected. When I click on 'Invoke Worklight Procedure' and execute either of the procedures created, I get this type of error message:
whatever I try I get an UnknownHostException. Can somebody please help me out with this?
This topic has been locked.
Pinned topic HTTP Adapter Query
Answered question This question has been answered.
Unanswered question This question has not been answered yet.
Re: HTTP Adapter Query2012-05-14T13:16:44ZThis is the accepted answer. This is the accepted answer.Are you refering to Module 5.2? (http://www.worklight.com/download/get-started/4.2.1/module-5.2)
That module refers to cnn.com, while you point to engadget.
How did you creat your adapter exactly, please?
Re: HTTP Adapter Query2012-05-14T13:24:17ZThis is the accepted answer. This is the accepted answer.Hi, yes I am referring to that one.
In the example, the cnn rss feed works fine. The exercise at the end of that tutorial asks you to do it for engadget and provides the rss feed address, but it didn't work. I just wondered why it wasn't successful.
Re: HTTP Adapter Query2012-05-14T15:22:59ZThis is the accepted answer. This is the accepted answer.And are you also using Worklight 4.2.1 or a different version?
Re: HTTP Adapter Query2012-05-14T15:35:28ZThis is the accepted answer. This is the accepted answer.I'm using 4.2.2
Re: HTTP Adapter Query2012-05-14T17:10:59ZThis is the accepted answer. This is the accepted answer.Is your attempt at creating the adapter the same as the solution provided in the zip file?