[ 
https://issues.apache.org/jira/browse/CXF-639?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Chris Moesel updated CXF-639:
-----------------------------

    Description: 
The codegen plugin fails if you set the WSDL to a URL instead of a file.  For 
example, this WSDL param would fail:
http://localhost:8080/MyService?wsdl

The reason is because the codegen plugin creates a DONE marker file that uses 
the WSDL filename as part of the DONE marker file name.  In the case above, the 
filename would include the '?' character, which is illegal as a character in a 
filename (at least on windows it is).

I am including a simple patch to fix the bug.

  was:
The codegen plugin fails if you set the WSDL to a URL instead of a file.  For 
example, this would fail:
<wsdl>http://localhost:8080/MyService?wsdl</wsdl>

The reason is because the codegen plugin creates a DONE marker file that uses 
the WSDL filename as part of the DONE marker file name.  In the case above, the 
filename would include the '?' character, which is illegal as a character in a 
filename (at least on windows it is).

I am including a simple patch to fix the bug.


> Maven Codegen Plugin Fails For CXF WSDL URLs
> --------------------------------------------
>
>                 Key: CXF-639
>                 URL: https://issues.apache.org/jira/browse/CXF-639
>             Project: CXF
>          Issue Type: Bug
>          Components: Tooling
>    Affects Versions: 2.0
>            Reporter: Chris Moesel
>            Priority: Minor
>
> The codegen plugin fails if you set the WSDL to a URL instead of a file.  For 
> example, this WSDL param would fail:
> http://localhost:8080/MyService?wsdl
> The reason is because the codegen plugin creates a DONE marker file that uses 
> the WSDL filename as part of the DONE marker file name.  In the case above, 
> the filename would include the '?' character, which is illegal as a character 
> in a filename (at least on windows it is).
> I am including a simple patch to fix the bug.

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

Reply via email to