IcreateBusinessObject()

Creates a business object from a specified business object definition.

Syntax

IBusinessObject IcreateBusinessObject(string busObjName);

Parameters

busObjName
The name of the business object definition to use when creating the business object.

Return Values

An IBusinessObject object to hold the new business object.

Exceptions

ICxAccessError
Thrown when the specified business object definition is not present in the IBM WebSphere Business Integration Server Express and Express Plus repository.

Notes

The Server Access creates a business object of type busObjName and sends it back to the access client.

Example

The following code fragment creates a business object:

// This method creates a business object
// Declare our object
IBusinessObject exampleObj = null;
exampleObj = aSession.IcreateBusinessObject("PayablesNetChange");

Copyright IBM Corp. 2004