below is generated by CXF: <wsdl:types> <xsd:schema attributeFormDefault="unqualified" elementFormDefault="qualified" targetNamespace="http://server.hw.demo/" xmlns:tns="http://server.hw.demo/" xmlns:xsd="http://www.w3.org/2001/XMLSchema"> <xsd:element name="sayHi" type="tns:sayHi" /> <xsd:complexType name="sayHi"> <xsd:sequence> <xsd:element minOccurs="0" name="arg0" type="xsd:string" /> </xsd:sequence> </xsd:complexType> </xsd:schema> </wsdl:types>
see <xsd:element name="sayHi",<xsd:complexType name="sayHi">,the same name "sayHi" makes things error!How to avoid this?? -- View this message in context: http://old.nabble.com/How-to-avoid-the-same-name-of-element-and-type-in-wsdl%3Atypes---tp28691358p28691358.html Sent from the cxf-user mailing list archive at Nabble.com.
