我基于JWS写了一个简单的Webservice服务如下
加上 @SOAPBinding(style = Style.RPC)不会有错
如果不加,就会提示
Exception in thread "main" com.sun.xml.internal.ws.model.RuntimeModelerException: runtime modeler error: Wrapper class org.soap.service.jaxws.Add is not found. Have you run APT to generate them?
将jdk升级到jdk 1.6u17以上版本不加@SOAPBinding(style = Style.RPC)也不会有错了
加上 @SOAPBinding(style = Style.RPC)不会有错
如果不加,就会提示
Exception in thread "main" com.sun.xml.internal.ws.model.RuntimeModelerException: runtime modeler error: Wrapper class org.soap.service.jaxws.Add is not found. Have you run APT to generate them?
将jdk升级到jdk 1.6u17以上版本不加@SOAPBinding(style = Style.RPC)也不会有错了