"任何工具生成Web服务代理对.NET 1.1" [英] "Any tool to generate Web Service Proxy for .Net 1.1"

查看:147
本文介绍了"任何工具生成Web服务代理对.NET 1.1"的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我已经链接到一个WSDL文件的外部XSD的(我的XSD的,以及部署到正确的相对路径,因为它是在WSDL引用)。当我试图生成与VS 2003(.NET 1.1 WSDL工具)代理代理没有得到产生。然而,它工作得很好的VS 2005年有什么可能是错误的。任何想法?

I've a WSDL file with links to external XSD's (I've the xsd's as well deployed to the correct relative path as it's reference in WSDL). When I'm trying to generate a proxy with VS 2003 (.Net 1.1 wsdl tool) The proxy didn't get generated. However it worked fine for VS 2005. What could be wrong. Any idea?

这使无法导入绑定,并没有产生一个代理类。

It gives Unable to Import Binding and didn't generates a proxy class.

PS:我的WSDL文件很长,而且有数十XSD它引用所以不能发布都在这里

PS: My wsdl file is very long and there are dozens of xsd it referenced so can't post all here.

有没有一个能产生对.NET 1.1(preferably CSHARP)。

Is there any other tool available which can generate the proxy for .Net 1.1 (preferably CSharp).

推荐答案

有在XSD一些属性名称空间这是导致代理不产生。我删除了空间,并修改了一些XSD的手工产生一些什么部分正确的代理服务器。我结束了手动更新生成的代理,以消除错误。

There were spaces in some attribute names in the XSD which were causing the proxy not to generate. I removed the spaces and modified some XSD's by hand to generate a some what partially correct proxy. I ended up updating the generated proxies by hand to remove the errors.

这篇关于"任何工具生成Web服务代理对.NET 1.1"的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆