- Drag an IDL file from the CORBA IDLs folder
in the Application
Development view to an empty canvas. (If
you have imported an IDL file that contains includes, drag the top-level
IDL file onto the canvas.)
A CORBARequest node is created.
The IDL file, Interface name, and Operation name properties are set
according to the IDL file.
- If the IDL file contains more than one interface or operation,
select an interface and operation from the dialog box.
- Configure the following properties on the CORBARequest node:
- Naming service: Specify
the host name and port of the naming service.
The format of this
value is host:port, where port is optional; for example, localhost:2809.
You can obtain this value from the administrator of the CORBA application
that you are calling.
- Object reference name:
Specify the name of the object reference in the naming service.
You
can obtain this value from the CORBA server that you are calling.
For more information about how to specify the object reference name,
see CORBA naming service.
- Add to the message flow other nodes that build the incoming
and outgoing messages.
You can use an XML message for
the CORBARequest node,
or you can build a message by using a Compute, JavaCompute, or PHPCompute node. If the incoming
message has a message model, you can use a Mapping node to build the message
that is sent to the CORBARequest node.
If
the message that the CORBARequest node
produces has a message model, you can use a Mapping node to build the outgoing
message.
- Build a message for the CORBARequest node by using
the examples in Building a message for the CORBARequest node.
- Save the message flow.
- Deploy the message flow. (If you have used
an IDL file that contains includes, ensure that all the IDL files
are deployed with the message flow.)
You can also drag an IDL file onto an existing CORBARequest node. The existing IDL file, Interface name, and Operation name properties are replaced
with values from the new IDL file, and the Naming service and Object reference name properties
are cleared. If the IDL file contains more than one interface or operation,
the Interface name property
is set to the first interface in the IDL file, and the Operation name property is set to
the first operation in that interface.