IBM BPM, V8.0.1, All platforms > Authoring services in Integration Designer > Defining and transforming data > Transforming data > Transforming data using a business object map > Mapping with XSD wildcards

The <anySimpleType> element

From a mapping perspective, <anySimpleType> elements can be mapped in the same way as simple types.

<?xml version="1.0" encoding="UTF-8"?>
<xsd:schema xmlns:xsd="http://www.w3.org/2001/XMLSchema" targetNamespace="http://AnySimpleType">
  <xsd:complexType name="AnySimpleType">
    <xsd:sequence>
      <xsd:element name="foo" type="xsd:anySimpleType"/>
	</xsd:sequence>
  </xsd:complexType>
</xsd:schema>
	DataObject anySimpleType = ...
	// Set the data to a String
	stringType.set("foo", "bar");
	// The instance data will always be of the type of date used in the set 	// Displays "java.lang.String"

Mapping with XSD wildcards