When creating a proxy service using synapse, the xsd file is regenerated in an incorrect way.
I have attached the wsdl and xsd files. The original xsd file doesn't have a namespace whereas the regenerated one has namespace prefix! Original one: <xsd:schema xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:tns="http://eta.sddc.army.mil/xsd/raterankrequest" targetNamespace="http://eta.sddc.army.mil/xsd/raterankrequest"> <xsd:import schemaLocation="raterankinput.xsd"/> <xsd:element name="RateRankRequest" type="tns:RateRankRequestType"/> <xsd:complexType name="RateRankRequestType"> <xsd:sequence> <xsd:choice> <xsd:element ref="DRO"/> <xsd:element ref="MSG"/> </xsd:choice> </xsd:sequence> </xsd:complexType> </xsd:schema> **Regenerated one <?xml version="1.0" encoding="UTF-8"?> <xsd:schema attributeFormDefault="unqualified" elementFormDefault="unqualified" targetNamespace="http://eta.sddc.army.mil/xsd/raterankrequest"> <xsd:import namespace="" schemaLocation="RateRankServiceUserToken?xsd=xsd1" /> <xsd:element name="RateRankRequest" type="tns:RateRankRequestType" /> <xsd:complexType name="RateRankRequestType"> <xsd:sequence> <xsd:choice> <xsd:element ref="tns:DRO" /> <xsd:element ref="tns:MSG" /> </xsd:choice> </xsd:sequence> </xsd:complexType> </xsd:schema> http://www.nabble.com/file/p13183308/test.zip test.zip Balaji -- View this message in context: http://www.nabble.com/incorrect-xsd-file-generated-tf4616122.html#a13183308 Sent from the Synapse - Dev mailing list archive at Nabble.com. --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
