Independent technical site, not affiliated with Oracle 中文English
Error · OEDS

Session not initialized (Kiosk30)

Kiosk30 has no header authentication; it relies on a session. Skip Initialize, or call from a new connection, and you get this error.

Message
Session not initialized
Seen in
Every Kiosk30 business operation
Root cause
Initialize not called first in the same session
Status
Resolved
Lab status
Lab-tested

Fix

from zeep import Client
from requests import Session
from zeep.transports import Transport

session = Session()                      # keeps cookies so the session survives
client = Client(f"{BASE}/OperaKioskInterface.asmx?WSDL",
                transport=Transport(session=session))

client.service.Initialize("[USER]", "[PASSWORD]", "[HOTEL]")   # first
client.service.GetResortName(Resort="[HOTEL]")                # then reuse the same client

Notes

  • Same client object: the session lives in an HTTP cookie; a new client is a new session.
  • Concurrency: with several kiosks or threads, each session calls Initialize itself; don’t share a client.
  • Timeouts: sessions may expire after long idle periods; catch this error, call Initialize again and retry.

Contact us

Tell us your system type and the hotel's OPERA version (5 on-premise or Cloud). We will reply with an interface plan and test schedule.

Scan to reach us on WeChat
Scan to reach us on WeChat