00001
00002
00003
00004
00005
00006
00007
00008 #ifndef soapDelegationSoapBindingProxy_H
00009 #define soapDelegationSoapBindingProxy_H
00010 #include "soapH.h"
00011 class DelegationSoapBinding
00012 { public:
00014 struct soap *soap;
00016 const char *endpoint;
00018 DelegationSoapBinding()
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 {"jsdlposix", "http://schemas.ggf.org/jsdl/2005/11/jsdl-posix", NULL, NULL},
00026 {"jsdl", "http://schemas.ggf.org/jsdl/2005/11/jsdl", 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 ~DelegationSoapBinding() { if (soap) { soap_destroy(soap); soap_end(soap); soap_free(soap); } };
00036 virtual int delegationns__getVersion(struct delegationns__getVersionResponse &_param_3) { return soap ? soap_call_delegationns__getVersion(soap, endpoint, NULL, _param_3) : SOAP_EOM; };
00038 virtual int delegationns__getInterfaceVersion(struct delegationns__getInterfaceVersionResponse &_param_4) { return soap ? soap_call_delegationns__getInterfaceVersion(soap, endpoint, NULL, _param_4) : SOAP_EOM; };
00040 virtual int delegationns__getServiceMetadata(std::string _key, struct delegationns__getServiceMetadataResponse &_param_5) { return soap ? soap_call_delegationns__getServiceMetadata(soap, endpoint, NULL, _key, _param_5) : SOAP_EOM; };
00042 virtual int delegationns__getProxyReq(std::string _delegationID, struct delegationns__getProxyReqResponse &_param_6) { return soap ? soap_call_delegationns__getProxyReq(soap, endpoint, NULL, _delegationID, _param_6) : SOAP_EOM; };
00044 virtual int delegationns__getNewProxyReq(struct delegationns__getNewProxyReqResponse &_param_7) { return soap ? soap_call_delegationns__getNewProxyReq(soap, endpoint, NULL, _param_7) : SOAP_EOM; };
00046 virtual int delegationns__renewProxyReq(std::string _delegationID, struct delegationns__renewProxyReqResponse &_param_8) { return soap ? soap_call_delegationns__renewProxyReq(soap, endpoint, NULL, _delegationID, _param_8) : SOAP_EOM; };
00048 virtual int delegationns__putProxy(std::string _delegationID, std::string _proxy, struct delegationns__putProxyResponse &_param_9) { return soap ? soap_call_delegationns__putProxy(soap, endpoint, NULL, _delegationID, _proxy, _param_9) : SOAP_EOM; };
00050 virtual int delegationns__getTerminationTime(std::string _delegationID, struct delegationns__getTerminationTimeResponse &_param_10) { return soap ? soap_call_delegationns__getTerminationTime(soap, endpoint, NULL, _delegationID, _param_10) : SOAP_EOM; };
00052 virtual int delegationns__destroy(std::string _delegationID, struct delegationns__destroyResponse &_param_11) { return soap ? soap_call_delegationns__destroy(soap, endpoint, NULL, _delegationID, _param_11) : SOAP_EOM; };
00053 };
00054 #endif