服务的获得的操作部分是
public GMPubSrv getService() throws Exception{
URL url = new
URL("
http://freemosp.51ditu.com/mosp/services/GMPubSrv");
//
http://freemosp.51ditu.com/ GMPubSrvServiceLocator locator = new GMPubSrvServiceLocator();
return locator.getGMPubSrv(url);
}
url我看了几遍 没发现错误 但是
总是报一个连接超时的错误??
faultString: java.net.ConnectException: Connection timed out: connect
是因为还有其他可能出现错误的地方,还是有可能灵图的这个服务没有开放呢?
请高手赐教阿~~~急