This reduces the effort to write and maintain the schema, as well as ensures that no complex type is accidentally left inextensible.
这减少了编写和维护模式的工作量,还确保了不会有某个复杂类型被偶然遗漏而不能扩展。
xsd defines the complex type EndpointReferenceType.
xsd定义了复杂类型 EndpointReferenceType 。
Elements that embed other elements must have a complex type.
嵌入其他元素的元素必须是复杂类型。
When defining a complex type with simple content, you can specify two types of assertions.
在使用简单内容定义复杂类型时,可以指定两种类型的断言。
These changes result in a more complete definition for the Item complex type, shown in Listing 4.
这些更改的结果是一个对于条目复合类型更为完整的定义,如列表4所示。
Since no standard mapping is defined for attributes, this complex type is represented as a SOAPElement.
因为没有为属性定义标准的映射,所以这种复杂类型就被表示为SOAPElement 。
While the cache and spelling requests return a String datatype, the search request returns a complex type.
高速缓存和拼写请求返回String 数据类型,搜索请求返回复杂类型。
To create a complex type, a «complexType» stereotype must be applied to a UML class (see the next figure).
为了创建一个复杂的类型,必须对UML类(见于接下来的图)应用一个 «complexType» 构造型。
The issue with the above complex type definition can be illustrated with the instance document in Listing 2.
上面这个复杂类型定义的问题可以用清单2中的实例文档来演示。
Listing 6 shows an example of a complex type with an assertion that constrains the values of two attributes.
清单6是一个复杂类型的例子,其中的断言约束两个属性的值。
As shown in Listing 4, long XML descriptions are generated for a simple array of a self-defined complex type.
如清单4所示,为单个自定义复杂类型数组生成的XML描述很长。
Note: to use the BOFactory to create a data object, you must define either a complex type or a global element.
请注意:要使用BOFactory创建数据对象,必须定义复杂类型或全局元素。
It tells the schema processor to put all constructs created (like the Address complex type) in that namespace.
它告诉模式处理程序将所有创建的构造(如address这样的复杂类型)都放在该名称空间中。
Most of the existing SOAP toolkits support complex type-mapping based on the SOAP encoding scheme and XML Schema.
现有的SOAP工具箱大多数都支持基于 SOAP编码模式和XML模式的复杂类型映射。
In Listing 16, the complex type definition contains a sequence of four child elements that are explicitly defined.
在清单16中,复杂类型定义包含一个由4个显式定义的子元素组成的序列。
This attribute group definition will automatically be included in each complex type defined in the schema document.
该属性组定义将被自动包含在模式文档中定义的每个复杂类型中。
Thus, from the best practices mentioned earlier, you can have a business object defined as a top level complex type.
因此,按照前面提到的最佳实践方式,可将业务对象定义为顶级复杂类型。
This is useful when the return value has a complex type because the type of the variable is automatically generated.
当返回值的类型很复杂时,这个重构将很有用,因为变量的类型是自动生成的。
When a complex type is derived by restriction from another one, both content models have to satisfy certain conditions.
如果一个复杂类型是由对另一个类型的限制产生的,那么两种内容模型都必须满足特定的条件。
Specifically, the example in Listing 14 shows the element declaration to contain a complex type that contains a sequence.
具体而言,清单14中的示例展示了包含一个复杂类型的元素声明,该复杂类型包含一个序列。
In the second example, the complex type, the header would be modelled in the business object editor, as shown in Figure 3.
在第二示例(复杂类型)中,此Header在业务对象编辑器中建模的情况如图3中所示。
The technique for dealing with this is to devise a form of serialization that represents the complex type in a simple string.
处理复杂类型的技巧是创建能够在一个简单字符串中表示复杂类型的序列。
Repeat the last three steps to add another element SupplierBQuote with the user-defined complex type SupplierBSchema:Product.
重复最后三个步骤,添加另一元素SupplierBQuote,并将其设置为用户定义的复杂类型SupplierBSchema:Product。
Again, notice how the root element of the response message is the global element that is named after the contained complex type.
还需要注意的是,响应消息的根元素就是按照包括的复杂类型命名的全局元素。
In the XML schema type definition section of the WSDL document, there is an abstract complex type defined for com.example.Message.
在WSDL文档的XMLschema类型定义部分,有一个为com . example . Message定义的抽象复杂类型。
In the example in Listing 8, we have defined what is called an anonymous type, where no explicit name is given to the complex type.
在清单8的例子中,我们定义了一个匿名类型,没有明确地命名这个复杂类型。
The final issue is that the purchase order itself is defined in the primer as a global element declaration, with a global complex type.
最后一个问题是,购买订单本身在入门中是作为一个全局元素声明的,属于全局复合类型。
This sequence is comprised of all the assertions defined on the complex type as well as all assertions of the complex type's ancestors.
这个序列包含对复杂类型定义的所有断言,以及复杂类型的祖先的所有断言。
To avoid this problem, you can define a complex type to wrap the value type and set the complex type to be null to indicate a null reference.
为了避免这个问题的出现,您可以定义复合类型来封装数值类型,并将这个复合类型置为空来表示空引用。
The CallingApplication business object corresponds to the XML schema in Listing 7, which defines a global element referencing a complex type.
CallingApplication业务对象与清单7中的XML模式对应;此模式定义了引用复杂类型的全局元素。
应用推荐