This week's book giveaway is in the OO, Patterns, UML and Refactoring forum. We're giving away four copies of Refactoring for Software Design Smells: Managing Technical Debt and have Girish Suryanarayana, Ganesh Samarthyam & Tushar Sharma on-line! See this thread for details.
Then using the URL above, I executed the "wsimport http://localhost:7080/ws/wservice?wsdl"
It parsed the wsdl and generated a bunch of class files. I created a JAR file of the class files and included them in my webapplication.
Now when I call the webservice via my webaplication, I get an error saying "Failed to access the WSDL at http://localhost:9080/ws/wservice?wsdl"
I do not know from where is this port 9080 is coming into the picture?
I decompiled all the class files (the ones generated by wsimport) and none of the class contain port 9080, I see the the correct port (7080) everywhere in the decompiled class files
Please tell me how to correct this.
One option is to change tomcat port to 9080 and that will fix the problem but I cannot do that. By the way, the webapp itself runs on the same tomcat and at the same port.
Thanks so much.
I’ve looked at a lot of different solutions, and in my humble opinion Aspose is the way to go. Here’s the link: http://aspose.com