Webservice初级问题: FAILED TO READ WSDL document

这个问题是说明,这个版本的没法下载

犯错的图样

处理方法一:

将网页上xml文档下载,保存在本地,然后错误提示的这几行删除,保存文档,然后从本地调用

(1)右键另存为

保存为文件名a.xml

(2)打开本地文本,找到错误行,删除,最后保存文件

(3)进入命令界面,进入a.xml所在的目录下

(4)开始下载,警告可以不用建议

(5)桌面生成一个cn字样的文件夹,就可以使用了。

处理方法二:

将错误行替换为 <s:any minOccurs="2" maxOccurs="2"/>

其他跟方法一一样,也可下载出这个文件。

时间: 2024-08-08 01:11:16

Webservice初级问题: FAILED TO READ WSDL document的相关文章

webservice初级

在学习webservice的时候,经常将ns和url花了好久时间才理解过来,这里备份下! 首先定义接口: @WebService public interface IService { @WebResult(name = "login") public User login(@WebParam(name = "username") String username, @WebParam(name = "password") String passw

Failed to read schema document &#39;http://code.alibabatech.com/schema/dubbo/dubbo.xsd&#39;问题解决方法

或者报错: org.springframework.beans.factory.xml.XmlBeanDefinitionStoreException: nested exception is org.xml.sax.SAXParseException: cvc-complex-type.2.4.c: The matching wildcard is strict, but no declaration can be found for element 'context:annotation-c

Spring如何加载XSD文件(org.xml.sax.SAXParseException: Failed to read schema document错误的解决方法)

本文原文连接: http://blog.csdn.net/bluishglc/article/details/7596118 ,转载请注明出处! 有时候你会发现过去一直启动正常的系统,某天启动时会报出形如下面的错误: [plain] view plaincopy org.xml.sax.SAXParseException: schema_reference.4: Failed to read schema document 'http://www.springframework.org/sche

Failed to read schema document

转自:http://eric-yan.iteye.com/blog/1908470 问题描述: web项目web.xml编译错误: schema_reference.4: Failed to read schema document 'http://java.sun.com/xml/ns/j2ee/web-app_2_5.xsd', because 1)  could not find the document; 2) the document could not be read; 3) the

(转)解决dubbox-demo-provider.xml报错的问题:提示Failed to read schema document

背景:在eclipse项目中,经常会遇到xml文件提示找不到.xsd文件的情况.很有必要弄清xsd文件的加载过程! 1 解决过程 dubbo-demo-provider导入eclipse后dubbox-demo-provider.xml报错详情: Multiple annotations found at this line: - cvc-complex-type.2.4.c: The matching wildcard is strict, but no declaration can be

Axis2发布webservice(3)--axis2生成wsdl文件,并利用wsdl文件来生成WebService的Java代码

一.利用axis2生成wsdl文件 1.file->New->Other->Axis2 Code Generator 2.选择第2个,点击next 3,先点击add folder->浏览选择WebService项目下的bin文件夹,然后在fully Qualified Class name中填入类路径(包括包名) 然后点击Test 测试是否正确. 点击Next 4.可以看到即将发布的WebService名称和命名空间 5.继续Next,选择wsdl文件保存目录 这样services

Failed to read schema document &#39;http://www.springframework.org/schema/mvc/spring-mvc.xsd&#39;

Multiple annotations found at this line: - cvc-complex-type.2.4.c: The matching wildcard is strict, but no declaration can be found for element 'mvc:default-servlet-handler'. - schema_reference.4: Failed to read schema document 'http://www.springfram

用Delphi7 调用.NET 2.0的WebService 所要注意的问题(Document格式和UTF8编码)

Delphi7 调用VS.NET 2005开发的基于.NET 2.0的WebService时发生了错误.查阅资料 http://www.community.borland.com/article/borcon/files/4132/paper/4132.html 发现原来Delphi7客户端虽然支持WebService的RPC|Encoded 和 Document|Literal编码,但 默认的是使用RPC.而.NET 2.0下的WebService却是默认采用Documnet|Literal编

【黑马Android】(14)webservice概念/调用/wsdl接口

webservice 的概念 webservice 就是一个应用程序,它提供一种通过web方式访问的api. 解决两个系统或者(应用程序)之间的远程调用..... 调用是跨语言,跨平台... webservice 最基本的组成部分就是客户端,服务端... MyServerSocket.java package cn.itcast.server; import java.io.IOException; import java.io.InputStream; import java.net.Serv