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

来源:互联网 发布:linux svn服务端下载 编辑:程序博客网 时间:2024/06/05 15:52

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区域,对于我这样的小白其实不是很明白,如果有大神明白,希望大神们能指导一下

阅读全文
0 0
原创粉丝点击