aspose file tools*
The moose likes Web Services Certification (SCDJWS/OCEJWSD) and the fly likes ClientTransportException Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Certification » Web Services Certification (SCDJWS/OCEJWSD)
Bookmark "ClientTransportException" Watch "ClientTransportException" New topic
Author

ClientTransportException

Eoin Li
Ranch Hand

Joined: Jul 24, 2003
Posts: 45
I have a web service deployed to GlassFish server, then I generate a web service client in a different machine and write a client to test this web service out. However, when I called web service, there is the following exception occuring --

Exception in thread "main" com.sun.xml.internal.ws.client.ClientTransportException: The server sent HTTP status code 503: Service Unavailable
at com.sun.xml.internal.ws.transport.http.client.HttpTransportPipe.checkStatusCode(HttpTransportPipe.java:196)
at com.sun.xml.internal.ws.transport.http.client.HttpTransportPipe.process(HttpTransportPipe.java:168)
at com.sun.xml.internal.ws.transport.http.client.HttpTransportPipe.processRequest(HttpTransportPipe.jav


Could someone point out where it is going wrong?


Thanks,


Minhaj Mehmood
Ranch Hand

Joined: Jan 22, 2007
Posts: 400

can you paste the logs here?
you can find the log file inside AS_HOME/glassfish/domains/domain1/logs/server.log


SCJP6 96% | SCWCD5 81% | SCDJWS5 79%
Eoin Li
Ranch Hand

Joined: Jul 24, 2003
Posts: 45
Thanks for your response. However, I check log file which is nothing changed after I did a web service call.

Well, I changed a little code to catch exception message in catch block, which tells strict -- The server sent HTTP status code 503: Service Unavailable. Actually, it works if I am calling this web service from the same machine (service and client).


Thanks,
 
 
subject: ClientTransportException