00001
00002
00003
00004
00005
00006
00007
00008 #ifndef soapDelegation1SoapBindingProxy_H
00009 #define soapDelegation1SoapBindingProxy_H
00010 #include "soapH.h"
00011 class Delegation1SoapBinding
00012 { public:
00014 struct soap *soap;
00016 const char *endpoint;
00018 Delegation1SoapBinding()
00019 { soap = soap_new(); endpoint = "https://localhost:8443/glite-security-delegation"; if (soap && !soap->namespaces) { static const struct Namespace namespaces[] =
00020 {
00021 {"SOAP-ENV", "http://schemas.xmlsoap.org/soap/envelope/", "http://www.w3.org/*/soap-envelope", NULL},
00022 {"SOAP-ENC", "http://schemas.xmlsoap.org/soap/encoding/", "http://www.w3.org/*/soap-encoding", NULL},
00023 {"xsi", "http://www.w3.org/2001/XMLSchema-instance", "http://www.w3.org/*/XMLSchema-instance", NULL},
00024 {"xsd", "http://www.w3.org/2001/XMLSchema", "http://www.w3.org/*/XMLSchema", NULL},
00025 {"jsdl", "http://schemas.ggf.org/jsdl/2005/11/jsdl", NULL, NULL},
00026 {"jsdlposix", "http://schemas.ggf.org/jsdl/2005/11/jsdl-posix", NULL, NULL},
00027 {"delegation1", "http://www.gridsite.org/namespaces/delegation-1", NULL, NULL},
00028 {"delegationns", "http://www.gridsite.org/namespaces/delegation-2", NULL, NULL},
00029 {"ns1", "http://glite.org/wms/wmproxy", NULL, NULL},
00030 {NULL, NULL, NULL, NULL}
00031 };
00032 soap->namespaces = namespaces; } };
00034 virtual ~Delegation1SoapBinding() { if (soap) { soap_destroy(soap); soap_end(soap); soap_free(soap); } };
00036 virtual int delegation1__getProxyReq(std::string _delegationID, struct delegation1__getProxyReqResponse &_param_1) { return soap ? soap_call_delegation1__getProxyReq(soap, endpoint, NULL, _delegationID, _param_1) : SOAP_EOM; };
00038 virtual int delegation1__putProxy(std::string _delegationID, std::string _proxy, struct delegation1__putProxyResponse &_param_2) { return soap ? soap_call_delegation1__putProxy(soap, endpoint, NULL, _delegationID, _proxy, _param_2) : SOAP_EOM; };
00039 };
00040 #endif