📄 publish_v2.cpp
字号:
/*publish_v2.cppUDDI V2 Publish Interface--------------------------------------------------------------------------------gSOAP XML Web services toolsCopyright (C) 2004-2005, Robert van Engelen, Genivia Inc. All Rights Reserved.This software is released under one of the following two licenses:GPL or Genivia's license for commercial use.--------------------------------------------------------------------------------GPL license.This program is free software; you can redistribute it and/or modify it underthe terms of the GNU General Public License as published by the Free SoftwareFoundation; either version 2 of the License, or (at your option) any laterversion.This program is distributed in the hope that it will be useful, but WITHOUT ANYWARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR APARTICULAR PURPOSE. See the GNU General Public License for more details.You should have received a copy of the GNU General Public License along withthis program; if not, write to the Free Software Foundation, Inc., 59 TemplePlace, Suite 330, Boston, MA 02111-1307 USAAuthor contact information:engelen@genivia.com / engelen@acm.org--------------------------------------------------------------------------------A commercial use license is available from Genivia, Inc., contact@genivia.com--------------------------------------------------------------------------------*/#include "pubH.h"#define SOAP_NMAC static#define uddiH_H#include "PublishSoap.nsmap"//////////////////////////////////////////////////////////////////////////////////// uddi2:add_publisherAssertions//////////////////////////////////////////////////////////////////////////////////uddi2__add_USCOREpublisherAssertions::uddi2__add_USCOREpublisherAssertions(struct soap *soap){ // Initialize this object and associate it with the gSOAP context soap_default(soap); this->generic = "2.0";}uddi2__add_USCOREpublisherAssertions::uddi2__add_USCOREpublisherAssertions(struct soap *soap, std::vector<uddi2__publisherAssertion*> publisherAssertions){ // Initialize this object and associate it with the gSOAP context soap_default(soap); this->publisherAssertion = publisherAssertions; this->generic = "2.0";}uddi2__dispositionReport *uddi2__add_USCOREpublisherAssertions::send(const char *endpoint, char *authInfo){ // Set authorization token this->authInfo = authInfo; // Allocate result uddi2__dispositionReport *result = soap_new_uddi2__dispositionReport(soap, -1); // Invoke the wrapper soap_set_namespaces(soap, namespaces); if (soap_call___pub2__add_USCOREpublisherAssertions(soap, endpoint, NULL, this, result)) return NULL; return result;} //////////////////////////////////////////////////////////////////////////////////// uddi2:delete_binding//////////////////////////////////////////////////////////////////////////////////uddi2__delete_USCOREbinding::uddi2__delete_USCOREbinding(struct soap *soap){ // Initialize this object and associate it with the gSOAP context soap_default(soap); this->generic = "2.0";}uddi2__delete_USCOREbinding::uddi2__delete_USCOREbinding(struct soap *soap, const char *bindingKey){ // Initialize this object and associate it with the gSOAP context soap_default(soap); this->bindingKey.push_back(soap_strdup(soap, bindingKey)); this->generic = "2.0";}uddi2__delete_USCOREbinding::uddi2__delete_USCOREbinding(struct soap *soap, std::vector<char*> bindingKeys){ // Initialize this object and associate it with the gSOAP context soap_default(soap); this->bindingKey = bindingKeys; this->generic = "2.0";}uddi2__dispositionReport *uddi2__delete_USCOREbinding::send(const char *endpoint, char *authInfo){ // Set authorization token this->authInfo = authInfo; // Allocate result uddi2__dispositionReport *result = soap_new_uddi2__dispositionReport(soap, -1); // Invoke the wrapper soap_set_namespaces(soap, namespaces); if (soap_call___pub2__delete_USCOREbinding(soap, endpoint, NULL, this, result)) return NULL; return result;}//////////////////////////////////////////////////////////////////////////////////// uddi2:delete_business//////////////////////////////////////////////////////////////////////////////////uddi2__delete_USCOREbusiness::uddi2__delete_USCOREbusiness(struct soap *soap){ // Initialize this object and associate it with the gSOAP context soap_default(soap); this->generic = "2.0";}uddi2__delete_USCOREbusiness::uddi2__delete_USCOREbusiness(struct soap *soap, const char *businessKey){ // Initialize this object and associate it with the gSOAP context soap_default(soap); this->businessKey.push_back(soap_strdup(soap, businessKey)); this->generic = "2.0";}uddi2__delete_USCOREbusiness::uddi2__delete_USCOREbusiness(struct soap *soap, std::vector<char*> businessKeys){ // Initialize this object and associate it with the gSOAP context soap_default(soap); this->businessKey = businessKeys; this->generic = "2.0";}uddi2__dispositionReport *uddi2__delete_USCOREbusiness::send(const char *endpoint, char *authInfo){ // Set authorization token this->authInfo = authInfo; // Allocate result uddi2__dispositionReport *result = soap_new_uddi2__dispositionReport(soap, -1); // Invoke the wrapper soap_set_namespaces(soap, namespaces); if (soap_call___pub2__delete_USCOREbusiness(soap, endpoint, NULL, this, result)) return NULL; return result;}//////////////////////////////////////////////////////////////////////////////////// uddi2:delete_service//////////////////////////////////////////////////////////////////////////////////uddi2__delete_USCOREservice::uddi2__delete_USCOREservice(struct soap *soap){ // Initialize this object and associate it with the gSOAP context soap_default(soap); this->generic = "2.0";}uddi2__delete_USCOREservice::uddi2__delete_USCOREservice(struct soap *soap, const char *serviceKey){ // Initialize this object and associate it with the gSOAP context soap_default(soap); this->serviceKey.push_back(soap_strdup(soap, serviceKey)); this->generic = "2.0";}uddi2__delete_USCOREservice::uddi2__delete_USCOREservice(struct soap *soap, std::vector<char*> serviceKeys){ // Initialize this object and associate it with the gSOAP context soap_default(soap); this->serviceKey = serviceKeys; this->generic = "2.0";}uddi2__dispositionReport *uddi2__delete_USCOREservice::send(const char *endpoint, char *authInfo){ // Set authorization token this->authInfo = authInfo; // Allocate result uddi2__dispositionReport *result = soap_new_uddi2__dispositionReport(soap, -1); // Invoke the wrapper soap_set_namespaces(soap, namespaces); if (soap_call___pub2__delete_USCOREservice(soap, endpoint, NULL, this, result)) return NULL; return result;}//////////////////////////////////////////////////////////////////////////////////// uddi2:delete_tModel//////////////////////////////////////////////////////////////////////////////////uddi2__delete_USCOREtModel::uddi2__delete_USCOREtModel(struct soap *soap){ // Initialize this object and associate it with the gSOAP context soap_default(soap); this->generic = "2.0";}uddi2__delete_USCOREtModel::uddi2__delete_USCOREtModel(struct soap *soap, const char *tModelKey){ // Initialize this object and associate it with the gSOAP context soap_default(soap); this->tModelKey.push_back(soap_strdup(soap, tModelKey)); this->generic = "2.0";}uddi2__delete_USCOREtModel::uddi2__delete_USCOREtModel(struct soap *soap, std::vector<char*> tModelKeys){ // Initialize this object and associate it with the gSOAP context soap_default(soap); this->tModelKey = tModelKeys; this->generic = "2.0";}uddi2__dispositionReport *uddi2__delete_USCOREtModel::send(const char *endpoint, char *authInfo){ // Set authorization token this->authInfo = authInfo; // Allocate result uddi2__dispositionReport *result = soap_new_uddi2__dispositionReport(soap, -1); // Invoke the wrapper soap_set_namespaces(soap, namespaces); if (soap_call___pub2__delete_USCOREtModel(soap, endpoint, NULL, this, result)) return NULL; return result;}//////////////////////////////////////////////////////////////////////////////////// uddi2:delete_publisherAssertions//////////////////////////////////////////////////////////////////////////////////uddi2__delete_USCOREpublisherAssertions::uddi2__delete_USCOREpublisherAssertions(struct soap *soap){ // Initialize this object and associate it with the gSOAP context soap_default(soap); this->generic = "2.0";}uddi2__delete_USCOREpublisherAssertions::uddi2__delete_USCOREpublisherAssertions(struct soap *soap, std::vector<uddi2__publisherAssertion*> publisherAssertions){ // Initialize this object and associate it with the gSOAP context soap_default(soap); this->publisherAssertion = publisherAssertions; this->generic = "2.0";}uddi2__dispositionReport *uddi2__delete_USCOREpublisherAssertions::send(const char *endpoint, char *authInfo){ // Set authorization token this->authInfo = authInfo; // Allocate result uddi2__dispositionReport *result = soap_new_uddi2__dispositionReport(soap, -1); // Invoke the wrapper soap_set_namespaces(soap, namespaces); if (soap_call___pub2__delete_USCOREpublisherAssertions(soap, endpoint, NULL, this, result)) return NULL; return result;}//////////////////////////////////////////////////////////////////////////////////// uddi2:discard_authToken//////////////////////////////////////////////////////////////////////////////////uddi2__discard_USCOREauthToken::uddi2__discard_USCOREauthToken(struct soap *soap){ // Initialize this object and associate it with the gSOAP context soap_default(soap); this->generic = "2.0";}uddi2__discard_USCOREauthToken::uddi2__discard_USCOREauthToken(struct soap *soap, const char *authInfo){ // Initialize this object and associate it with the gSOAP context soap_default(soap); this->authInfo = soap_strdup(soap, authInfo); this->generic = "2.0";}uddi2__dispositionReport *uddi2__discard_USCOREauthToken::send(const char *endpoint){ // Allocate result uddi2__dispositionReport *result = soap_new_uddi2__dispositionReport(soap, -1); // Invoke the wrapper soap_set_namespaces(soap, namespaces); if (soap_call___pub2__discard_USCOREauthToken(soap, endpoint, NULL, this, result)) return NULL; return result;}//////////////////////////////////////////////////////////////////////////////////// uddi2:get_assertionStatusReport//////////////////////////////////////////////////////////////////////////////////uddi2__get_USCOREassertionStatusReport::uddi2__get_USCOREassertionStatusReport(struct soap *soap){ // Initialize this object and associate it with the gSOAP context soap_default(soap); this->generic = "2.0";
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -