If the basket is started in integration mode it will request a configuration during its initilization by sending a wbkHost.getConfiguration
message to the host. The host then has to send back the configuration which has to include the ID of the EAIWS session. The basket will pause until it receives the wbk.configuration
message. This finishes the initialization and the baskets starts to operate on the given session. If the basket is finished with its operations a wbkHost.done
message will be send to the host. The host then can close the basket window and perform further operations on the session.
The basic initialization sequence looks like this:
sequenceDiagram
autonumber
participant H as Host
participant B as Basket
%%
Note over H,B: initialization
H ->> B : start basket in integration mode
activate B
B ->> H : request configuration <br/> message: wbkHost.getConfiguration
deactivate B
activate H
H ->> H : create EAIWS session and <br/> prepare basket configuration
H ->> B : send configuration <br/> message: wbk.configuration
deactivate H
activate B
%%
Note over H,B: editing in basket
loop further messages
B ->> H:
H ->> B:
end
%%
Note over H,B: finished editing
%%
B ->> H : message: wbkHost.done
deactivate B
activate H
H ->> H : close basket window <br/> and do further operations on the <br/> EAIWS session
deactivate H
After the basket requested the configuration it will wait only 30 seconds for the wbk.configuration
message. After 30 seconds a timeout error will be shown. If the creation and initialization of the EAIWS session in step 5
is a longer task in your case you should perform this step before starting the basket (step 1
).
Generated using TypeDoc