Skip to main content

Generating Java from WSDL

No replies
logintech
Offline
Joined: 2010-10-05

I am trying to generate java code from wsdl using wsimport of java 1.6

The complexContent elements under complexType in xsd file is not getting generated during java type file generation.I have imported this xsd file in my wsdl file. please find the code snippet below,

xsd file snippet :

Generated java file :

@XmlAccessorType(XmlAccessType.FIELD)
@XmlType(name = "ChildNode")
public class ChildNode
extends MnvMetaType
{

}

The generated java file does not have any objects for the complexContent elements.Meaning the complexContent elements are not getting generated.

Please let me know if any additional details required.

Its an very urgent issue... timely help will be highly appreciable. Thanks in advance.