Using wsdl2java on the attached wsdl produces some incorrect results. The xml that i would expect the generated code to produce is in expected.xml the code it actually produces is in actual.xml. The element name for element1 is incorrect, element2 should contain the string directly instead of having it as a child node, element2 is also missing the attribute that it should have. There seems to be problems with wsdl2java's handling of enumerations in anything other than the most basic cases

Attachment: test.wsdl
Description: application/xml

<MessageType>
	<Element1>String1</Element1>
	<Element2 attribute = "String2">String3<Element2>
<MessageType>
<MessageType>
	<BaseType>String1</BaseType>
	<Element2>
		<BaseType>String3</BaseType>
	<Element2>
<MessageType>
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to