OK, I worked out the 405 was because I was using the
wrong endpoint, doh >_<

However I now get (401)Unauthorized as a result of
"Failure authenticating with DIGEST
'MapPoint'@renderv3.staging.mappoint.net:80".

I understand this can happen if you're not using
CommonsHTTPSender, however I am. I am setting up
authentication params like so :

// Set username and password on the resulting
renderService
((RenderServiceSoapStub)renderService).setUsername(userID);
((RenderServiceSoapStub)renderService).setPassword(password);

which appears to be the standard way all the examples
do it.

Error in full :

About to call renderService.getMap
- Discarding unexpected response: HTTP/1.1 100
Continue
- digest authentication scheme selected
- Discarding unexpected response: HTTP/1.1 100
Continue
- Failure authenticating with DIGEST
'MapPoint'@renderv3.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.RenderServiceSoapStub.getMap(RenderServiceSoapStub.java:1400)
        at
jSimpleMapper.mappointDotNetClient.<init>(mappointDotNetClient.java:138)
        at
jSimpleMapper.MapperApplet.start(MapperApplet.java:2375)
        at sun.applet.AppletPanel.run(Unknown Source)
        at java.lang.Thread.run(Unknown Source)


Again any pointers would be much appreciated, thanks.



                
___________________________________________________________ 
To help you stay safe and secure online, we've developed the all new Yahoo! 
Security Centre. http://uk.security.yahoo.com

Reply via email to