Hi,
I am using Axis 3 beta version and trying to call a contributed webservice
at www.xmethods.com through internet. Since I behind the firewall, i have
specified proxydetails as argument to jvm with
-Dhttp.proxyHost=xxx.com -Dhttp.proxyPort=80 -Dhttp.proxyUserName=xxx
-DproxyPassword=yyy
I am getting the following exception
AxisFault
faultCode: {http://xml.apache.org/axis/}HTTP
faultString: (401)Unauthorized to access the document
faultActor: null
faultDetail:
null: return code: 401
(401)Unauthorized to access the document
at
org.apache.axis.transport.http.HTTPSender.readFromSocket(HTTPSender.java:800
)
at
org.apache.axis.transport.http.HTTPSender.invoke(HTTPSender.java:164)
at
org.apache.axis.strategies.InvocationStrategy.visit(InvocationStrategy.java:
71)
at org.apache.axis.SimpleChain.doVisiting(SimpleChain.java:150)
at org.apache.axis.SimpleChain.invoke(SimpleChain.java:120)
at org.apache.axis.client.AxisClient.invoke(AxisClient.java:183)
at org.apache.axis.client.Call.invokeEngine(Call.java:2027)
at org.apache.axis.client.Call.invoke(Call.java:2016)
at org.apache.axis.client.Call.invoke(Call.java:1786)
at org.apache.axis.client.Call.invoke(Call.java:1711)
at org.apache.axis.client.Call.invoke(Call.java:1251)
at
freedb.demo.net.systinet.soap.FreeDbServiceStub.getCDRecords(FreeDbServiceSt
ub.java:177)
at Service.main(Service.java:26)
AxisFault
faultCode: {http://xml.apache.org/axis/}HTTP
faultString: (401)Unauthorized to access the document
faultActor: null
faultDetail:
null: return code: 401
(401)Unauthorized to access the document
at
org.apache.axis.transport.http.HTTPSender.readFromSocket(HTTPSender.java:800
)
at
org.apache.axis.transport.http.HTTPSender.invoke(HTTPSender.java:164)
at
org.apache.axis.strategies.InvocationStrategy.visit(InvocationStrategy.java:
71)
at org.apache.axis.SimpleChain.doVisiting(SimpleChain.java:150)
at org.apache.axis.SimpleChain.invoke(SimpleChain.java:120)
at org.apache.axis.client.AxisClient.invoke(AxisClient.java:183)
at org.apache.axis.client.Call.invokeEngine(Call.java:2027)
at org.apache.axis.client.Call.invoke(Call.java:2016)
at org.apache.axis.client.Call.invoke(Call.java:1786)
at org.apache.axis.client.Call.invoke(Call.java:1711)
at org.apache.axis.client.Call.invoke(Call.java:1251)
at
freedb.demo.net.systinet.soap.FreeDbServiceStub.getCDRecords(FreeDbServiceSt
ub.java:177)
at Service.main(Service.java:26)
Exception in thread "main"
Where could be the problem.?
Thanks
peng
|