Hi, I'm developing a simple signed mapping applet and experimenting with the possibility of adding MapPoint maps to it as background graphics. However after resolving various other problems I'm stuck :/
The applet loads various Axis 1.3 jars and uses CommonsHTTPSender (yes, I made a custom client-config.wsdd) to query the standard Mappoint service pointed to by http://staging.mappoint.net/standard-30/mappoint.wsdl. It's using a test account we have for another app which does work. Specifically it calls getMap in RenderService, but I tried the LatLong converter and that produced the same error, as shown below. The pertinent part appears to be "The HTTP verb used to access this page is not allowed". AxisFault faultCode: {http://xml.apache.org/axis/}HTTP faultSubcode: faultString: (405)Method Not Allowed faultActor: faultNode: faultDetail: {}:return code: 405 <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01//EN" "http://www.w3.org/TR/html4/strict.dtd"> <HTML><HEAD><TITLE>The page cannot be displayed</TITLE> <META HTTP-EQUIV="Content-Type" Content="text/html; charset=Windows-1252"> <STYLE type="text/css"> BODY { font: 8pt/12pt verdana } H1 { font: 13pt/15pt verdana } H2 { font: 8pt/12pt verdana } A:link { color: red } A:visited { color: maroon } </STYLE> </HEAD><BODY><TABLE width=500 border=0 cellspacing=10><TR><TD> <h1>The page cannot be displayed</h1> The page you are looking for cannot be displayed because an invalid method (HTTP verb) was used to attempt access. <hr> <p>Please try the following:</p> <ul> <li>Contact the Web site administrator if you believe that this request should be allowed.</li> <li>Make sure that the Web site address displayed in the address bar of your browser is spelled and formatted correctly. </li> </ul> <h2>HTTP Error 405 - The HTTP verb used to access this page is not allowed.<br>Internet Information Services (IIS)</h2> <hr> <p>Technical Information (for support personnel)</p> <ul> <li>Go to <a href="http://go.microsoft.com/fwlink/?linkid=8180">Microsoft Product Support Services</a> and perform a title search for the words <b>HTTP</b> and <b>405</b>.</li> <li>Open <b>IIS Help</b>, which is accessible in IIS Manager (inetmgr), and search for topics titled <b>Setting Application Mappings</b>, <b>Securing Your Site with Web Site Permissions</b>, and <b>About Custom Error Messages</b>.</li> </ul> </TD></TR></TABLE></BODY></HTML> {http://xml.apache.org/axis/}HttpErrorCode:405 (405)Method Not Allowed 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:134) at jSimpleMapper.MapperApplet.start(MapperApplet.java:2375) at sun.applet.AppletPanel.run(Unknown Source) at java.lang.Thread.run(Unknown Source) Possible causes seem to be : - It's not calling the right endpoint (but how can I tell?) - Something more fundamentally wrong e.g. in Axis - I'm just calling the service incorrectly but Mappoint is returning a spurious highly misleading error message :) I'm using : - Axis 1.3 - J2SDK 1.5.0_04-b05, but compiling with -source 1.4 -target 1.4 - commons-codec-1.3.jar - commons-httpclient-3.0-rc4.jar Any answers greatly appreciated, thanks. ___________________________________________________________ How much free photo storage do you get? Store your holiday snaps for FREE with Yahoo! Photos http://uk.photos.yahoo.com
