[ 求助] webservice 中cxf发布在weblogic的问题

wanghuanqiu 2012-04-18
之前也看到组内有这个问题,不知道该怎么解决

[ERROR] IOException during exec() of compiler "javac". Check your path environme
nt variable.
2012-4-18 17:00:29 org.apache.cxf.endpoint.dynamic.DynamicClientFactory createCl
ient
严重: Could not compile java files for http://localhost:7001/webroot/webservices
/HelloWorld?wsdl.
bjzeng 2012-11-14
原因是你在@WebService申明中没有应用targetName!!!
@WebService(endpointInterface = "sy.webservice.IBisWebService", targetNamespace = "http://webservice.sy/")
public class BisWebServiceImpl implements IBisWebService {
	public String sayHello(String name) {
		return name + ",您好!";
	}

}
wanghuanqiu 2012-11-15
bjzeng 写道
原因是你在@WebService申明中没有应用targetName!!!
@WebService(endpointInterface = "sy.webservice.IBisWebService", targetNamespace = "http://webservice.sy/")
public class BisWebServiceImpl implements IBisWebService {
	public String sayHello(String name) {
		return name + ",您好!";
	}

}

如果不声明也会有默认的呀
Global site tag (gtag.js) - Google Analytics