This week's book giveaway is in the OCMJEA forum.
We're giving away four copies of OCM Java EE 6 Enterprise Architect Exam Guide and have Paul Allen & Joseph Bambara on-line!
See this thread for details.
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 OCM Java EE 6 Enterprise Architect Exam Guide this week in the OCMJEA 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
 
jQuery in Action, 2nd edition
 
subject: newbie question: wsimport not working