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

Win a copy of Java 8 in Action this week in the Java 8 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: 923

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%)
Don't get me started about those stupid light bulbs.
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
Https and wsdl
Java EE 5 Tutorial - Problem with Web Services
What does this mean: "Required white space was missing"