WSDL在IE和Firefox中显示 [英] WSDL displayed in IE and Firefox

查看:212
本文介绍了WSDL在IE和Firefox中显示的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

使用VS 2010和FW 4.0,我获得了测试WCF服务。 WebMethod从DB检索表,然后返回DataTable。我在IIS中发布了该服务。然后我在IE和Firefox中查看了它。在IE中,WSDL显示如下:

Using VS 2010 and FW 4.0, I cerated a testing WCF service. The WebMethod retrieves a table from a DB, and then returns a DataTable. I published the service in IIS. Then I viewed it in both IE and Firefox. In IE, the WSDL displays like that below:

<?xml version="1.0"?>
-<GetDataTableResponse xmlns="http://tempuri.org/">-<GetDataTableResult>-<xs:schema xmlns="" xmlns:msdata="urn:schemas-microsoft-com:xml-msdata" xmlns:xs="http://www.w3.org/2001/XMLSchema" id="NewDataSet">-<xs:element msdata:UseCurrentLocale="true" msdata:MainDataTable="FENCEGATE" msdata:IsDataSet="true" name="NewDataSet">+<xs:complexType>----</xs:element></xs:schema>-<diffgr:diffgram xmlns:msdata="urn:schemas-microsoft-com:xml-msdata" xmlns:diffgr="urn:schemas-microsoft-com:xml-diffgram-v1">-<NewDataSet xmlns="">-<FENCEGATE diffgr:id="FENCEGATE1" msdata:rowOrder="0"><ID>1</ID><ASSETNUM>T82830</ASSETNUM><PARENT>TJR2</PARENT><LOCATION>J</LOCATION><DESCRIPTION>EXIT GATE CM781+00</DESCRIPTION><WT_MAINT_OFFICE>TRST-STRC</WT_MAINT_OFFICE><WT_START_CM>781</WT_START_CM><WT_START_OFFSET>0</WT_START_OFFSET><WT_START_Y_OFFSET>16</WT_START_Y_OFFSET><WT_END_CM>781</WT_END_CM><WT_END_OFFSET>0</WT_END_OFFSET><WT_END_Y_OFFSET>16</WT_END_Y_OFFSET></FENCEGATE>



在Firefox中,它会发出警告:


In Firefox, it warns:

This XML file does not appear to have any style information associated with it. The document tree is shown below.



它显示xs:schema id = ...,xs: element name = ...,然后是数据集部分。它在IE中没有部分


and it displays xs:schema id=..., xs:element name=..., and then the dataset part. It does not have the part in IE

<?xml version="1.0"?>
-<GetDataTableResponse xmlns="http://tempuri.org/">-<GetDataTableResult>-<xs:schema xmlns="" xmlns:msdata="urn:schemas-microsoft-com:xml-msdata" xmlns:xs="http://www.w3.org/2001/XMLSchema" ...





我的Q:

1)Firefox警告意味着什么?

2)可能产生的影响是什么?

谢谢。



My Q's:
1) What does the Firefox warning mean?
2) What will be the possible impact?
Thanks.

推荐答案

来自 http://answers.yahoo.com/question/index?qid=20080115074837AANbhoH [ ^ ]

我得到了答案。
From http://answers.yahoo.com/question/index?qid=20080115074837AANbhoH[^]
I got the answer.


这篇关于WSDL在IE和Firefox中显示的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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