Hi, The URL is "http://localhost:8080/hello/HelloWorldService?wsdl" . When I debug the code, I am noticing that in TuscanyListingAgent.processListService() around line 101, the filePart is " http://localhost:8080/hello/HelloWorldService" and findAxisServiceName() is returning "/hello/HelloWorldService". Inside setContextRoot() arounf line 286, mapping = filePart.substring() is getting called with paramters (28, 21) which is resulting in the Exception. That -7 in the exception message is this 21-28.
Vamsi On 8/26/07, ant elder <[EMAIL PROTECTED]> wrote: > > On 8/25/07, Vamsavardhana Reddy <[EMAIL PROTECTED]> wrote: > > > > Hi, > > > > I have deployed HelloWorld webservice sample (jar attached in this mail) > > in Tuscany plugin for Geronimo. This plugin is using > > 1.0-incubating-SNAPSHOT jars published on 2007-08-23. The sample > deploys > > fine. But, when I access > > http://localhost:8080/hello/HelloWorldService?wsdl , I am getting a > > StringIndexOutOfBoundsException. Stack trace as below: > > > > java.lang.StringIndexOutOfBoundsException > > : String index out of range: -7 > > java.lang.String.substring(String.java:1768) > > > org.apache.tuscany.sca.binding.ws.axis2.TuscanyListingAgent.setContextRoot > (TuscanyListingAgent.java:286) > > > org.apache.tuscany.sca.binding.ws.axis2.TuscanyListingAgent.processListService > > (TuscanyListingAgent.java:102) > > org.apache.tuscany.sca.binding.ws.axis2.Axis2ServiceServlet.doGet( > Axis2ServiceServlet.java:260) > > javax.servlet.http.HttpServlet.service(HttpServlet.java:693) > > > org.apache.tuscany.sca.binding.ws.axis2.Axis2ServiceServlet.service > > (Axis2ServiceServlet.java:235) > > javax.servlet.http.HttpServlet.service(HttpServlet.java:806) > > > > > > This sample worked properly last week. I suspect the problem is > > introduced in rev 569074. > > > This attached jar is working ok for me when running standalone or in the > tuscany.war webapp distribution so i guess its something specific to the > Geronimo integration. What is the complete URL of the ?wsdl you expect to > work when this is running in Geronimo? > > ...ant >
