wood burning stoves 2.0*
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 8 in Action this week in the Java 8 forum!
JavaRanch » Java Forums » Java » Web Services
Bookmark "newbie question: wsimport not working" Watch "newbie question: wsimport not working" New topic
Author

newbie question: wsimport not working

ali mangaliag
Greenhorn

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 http://192.168.25.232:8080/total/runtotal?wsdl" on another machine this message will be displayed:

[ERROR] Failed to read the WSDL document: http://192.168.25.232:8080/total/runtotal?wsdl, 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
Greenhorn

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...

thanks...

ali
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: newbie question: wsimport not working
 
Similar Threads
Web Service Using JDK 6
Wanted: Simple ant script to demo wsgen and wsimport.
Where to use wsgen?
Confusion in writing web service client + jax-ws
Passing Files in Web Services