On Friday 12 March 2010 6:43:16 pm Marcel Casado wrote:
> I've created a Jira and attached test case :
> https://issues.apache.org/jira/browse/CXF-2712
OK. I can now see what is going on. It's technically a "bug" (or missing
API) in JAXB. See:
https://jaxb.dev.java.net/issues/show_bug.cgi?i
ontainer.execute(WSDLToJavaContainer
>>> .java:128) at
>>> org.apache.cxf.tools.wsdlto.WSDLToJavaContainer.execute(WSDLToJavaContainer
>>> .java:271) at
>>> org.apache.cxf.tools.common.toolspec.ToolRunner.runTool(ToolRunner.java:103
>>> ) at org.apache.cxf.tools.wsdlto.WSDLToJava.run(WSDLToJava.java:113) at
>>> org.apache.cxf.tools.wsdlto.WSDLToJava.run(WSDLToJava.java:86)
>>> at org.apache.cxf.tools.wsdlto.WSDLToJava.main(WSDLToJava.java:184)
>>> But the wsdl validator says is a valid wsdl :
>>>
>>> ./wsdlvalidator
>>> /Users/marcel/ogc-bindings/trunk/jaxws/wcs/1.1.2/src/main/resources/wsdl/wc
>>> s/1.1.2/wcs1_1_2.wsdlPassed Validation : Valid WSDL
>>> It seems to me that "wsdl2java" does not work properly when jaxb
>>> episodes
>>> are used for the elements defined on the messages part on the wsdl.
>>> Thanks,
>>>
>>> -Marcel
>>
>> --
>> Daniel Kulp
>> dk...@apache.org
>> http://dankulp.com/blog
>>
>>
>
>
--
View this message in context:
http://old.nabble.com/Problem-with-wsdl2java-codegen-tool---jaxb-episodes-tp27883012p27884135.html
Sent from the cxf-user mailing list archive at Nabble.com.
.run(WSDLToJava.java:113) at
>> org.apache.cxf.tools.wsdlto.WSDLToJava.run(WSDLToJava.java:86)
>> at org.apache.cxf.tools.wsdlto.WSDLToJava.main(WSDLToJava.java:184)
>> But the wsdl validator says is a valid wsdl :
>>
>> ./wsdlvalidator
>> /Users/marcel/ogc-bindings/trunk/jaxws/wcs/1.1.2/src/main/resources/wsdl/wc
>> s/1.1.2/wcs1_1_2.wsdlPassed Validation : Valid WSDL
>> It seems to me that "wsdl2java" does not work properly when jaxb episodes
>> are used for the elements defined on the messages part on the wsdl.
>> Thanks,
>>
>> -Marcel
>
> --
> Daniel Kulp
> dk...@apache.org
> http://dankulp.com/blog
>
>
--
View this message in context:
http://old.nabble.com/Problem-with-wsdl2java-codegen-tool---jaxb-episodes-tp27883012p27884131.html
Sent from the cxf-user mailing list archive at Nabble.com.
ools.common.toolspec.ToolRunner.runTool(ToolRunner.java:103
>> ) at org.apache.cxf.tools.wsdlto.WSDLToJava.run(WSDLToJava.java:113) at
>> org.apache.cxf.tools.wsdlto.WSDLToJava.run(WSDLToJava.java:86)
>> at org.apache.cxf.tools.wsdlto.WSDLToJava.main(WSDLToJava.java:184)
>> Bu
I've heard of mixed reports of people using episode files. Some have claimed
it worked fine. Others have had issues. The main problem I have is that
no-one that has had problems have been able to provide a test case that we can
debug. If you could create a test case and attach to a JIRA,
nts defined on the messages part on the wsdl.
Thanks,
-Marcel
--
View this message in context:
http://old.nabble.com/Problem-with-wsdl2java-codegen-tool---jaxb-episodes-tp27883012p27883012.html
Sent from the cxf-user mailing list archive at Nabble.com.