I have been creating a Proxy service using service chaining mechanism. 1. First I make a call to an endpoint, get the result and send the result to a sequence. 2. In the sequence, I have a data mapper and then a property to specify the username and password to a secure endpoint and then send mediator to call an endpoint.
However, I have been getting the following error: HTTPSender Unable to sendViaPost to url[endpoint Url] org.apache.axis2.AxisFault: Transport error: 401 Error: Unauthorized, With the description as "This request requires HTTP authentication"
The solution I have tried: 1. Tried adding a property "FORCE_HTTP_1.0" to true before making a call to the endpoint. But nothing seems to work. Any help would be appreciated.
Thanks in advance.