[ 
https://issues.apache.org/jira/browse/CXF-8339?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17201224#comment-17201224
 ] 

Andriy Redko edited comment on CXF-8339 at 9/24/20, 10:09 PM:
--------------------------------------------------------------

[~pseer] the issue seems to be related to XJC compiler itself:

```
 mkdir src

xjc -d src -wsdl myService.wsdl -verbose

```

And check generated classes in `src` folder (xjc comes with JDK8 by default).

Similar issues have been discussed on Stackoverflow fe [1], not much CXF can do 
here.

[1] 
[https://stackoverflow.com/questions/49068291/jaxb-not-generating-field-for-redefined-attribute]


was (Author: reta):
[~pseer] the issue seems to be related to XJC compiler itself:

```
 mkdir src

xjc -d src -wsdl cxf8339.wsdl -verbose

```

And check generated classes in `src` folder (xjc comes with JDK8 by default).

Similar issues have been discussed on Stackoverflow fe [1], not much CXF can do 
here.

[1] 
[https://stackoverflow.com/questions/49068291/jaxb-not-generating-field-for-redefined-attribute]

> WSDLToJava generates sub-java-classes without content
> -----------------------------------------------------
>
>                 Key: CXF-8339
>                 URL: https://issues.apache.org/jira/browse/CXF-8339
>             Project: CXF
>          Issue Type: Bug
>          Components: Tooling
>    Affects Versions: 3.4.0, 3.3.7
>         Environment: Ant-output on OS Windows 10 Enterprise and Eclipse IDE
> [java] Loading FrontEnd jaxws ...
>  [java] Loading DataBinding jaxb ...
>  [java] wsdl2java -client -d D:\path\to\src -verbose D:\path\to\myService.wsdl
>  [java] wsdl2java - Apache CXF 3.3.7
>  
>            Reporter: Peter Seer
>            Priority: Major
>         Attachments: myService.wsdl
>
>
> Hello,
> if I generate java-classes with WSDLToJava from WSDL appended below, the 
> sub-java-class "XGDBText" gets generated without content.
> I tried to figure out for quite a while what is missing, and ended up with 
> the conclusion, that this might be a bug.
> It would be great if you could help me out with this issue. Thanks.
> Best regards



--
This message was sent by Atlassian Jira
(v8.3.4#803005)

Reply via email to