[
https://issues.apache.org/jira/browse/CXF-7928?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16722875#comment-16722875
]
Freeman Fang commented on CXF-7928:
-----------------------------------
Hi William,
That problem may come from the wsdl itself.
You can use
$CXF_KIT/bin/wsdl2java -validate=all wsdlfile to fetch more infomation about
the wsdl.
Freeman
> 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)