You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@tuscany.apache.org by "gengshaoguang (JIRA)" <tu...@ws.apache.org> on 2007/09/03 12:13:19 UTC

[jira] Commented: (TUSCANY-1652) Dynamic WSDL not available via "?wsdl" query

    [ https://issues.apache.org/jira/browse/TUSCANY-1652?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel#action_12524489 ] 

gengshaoguang commented on TUSCANY-1652:
----------------------------------------

Hi

I am just in the exact same scenario, for the time being.

But the service works right.

I think we missed something in the classpath, but I don't know what is it.

Did you solve it? Or could someone give a clue?




> 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: tuscany-dev-unsubscribe@ws.apache.org
For additional commands, e-mail: tuscany-dev-help@ws.apache.org