This discussion is archived
1 Reply Latest reply: Mar 15, 2013 8:25 PM by 991448 RSS

OSB to RestFul with Custom Header and Authentication

997035 Newbie
Currently Being Moderated
I am trying to add to OSB a RestFul service which requires authentication and custom http headers.

I am able to register the RestFul service as Business Service with following parameter
- Service Type: Messaging Service
- Request Message Type: None
- Response Message Type: Text
- Http Request Method: Get
- Authentication: Basic (Service Account)

When I test the Business Service in the Test Console, I passed in the custom http header and the content type and it did return back the JSON object I was expected.

However when I then try to create a Proxy against it with the following parameter, I had problem running it in the Test Console. Although I did pass in the http header it still complained that I didn't pass in the header. And as for Authentication, I was not even able to specify a service account like how I did in Business Service.
- Service Type: Messaging Service
- Request Message Type: None
- Response Message Type: Text
- Http Request Method: Get


Any ideas?

Thanks

Legend

  • Correct Answers - 10 points
  • Helpful Answers - 5 points