Hi jeremy, DEbugging through the code I figured out that there was a mistake. I was able to reproduce this by calling a url such as
http://localhost:8080/axis2/services/Version?wssssdl If I used the correct option ?wsdl it worked fine. I have fixed the issue in the 1.2 branch and the trunk. For the moment you can use the following workaround by commenting out the following from your axis2.xml. <handler name="HTTPLocationBasedDispatcher" class=" org.apache.axis2.engine.HTTPLocationBasedDispatcher"> <order phase="Dispatch"/> </handler> Sorry for the inconveniance. Thanks, Keith. On 5/18/07, Jeremy Smith <[EMAIL PROTECTED]> wrote:
I've got a server with an internal IP address and an external IP address. When I access the WSDL for my service via the external address, everything is fine. When I access it using the internal address (even when I'm actually ON the machine - this error also occurs if I use "localhost" instead of the external address) I get this error: java.lang.StringIndexOutOfBoundsException: String index out of range: -11 java.lang.String.substring(String.java:1444) java.lang.String.substring(String.java:1411) org.apache.axis2.engine.HTTPLocationBasedDispatcher.parseRequestURL( HTTPLocationBasedDispatcher.java:106) org.apache.axis2.engine.HTTPLocationBasedDispatcher.findOperation( HTTPLocationBasedDispatcher.java:52) org.apache.axis2.engine.AbstractDispatcher.invoke( AbstractDispatcher.java:100) org.apache.axis2.transport.http.util.RESTUtil.dispatchAndVerify( RESTUtil.java:138) org.apache.axis2.transport.http.util.RESTUtil.processURLRequest( RESTUtil.java:95) org.apache.axis2.transport.http.AxisServlet$ProcessRESTRequest.processURLRequest (AxisServlet.java:776) org.apache.axis2.transport.http.AxisServlet.doGet(AxisServlet.java :238) javax.servlet.http.HttpServlet.service(HttpServlet.java:689) javax.servlet.http.HttpServlet.service(HttpServlet.java:802) Tomcat 5.5, IBM Java 1.4, Recent (~2 weeks ago) download of axis2 WAR release. Any ideas what the problem could be? Thanks, Jeremy --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
-- Keith Chapman WSO2 Inc. Oxygen for Web Services Developers. http://wso2.org/