aspose file tools*
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
JavaRanch » Java Forums » Java » Web Services
Bookmark "Please help me in resolving  this error ?" Watch "Please help me in resolving  this error ?" New topic
Author

Please help me in resolving this error ?

gurpeet singh
Ranch Hand

Joined: Apr 04, 2012
Posts: 924
    
    1

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: http://aspose.com/file-tools
 
subject: Please help me in resolving this error ?