NonStop SOAP User's Manual

Customizing the SOAP Server
NonStop SOAP User’s Manual520501-012
8-10
class ServiceEnv
Public
ServiceEnv() {}
virtual ~ServiceEnv() {};
virtual char *getInputXML()const=0;
virtual long setInputXML(char *newInput, long len)=0;
// Returns the service type of the current message being
processed
virtual SoapServiceType getServiceType() const=0;
// Returns the service name in the request message
virtual const char *getServiceName() const=0;
// The following are used for SERVICE_PATHWAY service.
// For other service types, the calls are ignored, i.e.,
// NULL pointer or 0 is returned, and input parameters are
ignored.
virtual const char *getOutputEncoding() const=0;
virtual long setOutputEncoding(char *newEncoding)=0;
virtual char *getServerEncoding() const=0;
virtual long setServerEncoding(char *newEncoding)=0;
virtual long setPathmonName(char *newPmon, long len)=0;
virtual long setServerClassName(char *newSC, long len)=0;
void skipParse(bool bSkip=true);
void skipService(bool bSkip=true);
void skipMarshal(bool bSkip=true);
bool getSkipParse(){return bSkipParse;}
bool getSkipService(){return bSkipService;}
bool getSkipMarshal(){return bSkipMarshal;}
AttachmentManager *getReqAttMgr()