I have created a web service using Netbeans and have deployed it in jboss server. I also created a web service client in the same system. Now I need to change the web service url, which is http://localhost:8080/SGateway/ServiceGateway?wsdl, to [url=http://portaddr:8080/SGateway/ServiceGateway?wsdl. This port address has a proxy authentication also.
I tried editting the local wsdl in the web service client.But I get the below exception.
Exception in thread "main" com.sun.xml.internal.ws.client.ClientTransportExce ption: The server sent HTTP status code 503: Service Unavailable
at com.sun.xml.internal.ws.transport.http.client.Http TransportPipe.checkStatusCode(HttpTransportPipe.ja va:196)
at com.sun.xml.internal.ws.transport.http.client.Http TransportPipe.process(HttpTransportPipe.java:168)
at com.sun.xml.internal.ws.transport.http.client.Http TransportPipe.processRequest(HttpTransportPipe.jav a:83)
at com.sun.xml.internal.ws.transport.DeferredTranspor tPipe.processRequest(DeferredTransportPipe.java:10 5)
at com.sun.xml.internal.ws.api.pipe.Fiber.__doRun(Fib er.java:587)
at com.sun.xml.internal.ws.api.pipe.Fiber._doRun(Fibe r.java:546)
at com.sun.xml.internal.ws.api.pipe.Fiber.doRun(Fiber .java:531)
at com.sun.xml.internal.ws.api.pipe.Fiber.runSync(Fib er.java:428)
at com.sun.xml.internal.ws.client.Stub.process(Stub.j ava:211)
at com.sun.xml.internal.ws.client.sei.SEIStub.doProce ss(SEIStub.java:124)
at com.sun.xml.internal.ws.client.sei.SyncMethodHandl er.invoke(SyncMethodHandler.java:98)
at com.sun.xml.internal.ws.client.sei.SyncMethodHandl er.invoke(SyncMethodHandler.java:78)
at com.sun.xml.internal.ws.client.sei.SEIStub.invoke( SEIStub.java:107)
at $Proxy29.sayHello(Unknown Source)
Kindly help me to resolve this.
Thanks in Advance