部署web service,找到wsdl,却找不到schema文件

软件名称:Websphere application server

软件版本:7.0

环境平台:Windows Vesta

问题描述:

一个Web Service程序,在本机测试运行良好。本机环境为Windows7(64bit),开发环境为RAD7.5。

Export为war文件,在服务器上发布Web Service 之后, 可以找到wsdl文件,但是找不到schema1.xsd。 错误如下:

javax.xml.ws.WebServiceException: javax.wsdl.WSDLException: WSDLException (at /definitions/types/xsd:schema): faultCode=OTHER_ERROR: An error occurred trying to resolve schema referenced at 'UserAuthenticateService_schema1.xsd', relative to 'http://isi-syd-fs1:9080/UserAuthenticateService/UserAuthenticateService.wsdl'.: java.io.FileNotFoundException: This file was not found: http://isi-syd-fs1:9080/UserAuthenticateService/UserAuthenticateService_schema1.xsd
参与7

6同行回答

xingyuezyxingyuezy开发工程师京宽连十方数字技术有限公司
你的异常中已经报了,你的wsdl文件中引入了UserAuthenticateService_schema1.xsd这个文件显示全部
你的异常中已经报了,你的wsdl文件中引入了UserAuthenticateService_schema1.xsd这个文件收起
电信设备制造商 · 2010-09-13
浏览538
xingyuezyxingyuezy开发工程师京宽连十方数字技术有限公司
应该是你的wsdl文件中引入了一个xsd文件,一般在wsdl文件第一个标签中会有个wsdl:import属性,如果找不到引入的文件,应该会报错显示全部
应该是你的wsdl文件中引入了一个xsd文件,一般在wsdl文件第一个标签中会有个wsdl:import属性,如果找不到引入的文件,应该会报错收起
电信设备制造商 · 2010-09-13
浏览543

提问者

alee
DeveloperISI

相关问题

相关资料

相关文章

问题状态

  • 发布时间:2010-07-02
  • 关注会员:1 人
  • 问题浏览:7233
  • 最近回答:2010-09-14
  • X社区推广