Hi guys.. I want to ask I develop web service..(using netbeans). On its wdsl..
the server used is running on localHost port 9080.
Then I generate WS client on another project to access this services.
The client can access the service when I try it on netbeans.
How if I deploy the war file of web service into another same server (glassfish) but different port. I.e. now on glassfish localhost:8080. Note that I did not rebuild the package. So, the WSDL still showing localhost:9080.
How could the ws client access this new location? (the service (method and class name) still remain. It just change the URL port in deployment.
Originally posted by arief hidayat: It just change the URL port in deployment.
Usually the constructor for the class that extends javax.xml.ws.Service will accept a wsdlDocumentLocation URL - change the wsdlDocumentLocation to a WSDL that contains the correct endpoint address.
Joined: Apr 13, 2007
Thanks.. I'll try it.
But I have another problem. Firstly I use glassfish running on port 8080. Then I change the port to other, 9080. But now I can't find the wsdl location.. neither in 8080 nor 9080. I try to clean and build project. Restart the server. But no result. I am using netbeans 5.5
Any help? Thanks [ March 04, 2008: Message edited by: arief hidayat ]