IBusinessObject IcreateBusinessObjectFrom(string serializedData, string mimeType);
An IBusinessObject object to hold the business object that the data handler creates from the serializedData data.
The IcreateBusinessObjectFrom() method sends the serializedData data in its specified mimeType MIME type to InterChange Server Express. The Server Access Interface within InterChange Server Express invokes the necessary data handler to convert the specified MIME type into an IBM WebSphere Business Integration Server Express business object, which is compatible with the IBM WebSphere Business Integration Server Express environment. The serializedData data must specify the name of the business object definition to use when creating the business object. The data handler parses and converts the data into a business object, returning it to the Server Access Interface within InterChange Server Express, which in turn returns it to the access client. The external format of the serialized data must be of a type that a data handler (IBM WebSphere Business Integration Server Express-delivered or a custom data handler you have written) supports. For more information, see the Data Handler Guide.
// Declare the object String custData = "exampleXmlData"; String mimeType = "text/Xml"; IBusinessObject exampleObj = null; // This method creates the business object from data in XML format exampleObj = accessSession.IcreateBusinessObjectFrom(custData, mimeType);