00001
00006
00007
00008
00009
00010
00011
00012
00013
00014
00015
00016
00017
00018
00019
00020
00021
00022
00023
00025 module SOAPBridge {
00026
00031 interface ContextManager {
00032
00038 exception InvalidTimeout {
00040 unsigned short minimumTimeout;
00042 unsigned short maximumTimeout;
00044 unsigned short requestedTimeout;
00045 };
00046
00048 exception ContextKeyNotFound {
00050 string requestedContextKey;
00051 };
00052
00054 struct SOAPContext {
00056 string contextKey;
00058 unsigned short initialTimeout;
00060 unsigned short timeoutRemaining;
00062 unsigned short storedObjectReferenceCount;
00064 string userData;
00065 };
00066
00073 SOAPContext allocateContext (
00074 in unsigned short timeoutSeconds,
00075 in string userData)
00076 raises (
00077 InvalidTimeout );
00078
00086 SOAPContext queryContextInfo (
00087 in string contextKey)
00088 raises (
00089 ContextKeyNotFound );
00090
00096 void freeContext (
00097 in string contextKey)
00098 raises (
00099 ContextKeyNotFound );
00100
00107 void setContextUserData (
00108 in string contextKey,
00109 in string userData)
00110 raises (
00111 ContextKeyNotFound );
00112
00120 void setContextTimeout (
00121 in string contextKey,
00122 in unsigned short timeoutSeconds)
00123 raises (
00124 ContextKeyNotFound,
00125 InvalidTimeout );
00126 };
00127
00132 interface SOAPCall {
00141 exception InvocationFailed {
00143 string reason;
00144 };
00145
00154 typedef sequence<octet> XMLData;
00155
00166 XMLData invokeAction (
00167 in string action,
00168 in XMLData data)
00169 raises (
00170 InvocationFailed );
00171
00182 XMLData invokeInstance (
00183 in Object objRef,
00184 in string action,
00185 in XMLData data)
00186 raises (
00187 InvocationFailed );
00188
00192 typedef sequence<string> SOAPActionSeq;
00193
00198 SOAPActionSeq listActions ();
00199
00207 boolean fetchSample (
00208 in string action,
00209 out XMLData request,
00210 out XMLData respons);
00211
00212 };
00213 };
00214