从网络接收的XML存在问题。有关详细信息,请参阅内部异常 [英] There is a problem with the XML that was received from the network. See inner exception for more details.
问题描述
< pre lang =text>
i我试图调用第3个来自visual studio的派对Web服务我得到以下异常
从网络收到的XML存在问题。有关更多详细信息,请参阅内部异常。
当我通过SOAP UI尝试相同的时候。我收到如下回复..
? ? ? ?`?I %& amp ; /米{`JJT $ @ ?? IG#)* EVE F的@흼{{???? ?;!?N'\fdlJɞ??〜|???? ezMQ- HWQ / լX ^ |Ѻ=>有?8zT2 / U + GT; YۮݽLK> W ] r7ח 〜 k
?7 ٽ {? 5? . M - {kv [)Oاٴ,[SQG뼦>?!??M [Ӹ^ S4_DY] - ?m'/eӶ u _ ߏgy ? c ' ?y 7 ?
? e /3 )u ^ } y b 4 , ӏ҂@ ν{
< q ? i5 av z\ ( n & 7 > azZ ? 1i :# !B?H o y WY f)
$ b $bc I;StUWӼi>]中号Ja_-.?9~C?Z?}&e?*iq~.HUϮ 8B
Q + w} v S{ G ?? ?
一些垃圾价值...
i问那些家伙他们告诉这是压缩数据
i尝试使用SOAP UI我得到了响应,通过取消接收来自主机的压缩数据和
响应详细信息如下...
标题详情
X-AspNet-Version 2.0.50727
日期星期五,2014年3月14日13:55:54 GMT
#status#HTTP / 1.1 200 OK
内容长度2705
内容编码gzip
内容类型text / xml; charset = utf-8
X-Powered-By ASP.NET
服务器Microsoft-IIS / 6.0
Cache-Control private,max-年龄= 0
内部异常是:
根级别的数据无效。第1行,第1位。如何读取压缩数据..
有没有办法让UN压缩数据并读取c#
@? ?iG#) * eVe] f?@ 흼 { { ?;!?N'\fdlJɞ??〜|???? ezMQ- HWQ / լX ^ |Ѻ=>有?8zT2 / U + GT; YۮݽLK> W ] r7ח 〜 k
?7 ٽ {? 5? . M - {kv [)Oاٴ,[SQG뼦>?!??M [Ӹ^ S4_DY] - ?m'/eӶ u _ ߏgy ? c ' ?y 7 ?
? e /3 )u ^ } y b 4 , ӏ҂@ ν{
< q ? i5 av z\ (N安培; 7个AZZ 1I:?!?#乙HoyWYf )
$ b $bc i; S tUWӼi ?> ] M J a_- . ?9 ~ C ? Z ?} amp&e ? * iq~ . H U Ϯ 8B
Q + w} v S{ G ?? ?
一些垃圾价值......
i问那些家伙他们告诉这是压缩数据
i尝试使用SOAP UI我得到了响应,通过取消选中接受压缩数据来自主持人和
的回复详情如下......
标题详情
X-AspNet-Version 2.0.50727
日期星期五,2014年3月14日13:55:54 GMT
#status#HTTP / 1.1 200 OK
Content-Length 2705
内容编码gzip
内容类型文本/ xml; charset = utf-8
X-Powered-By ASP.NET
服务器Microsoft-IIS / 6.0
Cache-Control private,max-年龄= 0
内部异常是:
根级别的数据无效。第1行,第1位。如何读取压缩数据..
有没有办法让UN压缩数据并读取c#
我得到了解决方案。
这里我收到了FAULT EXCEPTION CLASS作为回复..
<pre lang="text">
i am trying to invoke the 3rd party web service from visual studio i am getting the below exception
"There is a problem with the XML that was received from the network. See inner exception for more details."
when i tried the same one through SOAP UI. i got the response as below..
��������`I�%&/m�{J�J��t��`$ؐ@������iG#)�*��eVe]f@�흼��{���{���;�N'���?\fdl��J�ɞ!���?~|?"��ez��MQ-?�hw��Q�/�լX^|�Ѻ=�>���8z�T�����2/�U��+��>��yۮݽ�L��"k��>W��]�r7ח�~���k
�������7���ٽ�{��5�.�M�-��{kv�[)�O�ٵ��,[����s��Q�G��뼦!?��>�M[Ӹ�^S����4_�D��Y]-��m'/eӶ���u�_�ߏgy���c��'��y�7�
�e�/۳�)u�^�}�y���b�4�,���ӏ҂@���ν{
<����q��i5�av�z\�(�n�&��7��>�azZ������1i�:#�!BH�o�y��WY�f)
c��i;�S��tUWӼi�>��]�M���J��a_-�.���9�~��C�Z��}��&e���*�iq~�.��H��U��Ϯ�8B
Q+w}�v�S{���G�?������
some garbage value...
i asked those guys They are telling that this is the compressed data
i tried using SOAP UI i got the response ,by unchecking accept compressed data from host and
the response details as follows...
header details
X-AspNet-Version 2.0.50727
Date Fri, 14 Mar 2014 13:55:54 GMT
#status# HTTP/1.1 200 OK
Content-Length 2705
Content-Encoding gzip
Content-Type text/xml; charset=utf-8
X-Powered-By ASP.NET
Server Microsoft-IIS/6.0
Cache-Control private, max-age=0
inner exception is:
The data at the root level is invalid. Line 1, position 1. how to read that compressed data..
is there any way to UN compress the data and read from c#
ؐ@������iG#)�*��eVe]f@�흼��{���{���;�N'���?\fdl��J�ɞ!���?~|?"��ez��MQ-?�hw��Q�/�լX^|�Ѻ=�>���8z�T�����2/�U��+��>��yۮݽ�L��"k��>W��]�r7ח�~���k
�������7���ٽ�{��5�.�M�-��{kv�[)�O�ٵ��,[����s��Q�G��뼦!?��>�M[Ӹ�^S����4_�D��Y]-��m'/eӶ���u�_�ߏgy���c��'��y�7�
�e�/۳�)u�^�}�y���b�4�,���ӏ҂@���ν{
<����q��i5�av�z\�(�n�&��7��>�azZ������1i�:#�!BH�o�y��WY�f)
c��i;�S��tUWӼi�>��]�M���J��a_-�.���9�~��C�Z��}��&e���*�iq~�.��H��U��Ϯ�8B
Q+w}�v�S{���G�?������
some garbage value...
i asked those guys They are telling that this is the compressed data
i tried using SOAP UI i got the response ,by unchecking accept compressed data from host and
the response details as follows...
header details
X-AspNet-Version 2.0.50727
Date Fri, 14 Mar 2014 13:55:54 GMT
#status# HTTP/1.1 200 OK
Content-Length 2705
Content-Encoding gzip
Content-Type text/xml; charset=utf-8
X-Powered-By ASP.NET
Server Microsoft-IIS/6.0
Cache-Control private, max-age=0
inner exception is:
The data at the root level is invalid. Line 1, position 1. how to read that compressed data..
is there any way to UN compress the data and read from c#
i got the solution.
Here i am getting FAULT EXCEPTION CLASS as response..
这篇关于从网络接收的XML存在问题。有关详细信息,请参阅内部异常的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!