aspose file tools*
The moose likes Web Services and the fly likes inner class problem with xjc Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Java » Web Services
Bookmark "inner class problem with xjc" Watch "inner class problem with xjc" New topic
Author

inner class problem with xjc

siva venkata prasad
Greenhorn

Joined: Jul 14, 2011
Posts: 17
Hi ,

Can anyone please provide an idea to solve the below problem.

Below part of xml is part of xsd file which intern is used by WSDL file..
<xs:element name="ABC" minOccurs="0" maxOccurs="60">
<xs:complexType>
<xs:sequence>
<xs:element name="test">
<xs:complexType>
<xs:sequence>
<xs:element name="test" minOccurs="0" maxOccurs="9">
<xs:complexType>

with the above xsd,, inner class and enclosing class are getting generated with same class name "test" while generating the client using wsimport & xjc and causing fault source code creation.

Please provide how to handle with this..
Vijitha Kumara
Bartender

Joined: Mar 24, 2008
Posts: 3832

...while generating the client using wsimport & xjc and causing fault source code creation.

What are the errors/faults?


SCJP 5 | SCWCD 5
[How to ask questions] [Twitter]
 
 
subject: inner class problem with xjc