• Post Reply Bookmark Topic Watch Topic
  • New Topic

Error while generating Web Services Client using wsdl in Eclipse 3.6

 
naveen gupta
Ranch Hand
Posts: 129
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
I have created a Java project and imported wsdl file into my project

Then using Web Service Client wizard i am trying to generate Web Service Client code for the wsdl

And in the wizard when i gave the path of wsdl in my project and clicked on Next, it gave me following error

iwab0014e unexpected exception occurred


Does anybody faced same issue, any help ideas will be appreciated
 
naveen gupta
Ranch Hand
Posts: 129
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
I searched on google, but couldn't find answer anywhere.

BUT I FOUND THE SOLUTION

For the Java Project i created, i have added JBoss library to the classpath and selected JBoss server as the runtime server

then it worked fine

hope this helps
 
naveen gupta
Ranch Hand
Posts: 129
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
stuck with one more issue

after clicking next button, i have entered the package name and JAX-WS version as 2.0

and when i clicked FINISH it gave me following error. HELPPPPPPPPPPPPPPPPPP

java.lang.IllegalStateException WsImport invocation failed

any ideas?
 
naveen gupta
Ranch Hand
Posts: 129
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
This one also got Resolved

wsdl issue

when i right clicked on wsdl file and clicked on validation. validation failed and there was one error or warning
but i was able to open the file in internet explorer, search in google couldn't help

But wsdl file was not opening in google chrome browser, so i opened wsdl as a file using google chrome and i saw some unknown characters or some spaces

then i removed those spaces and loaded the wsdl file again and it worked fine
 
Aj Maven
Greenhorn
Posts: 22
Eclipse IDE Java Postgres Database
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
The problem is caused due to existence of hyphens in the WSDL URL. Do you have any '-'(hyphen's) in your WSDL URL, if yes, thats the problem.
Check this
 
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!