You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@cxf.apache.org by "Justin Saliba (JIRA)" <ji...@apache.org> on 2019/01/07 13:36:00 UTC

[jira] [Commented] (CXF-7928) Apache CXF wsdl2java

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

Justin Saliba commented on CXF-7928:
------------------------------------

Hi [~wnofer],

We have the same issue with OTA_PingRQ using the cxf-codegen-plugin, however I was able to get it to work with another Maven plugin. The Java source changed somewhat but after aligning the rest of the codebase to align to the new (slightly changed) structure, everything worked fine with CXF.

The plugin I used was Mojohaus plugin, specifically the wsimport plugin: [https://www.mojohaus.org/jaxws-maven-plugin/wsimport-mojo.html]

You can reach out to me @ justin.saliba (at) ricston (dot) com if you need more info.

Justin

> Apache CXF wsdl2java
> --------------------
>
>                 Key: CXF-7928
>                 URL: https://issues.apache.org/jira/browse/CXF-7928
>             Project: CXF
>          Issue Type: Bug
>          Components: Soap Binding
>    Affects Versions: 3.2.7
>            Reporter: William Nofer
>            Priority: Major
>         Attachments: pom.xml
>
>
> Using this wsdl: http://webservices.sabre.com/wsdl/sabreXML1.0.00/usg/OTA_PingRQ.wsdl, I am trying to generate a client using the Maven plugin and I receive the following error:
> Failed to execute goal org.apache.cxf:cxf-codegen-plugin:3.2.7:wsdl2java (generate-sources) on project refreshSoapSession: Execution generate-sources of goal org.apache.cxf:cxf-codegen-plugin:3.2.7:wsdl2java failed: java.lang.RuntimeException: org.apache.ws.commons.schema.XmlSchemaSerializer$XmlSchemaSerializerException: Attribute group must have ref name set -> [Help 1]
> I have successfully generated clients for over a dozen other wsdl's from this same provider so I know everything is setup correctly.  I was able to generate POJO's for this from JaxB so I am confused as to why this is not working for this wsdl.
> I have attached my pom file for review.
> Thank you for your assistance.
> wnofer



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)