IiopWWBind Function

Action

Initializes Silk Performer’s Wonderwall module. This function must be called before any Wonderwall access from within a test script.

Note: You should use this function only for earlier versions than Wonderwall 3.0. For Wonderwall 3.0 and later versions, use the common CORBA functions.

Include file

Wonderwall.bdh

Syntax

IiopWWBind( in sHost : string,
            in nPort : number ): number;

Return value

Handle to the Wonderwall object.

Parameter Description
sHost Wonderwall host
nPort Wonderwall port

Example

dcltrans
  transaction TWWRequest
  const
    WW_HOST := "192.168.20.35"; // Wonderwall host
    WW_PORT := 16000;           // Wonderwall port
    HOST    := "192.168.20.21"; // server
    PORT    := 1052;            // port
  var
    hDaemon: number;
  begin
    IiopSetMaxGiopVersion("1.2");
    IiopSetByteOrder(IIOP_BIG_ENDIAN);
    IiopWWBind(WW_HOST, WW_PORT);

    // OrbixWeb bootstrapping with Wonderwall
    hDaemon := IiopWWDaemonBind(HOST, PORT);
    ...
  end TWWRequest;