File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
The moose likes Web Services and the fly likes Please help me in resolving  this error ? Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login

Win a copy of REST with Spring (video course) this week in the Spring forum!
JavaRanch » Java Forums » Java » Web Services
Bookmark "Please help me in resolving  this error ?" Watch "Please help me in resolving  this error ?" New topic

Please help me in resolving this error ?

gurpeet singh
Ranch Hand

Joined: Apr 04, 2012
Posts: 924

i'm getting below error when i try to create stub for the web services.

Web service client cannot be created by JAXWS:wsimport utility.

Reason: Two declarations cause a collision in the ObjectFactory class

there might be a problem during java artifacts creation : for example a name conflict in generated classes

to detect the problem see also the error messages in output window.

you maybe able to fix this problem in WSDL customization dialog.
(Edit web service attribute section)
or by manual editing of the local wsdl or schema files, using the JAXB customization
(local wsdl and schema files are located in xml-resources directory)

i'm using netbeans as IDE.
I agree. Here's the link:
subject: Please help me in resolving this error ?
It's not a secret anymore!