You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@geronimo.apache.org by "Jarek Gawor (JIRA)" <ji...@apache.org> on 2007/08/01 23:26:53 UTC

[jira] Commented: (GERONIMO-1581) webservices.xml and values can't start with /

    [ https://issues.apache.org/jira/browse/GERONIMO-1581?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel#action_12517083 ] 

Jarek Gawor commented on GERONIMO-1581:
---------------------------------------

The JSR109 1.2 is pretty clear that jaxrpc-mapping-file or wsdl-file should not start with "/". We can discuss if this still should be changed but for now (for Geronimo 2.0) I decided to leave how it is. I only verified that paths that start with "/" produce nice error messages and do not return NPEs or other unclear messages.


> webservices.xml <wsdl-file> and <jaxrpc-mapping-file> values can't start with /
> -------------------------------------------------------------------------------
>
>                 Key: GERONIMO-1581
>                 URL: https://issues.apache.org/jira/browse/GERONIMO-1581
>             Project: Geronimo
>          Issue Type: Bug
>      Security Level: public(Regular issues) 
>          Components: OpenEJB, webservices
>    Affects Versions: 1.1.2
>            Reporter: Aaron Mulder
>            Priority: Critical
>             Fix For: Verification Required
>
>         Attachments: WSDescriptorParser.patch
>
>
> It seems like it ought to be legal for the <wsdl-file> value to start with a / (in fact, the book I got my example from uses that).  However, in Geronimo, that results in a java.lang.RuntimeException: Could not open stream to wsdl file.  If we can't handle the preceding /, we should probably just strip it if it's there and then go on as normal (without the leading / everything is fine).
> The same appears to be true for the <jaxrpc-mapping-file> though it produces an NPE instead of the RuntimeException.

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