File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
http://aspose.com/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


Win a copy of EJB 3 in Action this week in the EJB and other Java EE Technologies 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
Author

Please help me in resolving this error ?

gurpeet singh
Ranch Hand

Joined: Apr 04, 2012
Posts: 923
    
    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.


OCPJP 6(100 %) OCEWCD 6(91 %) OCPJBCD(93%)
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: Please help me in resolving this error ?
 
Similar Threads
Exception when trying to consume a service in Websphere Process Server from CXF Client
netbeans6.0/6.1 and webservics
What does this mean: "Required white space was missing"
Java EE 5 Tutorial - Problem with Web Services
Https and wsdl