Supplying xsi:type Information in XML Sent to ActiveMatrix BPM
When using external clients to pass XML representing BOM information to ActiveMatrix BPM, you must provide an
xsi:type
when using extended types.
This is described in the specification:
http://www.w3org/TR/xmlschema-1/#xsi_type
An example of this is shown below:
This example shows that if you wish to pass an XML into an interface that is expecting a Person from a Customer, it must contain an
xsi:type
as illustrated below:
<tns1:PersonElement xmlns:tns1="http://example.org/math/types/" xsi:type="tns1:Customer"> <name>Fred</name> <email>fred@myemail.com</email> <phone>01234 567890</phone> <custNumber>44556677</custNumber> </tns1:PersonElement >
http://www.w3 BPM adds an
xsi:type
value to XML data passed to external systems in a verbose manner. This means that, wherever possible, the
xsi:type
is present. For clarity, this data is fully compliant with the use of
xsi:type
as described in the specifications.