[ http://issues.apache.org/jira/browse/GERONIMO-1581?page=all ]

Aaron Mulder updated GERONIMO-1581:
-----------------------------------

        Summary: webservices.xml <wsdl-file> and <jaxrpc-mapping-file> values 
can't start with /  (was: webservices.xml <wsdl-file> value can't start with /)
    Description: 
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.


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

The same may be true for the <jaxrpc-mapping-file> though I'm currently getting 
a different error there.


> webservices.xml <wsdl-file> and <jaxrpc-mapping-file> values can't start with 
> /
> -------------------------------------------------------------------------------
>
>          Key: GERONIMO-1581
>          URL: http://issues.apache.org/jira/browse/GERONIMO-1581
>      Project: Geronimo
>         Type: Bug
>   Components: OpenEJB, webservices
>     Versions: 1.0
>     Reporter: Aaron Mulder
>      Fix For: 1.0.1, 1.1

>
> 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.
-
If you think it was sent incorrectly contact one of the administrators:
   http://issues.apache.org/jira/secure/Administrators.jspa
-
For more information on JIRA, see:
   http://www.atlassian.com/software/jira

Reply via email to