Integration Platform Technologies: Siebel eBusiness Application Integration Volume II > Web Services >

XML Schema Support for <xsd:any> Tag


In the current framework, WSDL Import Wizard makes use of XML Schema Import Wizard to create integration objects to represent hierarchical data. Integration objects are meant to be strongly typed in the Siebel application. You are now able to import a schema that uses the <xsd:any> tag, which indicates a weakly typed data representation, and to create an integration object from it.

Mapping the <xsd:any> Tag in the WSDL Import Wizard

In the WSDL Import Wizard, two possible mappings exist for the <xsd:any> tag. The tag can be mapped as an integration component or as an XMLHierarchy on the business service method argument.

The <xsd:any> tag can contain an attribute called namespace. If the value for that attribute is known, then one or more integration components or even an integration object can be created. If not known, then the business service method argument for that particular <wsdl:part> tag will be changed to data type Hierarchy, consequently losing any type information.

Being known refers to the following situations:

For the case of being known, all the global elements belonging to the particular schema of that targetNamespace will be added in place of the tag. One or more integration components can potentially be created.

Another tag similar to <xsd:any> tag is <xsd:anyAttribute>. The mapping is similar to that of <xsd:any> tag. In this case, one or more integration component fields can be created.

The <xsd:anyAttribute> tag has an attribute called namespace. If the namespace value is known (the conditions for being known were noted in this section), then all the global attributes for that particular schema will be added in place of this tag. Therefore, one or more integration component fields can potentially be created.

In the case where the namespace value is not known, then the <wsdl:part> tag that is referring to the schema element and type will be created as data type Hierarchy.

Mapping the <xsd:any> Tag in the XML Schema Wizard

For the case of the XML Schema Wizard, there is only one possible mapping for the <xsd:any> tag, namely as an integration component.

The <xsd:any> tag can contain an attribute called namespace. If the value for that attribute is known, then one or more integration components or even an integration object can be created. If not, an error will be returned to the user saying that the integration object cannot be created for a weakly typed schema.

Being known refers to this situation for XML Schema Wizard where a schema of targetNamespace value, being the same as that of the namespace value, has been imported by way of the <xsd:import> tag.

For the case of being known, all the global elements belonging to the particular schema of that targetNamespace will be added in place of the tag. So, one or more integration components can potentially be created.

The mapping of the <xsd:anyAttribute> is similar to that of the <xsd:any> tag. In this case, one or more integration component fields can be created.

The <xsd:anyAttribute> tag has an attribute called namespace. If the namespace value is known (the condition for being known was noted in this section), then all the global attributes for that particular schema will be added in place of this tag. Therefore, one or more integration component fields can potentially be created.

In the case where the namespace value is not known, then an error is returned to the user stating that an integration object cannot be created for a weakly typed schema.


 Integration Platform Technologies: Siebel eBusiness Application Integration Volume II 
 Published: 18 July 2003