1

Message.wsdl 和相应的 datatypes.xsd 部署在服务器的 webresources 文件夹(显示 logo.png 等图像的位置)中,以便可以像http://localhost:8080/cc/resources/test/一样访问它Message.wsdl 然后创建一个 WSC 文件来使用这个 wsdl 的特定服务。当我尝试使用此服务时,会出现下面给出的异常。

gw.xml.ws.WebServiceException: SOAP response envelope from http://localhost:8080/cc/resources/test/Message.wsdl had no content type
4

1 回答 1

0

据我所知,这可能是由于两个原因,

  1. 您的 wsdl 文件不包含绑定或必要的信息不会存在于该绑定中
  2. 使用多个绑定时。

在此处分享您的课程代码和 wsdl 文件。将检查并更新你。

于 2017-02-28T06:25:42.280 回答