Fwd: using camel as proxy to download wsdl file from remote webservice

2019-03-30 Thread Wang Yan
i thought the same, i tried with camel-http , camel-http4, jetty, with setting bridgeEndpoint=true , set Basic Authorization in header but it does not work with my remote wsdl , no idea why. -

Fwd: using camel as proxy to download wsdl file from remote webservice

2019-03-29 Thread Wang Yan
I found the solution. it works for me, if you have better way, feel free to share private String proxy(String url) throws IOException { CredentialsProvider provider = new BasicCredentialsProvider(); UsernamePasswordCredentials credentials = new UsernamePasswordCredentials("USERNAME", "PASSWOR