Hi,

I am trying to use axis to consume MapPoint webservices.  Everything works


fine using java 1.4 and the SimpleHTTPSender class, however when I use
Java 1.5 (and switch to using the CommonsHttpSender) I get the following
error:
Finding Service...
Finding Address...
- digest authentication scheme selected
- Failure authenticating with DIGEST
'MapPoint'@findv3.staging.mappoint.net:80
AxisFault
faultCode: {http://xml.apache.org/axis/}HTTP
faultSubcode:
faultString: (401)Unauthorized
faultActor:
faultNode:
faultDetail:
       {}:return code:  401

       {http://xml.apache.org/axis/}HttpErrorCode:401

(401)Unauthorized
       at org.apache.axis.transport.http.CommonsHTTPSender.invoke(
CommonsHTTPSender.java:218)
       at org.apache.axis.strategies.InvocationStrategy.visit(
InvocationStrategy.java:32)
       at org.apache.axis.SimpleChain.doVisiting(SimpleChain.java:118)
       at org.apache.axis.SimpleChain.invoke(SimpleChain.java:83)
       at org.apache.axis.client.AxisClient.invoke(AxisClient.java:165)
       at org.apache.axis.client.Call.invokeEngine(Call.java:2784)
       at org.apache.axis.client.Call.invoke(Call.java:2767)
       at org.apache.axis.client.Call.invoke(Call.java:2443)
       at org.apache.axis.client.Call.invoke(Call.java:2366)
       at org.apache.axis.client.Call.invoke(Call.java:1812)
       at net.mappoint.s.mappoint_30.FindServiceSoapStub.findAddress(
FindServiceSoapStub.java:1052)
       at LocationInformation.findAddressHelper(
LocationInformation.java:140)
       at LocationInformation.findAddress(LocationInformation.java:87)
       at TestMain.main(TestMain.java:18)


I am using:
       axis 1.3
       commons-httpclient 3.0RC4
       commons-codec 1.3

Any ideas?

Thanks,
Phi

Reply via email to