geronimo-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Jarek Gawor (JIRA)" <>
Subject [jira] Commented: (GERONIMO-1581) webservices.xml <wsdl-file> and <jaxrpc-mapping-file> values can't start with /
Date Wed, 01 Aug 2007 21:26:53 GMT


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:
>             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.

View raw message