[ http://issues.apache.org/jira/browse/APOLLO-21?page=history ]
     
Sal Campana closed APOLLO-21:
-----------------------------

    Resolution: Fixed

I added a check to the constructor of Wsdl2Java to ensure all passed in files 
have the extension .wsdl...

If a file is found without that extension a message is sent noting this 
expectation and the name of the file which was passed in...Additionally we exit 
at that point since this was invalid input.

> Wsdl2Java and example build.xml files should only include .wsdl files
> ---------------------------------------------------------------------
>
>          Key: APOLLO-21
>          URL: http://issues.apache.org/jira/browse/APOLLO-21
>      Project: Apollo
>         Type: Improvement
>   Components: Wsdl2Java
>  Environment: n/a
>     Reporter: Sal Campana
>     Assignee: Sal Campana
>     Priority: Minor

>
> We need to add a check in Wsdl2Java for the file extension of the passed in 
> wsdls.  We should restrict it to files with the .wsdl extension (case 
> insensitive).  This will avoid xsd files inadvertantly getting parsed as 
> wsdls.
> Another place to help with this is in the build.xml files for our examples.  
> The wsdls fileset passed to wsdl2java should always have an <include 
> name="*.wsdl"/> to further enforce this to the end user.

-- 
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
-
If you want more information on JIRA, or have a bug to report see:
   http://www.atlassian.com/software/jira


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

Reply via email to