Win a copy of Murach's Python Programming this week in the Jython/Python forum!
  • Post Reply Bookmark Topic Watch Topic
  • New Topic

Axis issue  RSS feed

 
Amit G Piplani
Ranch Hand
Posts: 83
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi,
Does AXIS supports Choice entries defined in XSD?
I have defined following entries in xsd :
<xs:element name="ElementA">
<xs:complexType>
<xs:choice>
<xs:element ref="ElementB"/>
<xs:element ref="ElementC"/>
</xs:choice>
</xs:complexType>
</xs:element>

I am only setting ElementB in the request but at runtime i am getting error saying both the requests can't be set at the same time.

Any advice on this will be highly appreicated.

Thanks,
Amit
 
Rr Kumaran
Ranch Hand
Posts: 548
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
please post your complete wsdl complete axis exception and what version of axis you are using ... ?
 
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!