File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
The moose likes Web Services and the fly likes newbie question: wsimport not working Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login

Win a copy of Java Interview Guide this week in the Jobs Discussion forum!
JavaRanch » Java Forums » Java » Web Services
Bookmark "newbie question: wsimport not working" Watch "newbie question: wsimport not working" New topic

newbie question: wsimport not working

ali mangaliag

Joined: Mar 10, 2009
Posts: 2
i tried making my first web service and it works great... but only on the same computer... i opted not to use a separate application server and used jax-ws instead...

this is my Endpoint/server...

but when i change it to the following to reflect my true ip address in order to make it available on another computer:

wsimport doesnt work...

if i will use "wsiport" on another machine this message will be displayed:

[ERROR] Failed to read the WSDL document:, because 1) could not find
the document; /2) the document could not be read; 3) the root element of the do
cument is not <wsdl:definitions>.
unknown location

Failed to parse the WSDL.

but when i access it through a browser, I can actually see the wsdl file...

i am confused...
ali mangaliag

Joined: Mar 10, 2009
Posts: 2
sorry... the problem is already fixed... i forgot that we are behind a firewall and the network was configured to use a web proxy... i disabled the web proxy on my winxp and it already worked...


I agree. Here's the link:
subject: newbie question: wsimport not working
It's not a secret anymore!