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