00001
00002
00003
00004
00005
00006
00007
00008
00009
00010
00011
00012
00013
00014
00015
00016
00017 #if !defined(__WSDDDOCUMENT_H_INCLUDED__)
00018 #define __WSDDDOCUMENT_H_INCLUDED__
00019
00020 #include "WSDDDeployment.h"
00021 #include <axis/server/WSDDService.h>
00022 #include "../xml/QName.h"
00023
00024 enum WSDDLevels {WSDD_UNKNOWN=1, WSDD_DEPLOYMENT, WSDD_UNDEPLOYMENT,
00025 WSDD_GLOBCONF, WSDD_SERVICE, WSDD_HANDLER, WSDD_CHAIN,
00026 WSDD_TRANSPORT, WSDD_REQFLOW, WSDD_RESFLOW, WSDD_PARAM };
00027
00028
00029 #define METHODNAME_SEPARATOR ' '
00030 #define ROLENAME_SEPARATOR ','
00031 #define TRANSCODE_BUFFER_SIZE 1024
00032
00033
00034
00035
00036
00037 class WSDDDocument
00038 {
00039 protected:
00040 bool m_bFatalError;
00041 bool m_bError;
00042 int m_nLibId;
00043 map<AxisString, int>* m_pLibNameIdMap;
00044 WSDDDeployment* m_pDeployment;
00045 WSDDLevels m_lev0;
00046 WSDDLevels m_lev1;
00047 WSDDLevels m_lev2;
00048 map<AxisXMLString, AxisXMLString> m_NsStack;
00049 WSDDService* m_pService;
00050
00051 WSDDHandler* m_pHandler;
00052
00053 AXIS_PROTOCOL_TYPE m_CurTrType;
00054
00055 AxisChar m_Buffer[TRANSCODE_BUFFER_SIZE];
00056
00057 public:
00058 virtual ~WSDDDocument(){};
00059 virtual int GetDeployment(const AxisChar* sWSDD,
00060 WSDDDeployment* pDeployment)=0;
00061 virtual int UpdateDeployment(const AxisChar* sWSDD,
00062 WSDDDeployment* pDeployment)=0;
00063 };
00064
00065 #endif
00066