aspose file tools
The moose likes Web Services and the fly likes Error while generating Web Services Client using wsdl in Eclipse 3.6 Big Moose Saloon
  Search | Java FAQ | Recent Topics
Register / Login
JavaRanch » Java Forums » Java » Web Services
Reply Bookmark "Error while generating Web Services Client using wsdl in Eclipse 3.6" Watch "Error while generating Web Services Client using wsdl in Eclipse 3.6" New topic
Author

Error while generating Web Services Client using wsdl in Eclipse 3.6

naveen gupta
Ranch Hand

Joined: Apr 12, 2006
Posts: 129
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

Joined: Apr 12, 2006
Posts: 129
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

Joined: Apr 12, 2006
Posts: 129
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

Joined: Apr 12, 2006
Posts: 129
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

Joined: Jul 04, 2011
Posts: 22

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

Thanks
-Aj
 
I agree. Here's the link: http://zeroturnaround.com/jrebel
 
subject: Error while generating Web Services Client using wsdl in Eclipse 3.6
 
Similar Threads
Webservices Help in WSAD 5 for Beginner
Axis2 wizard problems in eclipse
Deploying the Eclipse generated web service client on Tomcat
How to invoke WebService
SSL Web Service Client