Hi tsuji,
Thanks and appreciate your help on this !! i'm a newbie for the xsd.
if i follow the above approach of xsd with complexType name the output is
But i need to do something like this
i'm using JAXB to generate the class based on the xsd definition for the
soap (Spring + SOAP)
I'm using the below code to set on the response for the XSD
response.setAccountDetails(account); // requires the attribute <xsd:element name="Account" type="account:Account"> to set it in Account class objects
Appreciate your help.
Thanks