string IexecuteCollaborationExtFmt(string collabName, string portName, string serializedData, string mimeType, string verb);
A string that contains the serialized version of the business object that the collaboration returns. This string is in the mimeType external format.
The IexecuteCollaborationExtFmt() method performs the same basic task as IexecuteCollaboration(): it requests execution of the collabName collaboration. The main difference is that this method allows you to perform the following tasks with a single call:
The collaboration and port must be configured and mapped for call-triggered flow and manipulation.
The mimeType parameter specifies the external format of the serialized data for the business object. The Server Access Interface uses this MIME type to determine which data handler it calls to parse and convert the data into an IBM WebSphere Business Integration Server Express business object. The external format 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 on data handling, see the Data Handler Guide.
String portName = "From"; // Execute the collaboration IBusinessObject resultantBO = null; resultantBO = accessSession.IexecuteCollaborationExtFmt( "getCustAcctPayable", portName, serializedXMLData, "text/xml", "Create");