1 Reply Latest reply on May 4, 2014 9:47 PM by Freeman(Yue) Fang

    WebService proxy HTTP Auth

    JP Bondugula Newbie


        I have created a Camel Project and proxied a legacy WebService (running in WebSphere) using (blueprint.xml) that has a Basic Auth enabled. I have modified my blueprint.xml as follows so as to pass in the Auth Credentials. But I am still running into the below error


      Caused by: org.apache.cxf.transport.http.HTTPException: HTTP response '401: Unauthorized' when communicating


      Can somebody kindly point me in the right direct on how to pass the credentials in the blueprint.xml?


      Blueprint configuration



      <http:conduit name="{http://namespace/}EndpointPort.http-conduit">








      <camelContext id="blueprintContext" trace="false" xmlns="http://camel.apache.org/schema/blueprint">

           <route id="proxy">

                <from uri="jetty:" />

                <to uri="jetty:http://localhost:55044/webapp/webservices?bridgeEndpoint=true&throwExceptionOnFailure=false"/>




      Environment Details: JBoss Fuse 6.1