Hi,
I have WSDL in my process which is referring to the WS-A endpoint
configuration element in one of its operations. When the process calls
this WSDL's operations ODE throws out an InvalidCredentialsException,
due to the root cause that Proxy Authentication required. I have
downloaded the ws_addr.xsd and am adding it along with the process, but
it still throws this.
My question is how do we set the proxy configuration for ODE. I have set
the following properties in .endpoint file, but it still throws the
exception
http.proxy.host=
http.proxy.port=
http.proxy.domain=
http.proxy.user=
http.proxy.password=
Is this correct? Or has it go into the ode-axis2.properties?
The exception I get is given below
18:09:35,363 ERROR [HttpMethodDirector] Credentials cannot be used for
NTLM authentication:
org.apache.commons.httpclient.UsernamePasswordCredentials
org.apache.commons.httpclient.auth.InvalidCredentialsException:
Credentials cannot be used for NTLM authentication:
org.apache.commons.httpclient.UsernamePasswordCredentials
at
org.apache.commons.httpclient.auth.NTLMScheme.authenticate(NTLMScheme.ja
va:332)
at
org.apache.commons.httpclient.HttpMethodDirector.authenticateProxy(HttpM
ethodDirector.java:320)
at
org.apache.commons.httpclient.HttpMethodDirector.authenticate(HttpMethod
Director.java:232)
at
org.apache.commons.httpclient.HttpMethodDirector.executeMethod(HttpMetho
dDirector.java:170)
at
org.apache.commons.httpclient.HttpClient.executeMethod(HttpClient.java:3
97)
at
org.apache.commons.httpclient.HttpClient.executeMethod(HttpClient.java:3
46)
at
org.apache.axis2.transport.http.AbstractHTTPSender.executeMethod(Abstrac
tHTTPSender.java:520)
at
org.apache.axis2.transport.http.HTTPSender.sendViaPost(HTTPSender.java:1
91)
at
org.apache.axis2.transport.http.HTTPSender.send(HTTPSender.java:77)
at
org.apache.axis2.transport.http.CommonsHTTPTransportSender.writeMessageW
ithCommons(CommonsHTTPTransportSender.java:327)
at
org.apache.axis2.transport.http.CommonsHTTPTransportSender.invoke(Common
sHTTPTransportSender.java:206)
at org.apache.axis2.engine.AxisEngine.send(AxisEngine.java:396)
at
org.apache.axis2.description.OutInAxisOperationClient.send(OutInAxisOper
ation.java:374)
at
org.apache.axis2.description.OutInAxisOperationClient.executeImpl(OutInA
xisOperation.java:211)
at
org.apache.axis2.client.OperationClient.execute(OperationClient.java:163
)
at
org.apache.ode.axis2.SoapExternalService$1$1.call(SoapExternalService.ja
va:206)
at
java.util.concurrent.FutureTask$Sync.innerRun(FutureTask.java:303)
at java.util.concurrent.FutureTask.run(FutureTask.java:138)
at
java.util.concurrent.ThreadPoolExecutor$Worker.runTask(ThreadPoolExecuto
r.java:886)
at
java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.ja
va:908)
at java.lang.Thread.run(Thread.java:619)
18:09:35,378 ERROR [ExternalService] Error sending message
(mex={PartnerRoleMex#309 [PID
{http://www.altair.com/EPM/BPEL/DemoWorkflow4}DemoWorkflow4-2] calling
[email protected](...) Status
ASYNC}): Transport error: 407 Error: Proxy Authentication Required
org.apache.axis2.AxisFault: Transport error: 407 Error: Proxy
Authentication Required
at
org.apache.axis2.transport.http.HTTPSender.handleResponse(HTTPSender.jav
a:298)
at
org.apache.axis2.transport.http.HTTPSender.sendViaPost(HTTPSender.java:1
92)
at
org.apache.axis2.transport.http.HTTPSender.send(HTTPSender.java:77)
at
org.apache.axis2.transport.http.CommonsHTTPTransportSender.writeMessageW
ithCommons(CommonsHTTPTransportSender.java:327)
at
org.apache.axis2.transport.http.CommonsHTTPTransportSender.invoke(Common
sHTTPTransportSender.java:206)
at org.apache.axis2.engine.AxisEngine.send(AxisEngine.java:396)
at
org.apache.axis2.description.OutInAxisOperationClient.send(OutInAxisOper
ation.java:374)
at
org.apache.axis2.description.OutInAxisOperationClient.executeImpl(OutInA
xisOperation.java:211)
at
org.apache.axis2.client.OperationClient.execute(OperationClient.java:163
)
at
org.apache.ode.axis2.SoapExternalService$1$1.call(SoapExternalService.ja
va:206)
at
java.util.concurrent.FutureTask$Sync.innerRun(FutureTask.java:303)
at java.util.concurrent.FutureTask.run(FutureTask.java:138)
at
java.util.concurrent.ThreadPoolExecutor$Worker.runTask(ThreadPoolExecuto
r.java:886)
at
java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.ja
va:908)
at java.lang.Thread.run(Thread.java:619)
18:09:35,394 ERROR [INVOKE] Failure during invoke: Error sending message
(mex={PartnerRoleMex#309 [PID
{http://www.altair.com/EPM/BPEL/DemoWorkflow4}DemoWorkflow4-2] calling
[email protected](...) Status
ASYNC}): Transport error: 407 Error: Proxy Authentication
1
Thanks & Regards
Dhanush Gopinath