Gets a proxy object (used to access the respective server object) that was returned by a preceding IiopWWRequest function call.
Wonderwall.bdh
IiopWWGetObject( in hIiop : number, out hObject : number );
Parameter | Description |
---|---|
hIiop | Handle to a CORBA object |
hObject | Variable receiving the proxy object to the server object |
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, hBank, hAccount: number; begin IiopSetMaxGiopVersion("1.2"); IiopSetByteOrder(IIOP_BIG_ENDIAN); IiopWWBind(WW_HOST, WW_PORT); // OrbixWeb bootstrapping with Wonderwall hDaemon := IiopWWDaemonBind(HOST, PORT); // get proxy object reference to bank object hBank := IiopWWServerBind(hDaemon, HOST, "bank", "", "bank"); // Create an account IiopSetString(hBank, "John Dow"); IiopWWRequest(hBank, "newAccount"); // extract new account object IiopWWGetObject(hBank, hAccount); end TWWRequest;