• Post Reply Bookmark Topic Watch Topic
  • New Topic
programming forums Java Mobile Certification Databases Caching Books Engineering Micro Controllers OS Languages Paradigms IDEs Build Tools Frameworks Application Servers Open Source This Site Careers Other Pie Elite all forums
this forum made possible by our volunteer staff, including ...
Marshals:
  • Campbell Ritchie
  • Jeanne Boyarsky
  • Ron McLeod
  • Paul Clapham
  • Liutauras Vilda
Sheriffs:
  • paul wheaton
  • Rob Spoor
  • Devaka Cooray
Saloon Keepers:
  • Stephan van Hulst
  • Tim Holloway
  • Carey Brown
  • Frits Walraven
  • Tim Moores
Bartenders:
  • Mikalai Zaikin

Error while generating Web Services Client using wsdl in Eclipse 3.6

 
Ranch Hand
Posts: 129
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • 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
    Number of slices to send:
    Optional 'thank-you' note:
  • 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
    Number of slices to send:
    Optional 'thank-you' note:
  • 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
    Number of slices to send:
    Optional 'thank-you' note:
  • 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
 
Greenhorn
Posts: 22
Eclipse IDE Postgres Database Java
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • 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
 
What's gotten into you? Could it be this tiny ad?
a bit of art, as a gift, that will fit in a stocking
https://gardener-gift.com
reply
    Bookmark Topic Watch Topic
  • New Topic