这减少了编写和维护模式的工作量,还确保了不会有某个复杂类型被偶然遗漏而不能扩展。
This reduces the effort to write and maintain the schema, as well as ensures that no complex type is accidentally left inextensible.
嵌入其他元素的元素必须是复杂类型。
Elements that embed other elements must have a complex type.
使用复杂类型的wsdl。
用于复杂类型的映射规则。
然后你可以选择需要生成绑定类的复杂类型。
It then allows you to select the complex types you want to generate binding classes for.
定义抽象复杂类型和抽象元素的时机与方法。
When and how to define abstract complex types and abstract elements.
在撰写本文时,您可以对简单和复杂类型指定断言。
At the time of writing this article, you can specify assertions on simple and complex types.
下面的清单1向您展示了复杂类型映射是如何进行的。
Listing 1 below you shows how the complex type mapping works.
表示复杂类型insured - vehicle。
关联是特殊的复杂类型,包含对它们关联的类型的引用。
Associations are special kinds of complex types that contain references to the types they associate.
包括在XML模式中使用简单类型来构建复杂类型的能力。
This includes the ability to use simple types in XML schema to build complex types.
在使用简单内容定义复杂类型时,可以指定两种类型的断言。
When defining a complex type with simple content, you can specify two types of assertions.
它包含远端存根和与服务器端组件进行交互所需的复杂类型。
It contains the remote stubs and complex types that are needed to interact with your server-side components.
UTC能够处理大多数复杂类型且是复杂测试的最好选择。
The UTC is able to handle most complex types and makes it the best choice for more complicated tests.
表示复杂类型liability - coverage。
LiabilityCoverage represents the complex type liability-coverage.
清单6是一个复杂类型的例子,其中的断言约束两个属性的值。
Listing 6 shows an example of a complex type with an assertion that constrains the values of two attributes.
它允许对复杂类型嵌套映射,以防止顶级映射包含太多的细节。
It allows you to nest mappings for complex types so that the top level mapping does not become cluttered with too much detail.
上面这个复杂类型定义的问题可以用清单2中的实例文档来演示。
The issue with the above complex type definition can be illustrated with the instance document in Listing 2.
该属性组定义将被自动包含在模式文档中定义的每个复杂类型中。
This attribute group definition will automatically be included in each complex type defined in the schema document.
此外,与移动参数映射不同,您无法使用移动转换来映射复杂类型。
Furthermore, unlike a move parameter mapping, you cannot map complex types using a move transform.
如清单4所示,为单个自定义复杂类型数组生成的XML描述很长。
As shown in Listing 4, long XML descriptions are generated for a simple array of a self-defined complex type.
表示复杂类型third - party - coverage。
ThirdPartyCoverage represents the complex type third-party-coverage.
因此,按照前面提到的最佳实践方式,可将业务对象定义为顶级复杂类型。
Thus, from the best practices mentioned earlier, you can have a business object defined as a top level complex type.
表示复杂类型policyholder - information。
PolicyholderInformation represents the complex type policyholder-information.
您需要学习日益增多的SQL 的复杂类型,包括连接、子选择和联合等。
You will need to learn about increasingly complex types of SQL, including joins, subselects, unions, and more.
这个序列包含对复杂类型定义的所有断言,以及复杂类型的祖先的所有断言。
This sequence is comprised of all the assertions defined on the complex type as well as all assertions of the complex type's ancestors.
还需要注意的是,响应消息的根元素就是按照包括的复杂类型命名的全局元素。
Again, notice how the root element of the response message is the global element that is named after the contained complex type.
在XML模式文件(而非wsdl定义)中定义复杂类型,以创建类型库概念。
Define complex types in XML Schema files, not WSDL definitions, to create a type library concept.
遵循前面所述的最佳实践:仅在需要时创建元素,并将复杂类型与元素分离开。
This follows the best practices stated earlier: only create elements when you need them and keep complex types separated from elements.
在清单8的例子中,我们定义了一个匿名类型,没有明确地命名这个复杂类型。
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.
应用推荐