Dynamic WSDL not available via "?wsdl" query
--------------------------------------------

                 Key: TUSCANY-1652
                 URL: https://issues.apache.org/jira/browse/TUSCANY-1652
             Project: Tuscany
          Issue Type: Bug
          Components: Java SCA Axis Binding Extension
    Affects Versions: Java-SCA-Next
         Environment: Windows XP
            Reporter: Simon Nash
            Priority: Critical
             Fix For: Java-SCA-1.0


The calculator-ws-webapp sample should produce its dyanmically generated WSDL 
from the query
   http://localhost:8080/sample-calculator-ws-webapp/AddServiceComponent?wsdl

Instead, the following exception is thrown:

java.lang.StringIndexOutOfBoundsException: String index out of range: -1
        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:690)
        
org.apache.tuscany.sca.binding.ws.axis2.Axis2ServiceServlet.service(Axis2ServiceServlet.java:235)
        javax.servlet.http.HttpServlet.service(HttpServlet.java:803)
        
org.apache.tuscany.sca.host.webapp.WebAppRequestDispatcher.forward(WebAppRequestDispatcher.java:77)
        
org.apache.tuscany.sca.host.webapp.TuscanyServletFilter.doFilter(TuscanyServletFilter.java:83)

This is a result of the changes in r571650 that have removed the ../services/.. 
prefix from the URL.  The code in TuscanyListing Agent can't handle a URL in 
the new format.



-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to