29 #ifndef Pt_Soap_HttpService_h
30 #define Pt_Soap_HttpService_h
32 #include <Pt/Soap/Api.h>
33 #include <Pt/Remoting/ServiceDefinition.h>
34 #include <Pt/Http/Service.h>
41 class ServiceDeclaration;
42 class ServiceDefinition;
44 class PT_SOAP_API HttpService :
public Http::Service
49 HttpService(ServiceDefinition& serviceDef);
51 HttpService(
const ServiceDeclaration& decl, Remoting::ServiceDefinition& def);
55 virtual ~HttpService();
59 virtual Http::Responder* onGetResponder(
const Http::Request&);
62 virtual void onReleaseResponder(Http::Responder* resp);
65 const ServiceDeclaration* _serviceDecl;
66 Remoting::ServiceDefinition* _serviceDef;
75 #endif // Pt_Soap_SoapHttpService_h