webservice的错误

1.  Wrapper class webservice.jaxws.SayHi is not found. Have you run APT to generate them?

       原因:是jdk的版本过低

       解决办法: 在服务接口注解再添加如下注解

@SOAPBinding(style = SOAPBinding.Style.RPC)

2 . 严重: Request doesnt have a Content-Type
         解决方法 :问题出在在访问地址的时候少打了?wsdl     比如:http://localhost:81/hello?wsdl 

   java.net.BindException: Address already in use: bind

        原因:服务器已经运行了

4.

 

猜你喜欢

转载自janne.iteye.com/blog/2211815