.net 调用java web service问题

一枚小菜 一枚小菜 墨衍会员 · AI 创作全网分发 墨衍智能分发 通过墨衍一键同步至各平台 可同步平台 CSDN微信公众号微博知乎掘金百家号博客园抖音小红书 你的文章也可以这样分发 墨衍会员 ¥399起/年,写一次发全网 我也要 + 加入社区
java写的web服务被封装成了wsdl文件,用vs2010自带命令行工具解析时,不能正常解析,如图

有没有知道这是怎么回事?
另外也使用了web地址,在vs2010中进行web引用,产生了如下文件


没有产生代理类,这是什么问题呢?

没有就没有吧,在后台中使用哪个web引用的命名空间,智能提示能够看到相关代理类的接口。
只是调用的时候,
调用代码:
IAsyncResult ar= client.Beginprocess(a, null, null);
MDM.processResponse rp = client.Endprocess(ar);
出了问题,如下:
Server Error in '/Web' Application.
--------------------------------------------------------------------------------

The string '' is not a valid Boolean value.
Description: An unhandled exception occurred during the execution of the current web request. Please review the stack trace for more information about the error and where it originated in the code.

Exception Details: System.FormatException: The string '' is not a valid Boolean value.

Source Error:


Line 59: /// <remarks/>
Line 60: public processResponse Endprocess(System.IAsyncResult asyncResult) {
Line 61: object[] results = this.EndInvoke(asyncResult);
Line 62: return ((processResponse)(results[0]));
Line 63: }


Source File: c:\WINDOWS\Microsoft.NET\Framework\v2.0.50727\Temporary ASP.NET Files\web\00a28ea6\dec52ce2\App_WebReferences.pewapjrg.0.cs Line: 61

谁能告诉这是什么问题?版主快来急救啊!

...全文
评论 4
收藏 已收藏
分享
返回顶部
一枚小菜
.NET社区 62,275 成员 668,968 内容