The problem was you had two complex types contain same element name eg.
<xsd:complexType name="Entry"> <xsd:element name="URL" minOccurs="0" maxOccurs="1"> <xsd:simpleType> <xsd:restriction base="xsd:string"> <xsd:minLength value="0" /> <xsd:maxLength value="255" /> </xsd:restriction> </xsd:simpleType> </xsd:element> </xsd:complexType> and <xsd:complexType name="Entry_Reply"> <xsd:all minOccurs="0" maxOccurs="1"> <xsd:element name="URL" minOccurs="0" maxOccurs="1"> <xsd:simpleType> <xsd:restriction base="xsd:string"> <xsd:minLength value="0" /> <xsd:maxLength value="255" /> </xsd:restriction> </xsd:simpleType> </xsd:element> I fixed this by generating a unique suffix. Please check with a nightly build -- Amila Suriarachchi, WSO2 Inc.