@WebService
@SOAPBinding(style=Style.RPC)
public interface HelloWorld {
public String sayHello(String name);
}
jdk1.6版本在编写webservice时会报runtime modeler error: Wrapper class com.web.cxf.service.jaxws.SayHello is not found. Have you run APT to generate them?的错误
解决办法需要在添加@SOAPBinding(style=Style.RPC)
@SOAPBinding(style=Style.RPC)
public interface HelloWorld {
public String sayHello(String name);
}
jdk1.6版本在编写webservice时会报runtime modeler error: Wrapper class com.web.cxf.service.jaxws.SayHello is not found. Have you run APT to generate them?的错误
解决办法需要在添加@SOAPBinding(style=Style.RPC)