[英]Performance impact of having “http://www.w3.org/2001/XMLSchema” namespace
Is there any performance impact caused by the fact that all WCF SOAP based web-services in my organization has the namespace xmlns:xs="http://www.w3.org/2001/XMLSchema" definition as follows: 我的组织中所有基于WCF SOAP的Web服务都具有名称空间xmlns:xs =“ http://www.w3.org/2001/XMLSchema”的定义,是否会对性能造成任何影响,如下所示:
<?xml version="1.0" encoding="utf-8"?>
<xs:schema attributeFormDefault="unqualified" elementFormDefault="qualified" xmlns:xs="http://www.w3.org/2001/XMLSchema">
<xs:element name="List">
<xs:complexType>
<xs:sequence>
<xs:element name="Request">
<xs:complexType>
<xs:sequence>
<xs:element name="Branch" type="xs:string" />
<xs:element name="CIF" type="xs:string" />
<xs:element name="QueryType" type="xs:string" />
</xs:sequence>
</xs:complexType>
</xs:element>
</xs:sequence>
</xs:complexType>
</xs:element>
</xs:schema>
I'm asking this question due to the fact that: 我问这个问题是由于以下事实:
RESTFul web-services around the organization do not have the same issue at all, although we are Deserilizing the JSON string into the Object Map quite similar to the XML-Deserialization carried out. 尽管我们正在将JSON字符串反序列化到对象映射中,这与进行的XML反序列化非常相似,但是组织中的RESTFul Web服务根本没有相同的问题。
Technology: C# .NET, IIS 7.5, WCF, RESTFul, 技术:C#.NET,IIS 7.5,WCF,RESTFul,
如果您担心包含名称空间声明xmlns:xs="http://www.w3.org/2001/XMLSchema"
会导致从W3C网站上获取数据,请不要担心:名称空间声明永远不会被删除-以这种方式引用。
声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.