Kind of a poorly written wsdl. However, if you create a file with the
contents:
<jaxws:bindings wsdlLocation="SyncPersonnelService.wsdl"
xmlns:jaxws="http://java.sun.com/xml/ns/jaxws"
xmlns:xs="http://www.w3.org/2001/XMLSchema"
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
xmlns:jaxb="http://java.sun.com/xml/ns/jaxb"
xmlns:wsdl="http://schemas.xmlsoap.org/wsdl/"
xsi:schemaLocation="http://java.sun.com/xml/ns/jaxb
http://java.sun.com/xml/ns/jaxb/bindingschema_2_0.xsd
http://java.sun.com/xml/ns/jaxws
http://java.sun.com/xml/ns/jaxws/wsdl_customizationschema_2_0.xsd">
<jaxws:bindings
node="wsdl:definitions/wsdl:types/xs:schema[@targetNamespace='http://www.openapplications.org/oagis/9']">
<jaxb:bindings
node="xs:complexType[@name='DocumentReferenceType']/xs:complexContent/xs:extension/xs:sequence/xs:element[@name='Type']">
<jaxb:property name="DRTType"/>
</jaxb:bindings>
<jaxb:bindings
node="xs:complexType[@name='QualificationTermType']/xs:sequence/xs:element[@name='Type']">
<jaxb:property name="QTTType"/>
</jaxb:bindings>
</jaxws:bindings>
<jaxws:enableWrapperStyle>false</jaxws:enableWrapperStyle>
</jaxws:bindings>
and pass that into wsdl2java with the -b flag, it should be able to generate
code for it.
Dan
On Friday, December 09, 2011 8:06:58 AM fachhoch wrote:
> Thanks a lot for all your help , I tried with cxf 2.5.0 here is the
> output
>
>
>
>
> --
> View this message in context:
> http://cxf.547215.n5.nabble.com/error-generating-java-using-wsdl2java-tp505
> 9802p5062213.html Sent from the cxf-user mailing list archive at Nabble.com.
--
Daniel Kulp
[email protected] - http://dankulp.com/blog
Talend Community Coder - http://coders.talend.com