3#ifndef __SCWEBSERVICES_H__
4#define __SCWEBSERVICES_H__
9#include "../common/gsSoap.h"
10#include "../common/gsXML.h"
11#include "../ghttp/ghttpPost.h"
26 SCWsResult_NO_ERROR = 0,
27 SCWsResult_REPORT_INVALID,
28 SCWsResult_SINGLE_ATTACHMENT_EXPECTED
36 SCInterfacePtr mInterface;
37 SCCreateSessionCallback mCreateSessionCallback;
38 SCSetReportIntentionCallback mSetReportIntentionCallback;
39 SCSubmitReportCallback mSubmitReportDataCallback;
40 gsi_bool mSetReportIntentionPending;
41 gsi_bool mCreateSessionPending;
42 gsi_bool mSubmitReportPending;
43 void * mSetReportIntentionUserData;
44 void * mCreateSessionUserData;
45 void * mSubmitReportUserData;
46 gsi_u8* mSubmitReportData;
47 gsi_u32 mSubmitReportLength;
55 SCInterfacePtr theInterface);
65 const GSLoginPrivateData * thePrivateData,
66 SCCreateSessionCallback theCallback,
67 gsi_time theTimeoutMs,
70SCResult sciWsCreateMatchlessSession(
SCWebServices * theWebServices,
73 const GSLoginPrivateData * thePrivateData,
74 SCCreateSessionCallback theCallback,
75 gsi_time theTimeoutMs,
78void sciWsCreateSessionCallback(GHTTPResult theHttpResult,
79 GSXmlStreamWriter theRequestData,
80 GSXmlStreamReader theResponseData,
83SCResult sciWsSetReportIntention (
SCWebServices* theWebServices,
85 const char * theSessionId,
86 const char * theConnectionId,
87 gsi_bool isAuthoritative,
89 const GSLoginPrivateData * thePrivateData,
90 SCSetReportIntentionCallback theCallback,
91 gsi_time theTimeoutMs,
94void sciWsSetReportIntentionCallback(GHTTPResult theHttpResult,
95 GSXmlStreamWriter theRequestData,
96 GSXmlStreamReader theResponseData,
101 const char * theSessionId,
102 const char * theConnectionId,
104 gsi_bool isAuthoritative,
106 const GSLoginPrivateData * thePrivateData,
107 SCSubmitReportCallback theCallback,
108 gsi_time theTimeoutMs,
111void sciWsSubmitReportCallback(GHTTPResult theHttpResult,
112 GSXmlStreamWriter theRequestData,
113 GSXmlStreamReader theResponseData,
Definition AuthService.h:87
Definition sciReport.h:105
Definition sciWebServices.h:35