I have a Web Service (Java 1.8, Apache CXF 3.1) for which I want to create a
client with C#.
visual studio generated 2 partial classes for Faults and given comiple time
errors.

newly generated wsdl
====================
 <xs:element name="IllegalArgumentFault" type="tns:IllegalArgumentFault"/>
  <xs:complexType name="IllegalArgumentFault">
    <xs:sequence>
      <xs:element minOccurs="0" name="message" type="xs:string"/>
    </xs:sequence>
  </xs:complexType>
  
  
However with (Java 1.6, Apache CXF 2.6) for which I want to create a client
with C#.

 <xs:element name="IllegalArgumentFault" type="tns:IllegalArgumentFault"/>
  <xs:complexType name="IllegalArgumentFault">
    <xs:sequence/>
  </xs:complexType>
 visual studio generated one class for Fault and working fine


few queries

1) Why CXF generating new xml element "<xs:element minOccurs="0"
name="message" type="xs:string"/>"? in cxf 3.1.x  and not generated in
2.6.x?

2) can i generate 2.6.x compatible wsdl from using cxf 3.1. x?

Thanks in advance for your help.

Regards,
Gafoor



--
View this message in context: 
http://cxf.547215.n5.nabble.com/cxf-3-1-9-generated-wsdl-not-able-to-create-proxy-classes-in-c-tp5777610.html
Sent from the cxf-user mailing list archive at Nabble.com.

Reply via email to