• Post Reply Bookmark Topic Watch Topic
  • New Topic

Error generating client stubs using eclipse  RSS feed

 
Ranch Hand
Posts: 143
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi,

I'm trying to create clients using eclipse from a wsdl file and it is giving me following error:


When I checked the wsdl it does have some duplicate names but then it is working fine in current application setup. Any pointers to generate stubs without errors would be really helpful.

Thanks,
Asha
 
Ranch Hand
Posts: 1050
2
IntelliJ IDE Java Spring
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Use SoapUI, create a client using the WSDL. See if you get the same error. If not, use SoapUI for your testing.
 
Ranch Hand
Posts: 577
Java Notepad Tomcat Server
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi Asha,

When I checked the wsdl it does have some duplicate names but then it is working fine in current application setup


If WSDL contains duplicate operation names, it wouldn't work. First, check for well-formedness and validation of WSDL, then generate client stubs.
 
It is sorta covered in the JavaRanch Style Guide.
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!