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

Daniel Kulp resolved CXF-1679.
------------------------------

       Resolution: Fixed
    Fix Version/s: 2.2


I'm going to mark this resolved as I'm pretty sure it's now fixed and no one 
else has encountered it in the last year.    If someone else does encounter 
something similar, reopen this bug or log a new one (with a testcase would be 
good). 

> Schema entries with same targetNamespace produces error in wsdl2java
> --------------------------------------------------------------------
>
>                 Key: CXF-1679
>                 URL: https://issues.apache.org/jira/browse/CXF-1679
>             Project: CXF
>          Issue Type: Bug
>          Components: Tooling
>    Affects Versions: 2.1.1
>         Environment: Windows XP, Eclipse
>            Reporter: Andy Frantz
>            Priority: Minor
>             Fix For: 2.2
>
>
> When running wsdl2java, If there are multiple xsd:schema entries with the 
> same targetNamespace in the wsdl:types section, a "WSDLToJava Error: Failed 
> to create java parameter..." error occurs.  I'm not actually sure why the 
> error occurs, but he wsdl validates just fine with the validation tool.
> Validates, but causes a problem in wsdl2java:
> <wsdl:types>
>   <xsd:schema elementFormDefault="qualified" targetNamespace="target:ns" 
> xmlns:tns="target:ns">
>     <xsd:include schemaLocation="../schemas/first.xsd" />
>   </xsd:schema>
>   <xsd:schema elementFormDefault="qualified" targetNamespace="target:ns" 
> xmlns:tns="target:ns">
>     <xsd:include schemaLocation="../schemas/second.xsd" />
>   </xsd:schema>
> </wsdl:types>
> Does not cause a problem:
> <wsdl:types>
>   <xsd:schema elementFormDefault="qualified" targetNamespace="target:ns" 
> xmlns:tns="target:ns">
>     <xsd:include schemaLocation="../schemas/first.xsd" />
>     <xsd:include schemaLocation="../schemas/second.xsd" />
>   </xsd:schema>
> </wsdl:types>

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