This week's book giveaway is in the Beginning Java forum.
We're giving away four copies of Murach's Java Programming and have Joel Murach on-line!
See this thread for details.
Win a copy of Murach's Java Programming this week in the Beginning Java forum!
  • Post Reply Bookmark Topic Watch Topic
  • New Topic

Error generating client stubs using eclipse  RSS feed

 
Asha Pathik
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
 
William Barnes
Ranch Hand
Posts: 1049
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.
 
Naren Chivukula
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 an experimental device that will make my mind that most powerful force on earth! More powerful than this tiny ad!
Thoughts on deprecation in Java
https://coderanch.com/t/683016/java/Deprecation-Java
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!