webservice本地部署是好的,生产环境下AXIS error: There is no SOAP service at this location

xiaoxiao2021-02-28  72

webservice本地部署是好的,生产环境下AXIS error: There is no SOAP service at this location

在已有的web项目中添加一个webservice,本地部署可以访问,但是部署到测试环境或者生产环境会报错。Could not generate WSDL! There is no SOAP service at this location。搞了好久也没搞明白。后来在server-config.wsdd文件中的<ns1:parameter name="attachments.Directory" value="E:\project\WEB-INF\attachments"/>改成<ns1:parameter name="attachments.Directory" value="\project\WEB-INF\attachments"/>就可以了。 网上很多写在.wsdd文件中加上handler和transport区域,对于我这样的小白其实不是很明白,如果有大神明白,希望大神们能指导一下

转载请注明原文地址: https://www.6miu.com/read-77644.html

最新回复(0)