问题捕获SoapException [英] Problem catching SoapException

查看:118
本文介绍了问题捕获SoapException的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我正在开发网络客户端. Evrey Thin可以正常工作,但是如果响应为null,则应该抛出Soapexception.
sopaexception包含错误代码和信息.消息:
" Weitere XML-Inhalte sind im Fehlerdetailelement vorhanden. Neur ein einzelnes Element istzulässig."
"错误详细信息包含其他XML内容.

你们中的任何一个人都知道问题出在哪里吗?

I'm developing e webclient. Evrey thin works fine but in case of the response is null a Soapexception should be thrown.
The sopaexception contains the arror code and the information.

Instead of that, a FormatException ist thrown wit the message:
"Weitere XML-Inhalte sind im Fehlerdetailelement vorhanden. Nur ein einzelnes Element ist zulässig."
"Error detail contains additional XML-Contents. Only a single Element is allowed.

Does any one of you know what the problem is?

推荐答案



您能否提供您要呼叫的服务的更多信息?.

谢谢,
Rodrigo.
Hi,

Could you please provide more info of the service you're trying to call?.

Thanks,
Rodrigo.


这篇关于问题捕获SoapException的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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