Hello, 

 

I am generating classes using axis2 and ADB binding.

 

I have a type defined as below in the attached wsdl file. 

 

<element name="TwoWayOneParameterEchoRequest">

  <complexType>

    <simpleContent>

       <extension base="xsd:string">

         <attributeGroup ref="impl:echoAttributeGroup"></attributeGroup>

       </extension>

    </simpleContent>

  </complexType>

</element>

 

But for some reason when server side classes are generated from wsdl the
generated TwoWayOneParameterEchoRequest class has only the string attribute
corresponding to <extension base="xsd:string"/> but there are no members in
the class which correspond to the attributeGroup in the type. 

 

Command used:  %AXIS2_HOME%\bin\WSDL2Java -uri ug.wsdl  -d adb -ss 

(I even tried adding other options like -g and -uw but they did not solve
the problem)

Axis2 version: 1.3

 

If I use XmlBeans databinding, then generated class has members
corresponding to both attributeGroup as well as the extension tag. 

Help appreciated.

 

Thanks, 

Vivek


DISCLAIMER
==========
This e-mail may contain privileged and confidential information which is the 
property of Persistent Systems Ltd. It is intended only for the use of the 
individual or entity to which it is addressed. If you are not the intended 
recipient, you are not authorized to read, retain, copy, print, distribute or 
use this message. If you have received this communication in error, please 
notify the sender and delete all copies of this message. Persistent Systems 
Ltd. does not accept any liability for virus infected mails.

Attachment: ug.wsdl
Description: XML document

---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to