javax.wsdl.WSDLException: WSDLException: failureCode=PARSER_ERROR 这意味着什么?

6 xml wsdl

我有以下例外,我不明白这意味着什么。有人可以帮助我吗?

javax.xml.ws.WebServiceException: javax.wsdl.WSDLException: WSDLException: faultCode=PARSER_ERROR: Problem parsing 'http://ecmwebd.net.bradesco.com.br:80/gccn_integracaofilenetceimagem_ws/services/IntegracaoFileNetCEImagem'.: org.xml.sax.SAXParseException: the markup in the document following the root element must be properly formed.
Run Code Online (Sandbox Code Playgroud)

Nik*_*tov 2

有时,由于错误的 .wsdl 文件或 .wsdl 页面链接未直接保存到项目中,会发生此类错误。因此,请按照以下步骤操作 - 它可能看起来很有趣,但解决了我的问题......

  1. 在浏览器中打开Web服务描述
  2. 将该描述保存在 .xml 文档中
  3. 现在,只需将其扩展名类型更改为 .wsdl,即可将 .xml 文件更改为 .wsdl 文件
  4. 保存到本地
  5. 现在打开 SOAP-UI 并浏览存储的 .wsdl 文件
  6. 您已准备好让它成功打开 Web 服务请求。