This week's book giveaway is in the Performance forum.
We're giving away four copies of The Java Performance Companion and have Charlie Hunt, Monica Beckwith, Poonam Parhar, & Bengt Rutisson on-line!
See this thread for details.
Win a copy of The Java Performance Companion this week in the Performance forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

Please help me in resolving this error ?

gurpeet singh
Ranch Hand
Posts: 924
Fedora Java Netbeans IDE
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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.
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic