📄 publish_v2.h
字号:
// Detach and free context soap_done(soap); free(soap); return 0;}@endcodeTo compile:- wsdl2h -tuddi2-typemap.dat publish_v2.wsdl- soapcpp2 -I.. -ppub publish_v2.h- g++ -DWITH_OPENSSL -DWITH_NONAMESPACES -I.. -o example3 example3.cpp publish_v2.cpp pubC.cpp pubClient.cpp ../stdsoap2.cpp*//* publish_v2.h Generated by wsdl2h 1.2.0 from publish_v2.wsdl and uddi2-typemap.dat 2005-04-24 00:29:41 GMT Copyright (C) 2001-2005 Robert van Engelen, Genivia Inc. All Rights Reserved. This part of the software is released under one of the following licenses: GPL or Genivia's license for commercial use.*//* NOTE: - Compile this file with soapcpp2 to complete the code generation process. - Use wsdl2h option -l to view the software license terms. - Use wsdl2h options -c and -s to generate pure C code or C++ code without STL. - To build with STL, stlvector.h from the gSOAP distribution must be in the current directory. Or use soapcpp2 option -I<path> with path to stlvector.h. - Use typemap.dat to control schema namespace bindings and type mappings. It is strongly recommended to customize the names of the namespace prefixes generated by wsdl2h. To do so, modify the prefix bindings in the Namespaces section below and add the modified lines to typemap.dat to rerun wsdl2h. - Use Doxygen (www.doxygen.org) to browse this file.*//******************************************************************************\ * * * urn:uddi-org:publication_v2 * * *\******************************************************************************//* WSDL Documentation: Copyright (c) 2000 - 2002 by Accenture, Ariba, Inc., Commerce One, Inc. Fujitsu Limited, Hewlett-Packard Company, i2 Technologies, Inc., Intel Corporation, International Business Machines Corporation, Microsoft Corporation, Oracle Corporation, SAP AG, Sun Microsystems, Inc., and VeriSign, Inc. All Rights Reserved. WSDL Service Interface for UDDI Publication API V2.0 This WSDL document defines the publication API calls for interacting with the UDDI registry. The complete UDDI API specification is available at http://www.uddi.org/specification.html. *///gsoapopt w#import "stlvector.h"/******************************************************************************\ * * * Schema Namespaces * * *\******************************************************************************//* NOTE:It is strongly recommended to customize the names of the namespace prefixesgenerated by wsdl2h. To do so, modify the prefix bindings below and add themodified lines to typemap.dat to rerun wsdl2h:pub2 = "urn:uddi-org:publication_v2"uddi2 = urn:uddi-org:api_v2*///gsoap pub2 schema namespace: urn:uddi-org:publication_v2//gsoap uddi2 schema namespace: urn:uddi-org:api_v2//gsoap pub2 schema form: unqualified//gsoap uddi2 schema elementForm: qualified//gsoap uddi2 schema attributeForm: unqualified/******************************************************************************\ * * * Schema Types * * *\******************************************************************************//// Primitive built-in type "xs:NMTOKEN"typedef char* xsd__NMTOKEN;/// Built-in attribute "xml:lang"typedef char* xml__lang;class uddi2__accessPoint;class uddi2__address;class uddi2__addressLine;class uddi2__assertionStatusItem;class uddi2__bindingTemplate;class uddi2__bindingTemplates;class uddi2__businessEntity;class uddi2__businessEntityExt;class uddi2__businessInfo;class uddi2__businessInfos;class uddi2__businessService;class uddi2__businessServices;class uddi2__categoryBag;class uddi2__contact;class uddi2__contacts;class uddi2__description;class uddi2__discoveryURL;class uddi2__discoveryURLs;class uddi2__dispositionReport;class uddi2__email;class uddi2__errInfo;class uddi2__findQualifiers;class uddi2__hostingRedirector;class uddi2__identifierBag;class uddi2__instanceDetails;class uddi2__keyedReference;class uddi2__keysOwned;class uddi2__name;class uddi2__overviewDoc;class uddi2__phone;class uddi2__publisherAssertion;class uddi2__relatedBusinessInfo;class uddi2__relatedBusinessInfos;class uddi2__result;class uddi2__serviceInfo;class uddi2__serviceInfos;class uddi2__sharedRelationships;class uddi2__tModel;class uddi2__tModelBag;class uddi2__tModelInfo;class uddi2__tModelInfos;class uddi2__tModelInstanceDetails;class uddi2__tModelInstanceInfo;class uddi2__add_USCOREpublisherAssertions;class uddi2__delete_USCOREbinding;class uddi2__delete_USCOREbusiness;class uddi2__delete_USCOREpublisherAssertions;class uddi2__delete_USCOREservice;class uddi2__delete_USCOREtModel;class uddi2__discard_USCOREauthToken;class uddi2__find_USCOREbinding;class uddi2__find_USCOREbusiness;class uddi2__find_USCORErelatedBusinesses;class uddi2__find_USCOREservice;class uddi2__find_USCOREtModel;class uddi2__get_USCOREassertionStatusReport;class uddi2__get_USCOREauthToken;class uddi2__get_USCOREbindingDetail;class uddi2__get_USCOREbusinessDetail;class uddi2__get_USCOREbusinessDetailExt;class uddi2__get_USCOREpublisherAssertions;class uddi2__get_USCOREregisteredInfo;class uddi2__get_USCOREserviceDetail;class uddi2__get_USCOREtModelDetail;class uddi2__save_USCOREbinding;class uddi2__save_USCOREbusiness;class uddi2__save_USCOREservice;class uddi2__save_USCOREtModel;class uddi2__set_USCOREpublisherAssertions;class uddi2__validate_USCOREvalues;class uddi2__assertionStatusReport;class uddi2__authToken;class uddi2__bindingDetail;class uddi2__businessDetail;class uddi2__businessDetailExt;class uddi2__businessList;class uddi2__publisherAssertions;class uddi2__registeredInfo;class uddi2__relatedBusinessesList;class uddi2__serviceDetail;class uddi2__serviceList;class uddi2__tModelDetail;class uddi2__tModelList;/// Schema "urn:uddi-org:api_v2":bindingKey simpleType restriction of xs:stringtypedef char* uddi2__bindingKey;/// Schema "urn:uddi-org:api_v2":businessKey simpleType restriction of xs:stringtypedef char* uddi2__businessKey;/// Schema "urn:uddi-org:api_v2":serviceKey simpleType restriction of xs:stringtypedef char* uddi2__serviceKey;/// Schema "urn:uddi-org:api_v2":tModelKey simpleType restriction of xs:stringtypedef char* uddi2__tModelKey;/// Schema "urn:uddi-org:api_v2":direction simpleType restriction of xs:NMTOKEN/// Note: enum values are prefixed with 'uddi2__direction' to avoid name clashes, please use wsdl2h option -e to omit this prefixenum uddi2__direction{ uddi2__direction__fromKey, ///< xs:NMTOKEN value="fromKey" uddi2__direction__toKey, ///< xs:NMTOKEN value="toKey"};/// Schema "urn:uddi-org:api_v2":truncated simpleType restriction of xs:NMTOKEN/// Note: enum values are prefixed with 'uddi2__truncated' to avoid name clashes, please use wsdl2h option -e to omit this prefixenum uddi2__truncated{ uddi2__truncated__true_, ///< xs:NMTOKEN value="true" uddi2__truncated__false_, ///< xs:NMTOKEN value="false"};/// Schema "urn:uddi-org:api_v2":URLType simpleType restriction of xs:NMTOKEN/// Note: enum values are prefixed with 'uddi2__URLType' to avoid name clashes, please use wsdl2h option -e to omit this prefixenum uddi2__URLType{ uddi2__URLType__mailto, ///< xs:NMTOKEN value="mailto" uddi2__URLType__http, ///< xs:NMTOKEN value="http" uddi2__URLType__https, ///< xs:NMTOKEN value="https" uddi2__URLType__ftp, ///< xs:NMTOKEN value="ftp" uddi2__URLType__fax, ///< xs:NMTOKEN value="fax" uddi2__URLType__phone, ///< xs:NMTOKEN value="phone" uddi2__URLType__other, ///< xs:NMTOKEN value="other"};/// Schema "urn:uddi-org:api_v2":keyType simpleType restriction of xs:NMTOKEN/// Note: enum values are prefixed with 'uddi2__keyType' to avoid name clashes, please use wsdl2h option -e to omit this prefixenum uddi2__keyType{ uddi2__keyType__businessKey, ///< xs:NMTOKEN value="businessKey" uddi2__keyType__tModelKey, ///< xs:NMTOKEN value="tModelKey" uddi2__keyType__serviceKey, ///< xs:NMTOKEN value="serviceKey" uddi2__keyType__bindingKey, ///< xs:NMTOKEN value="bindingKey"};/// Schema urn:uddi-org:api_v2:"address"class uddi2__address{ public:/// Vector of uddi2__addressLine* with length 0..unbounded std::vector<uddi2__addressLine* > addressLine 0;/// Attribute useType of type xs:string @char* useType 0; ///< Optional attribute/// Attribute sortCode of type xs:string @char* sortCode 0; ///< Optional attribute/// Attribute tModelKey of type "urn:uddi-org:api_v2":tModelKey @uddi2__tModelKey tModelKey 0; ///< Optional attribute/// A handle to the soap struct context that manages this class instance struct soap *soap ;};/// Schema urn:uddi-org:api_v2:"assertionStatusItem"class uddi2__assertionStatusItem{ public:/// Element reference "urn:uddi-org:api_v2":fromKey uddi2__businessKey fromKey 1; ///< Required element/// Element reference "urn:uddi-org:api_v2":toKey uddi2__businessKey toKey 1; ///< Required element/// Element reference "urn:uddi-org:api_v2":keyedReference uddi2__keyedReference* keyedReference 1; ///< Required element/// Element reference "urn:uddi-org:api_v2":keysOwned uddi2__keysOwned* keysOwned 1; ///< Required element/// Attribute completionStatus of type xs:string @char* completionStatus 1; ///< Required attribute/// A handle to the soap struct context that manages this class instance struct soap *soap ;};/// Schema urn:uddi-org:api_v2:"bindingTemplate"class uddi2__bindingTemplate{ public:/// Vector of uddi2__description* with length 0..unbounded std::vector<uddi2__description* > description 0;/// Element reference "urn:uddi-org:api_v2":tModelInstanceDetails uddi2__tModelInstanceDetails* tModelInstanceDetails 1; ///< Required element// CHOICE OF ELEMENTS:/// Element reference "urn:uddi-org:api_v2":accessPoint uddi2__accessPoint* accessPoint 1; ///< Required element/// Element reference "urn:uddi-org:api_v2":hostingRedirector uddi2__hostingRedirector* hostingRedirector 1; ///< Required element// END CHOICE/// Attribute serviceKey of type "urn:uddi-org:api_v2":serviceKey @uddi2__serviceKey serviceKey 0; ///< Optional attribute/// Attribute bindingKey of type "urn:uddi-org:api_v2":bindingKey @uddi2__bindingKey bindingKey 1; ///< Required attribute/// A handle to the soap struct context that manages this class instance struct soap *soap ;};/// Schema urn:uddi-org:api_v2:"bindingTemplates"class uddi2__bindingTemplates{ public:/// Vector of uddi2__bindingTemplate* with length 0..unbounded std::vector<uddi2__bindingTemplate*> bindingTemplate 0;/// A handle to the soap struct context that manages this class instance struct soap *soap ;};/// Schema urn:uddi-org:api_v2:"businessEntity"class uddi2__businessEntity{ public:/// Element reference "urn:uddi-org:api_v2":discoveryURLs uddi2__discoveryURLs* discoveryURLs 0; ///< Optional element/// Vector of uddi2__name* with length 0..unbounded std::vector<uddi2__name* > name 1;/// Vector of uddi2__description* with length 0..unbounded std::vector<uddi2__description* > description 0;/// Element reference "urn:uddi-org:api_v2":contacts uddi2__contacts* contacts 0; ///< Optional element/// Element reference "urn:uddi-org:api_v2":businessServices uddi2__businessServices* businessServices 0; ///< Optional element/// Element reference "urn:uddi-org:api_v2":identifierBag uddi2__identifierBag* identifierBag 0; ///< Optional element/// Element reference "urn:uddi-org:api_v2":categoryBag uddi2__categoryBag* categoryBag 0; ///< Optional element/// Attribute businessKey of type "urn:uddi-org:api_v2":businessKey @uddi2__businessKey businessKey 1; ///< Required attribute/// Attribute operator of type xs:string @char* operator_ 0; ///< Optional attribute/// Attribute authorizedName of type xs:string @char* authorizedName 0; ///< Optional attribute/// A handle to the soap struct context that manages this class instance struct soap *soap ;};/// Schema urn:uddi-org:api_v2:"businessEntityExt"class uddi2__businessEntityExt{ public:/// Element reference "urn:uddi-org:api_v2":businessEntity uddi2__businessEntity* businessEntity 1; ///< Required element// TODO: <any namespace="##other" minOccurs="0" maxOccurs="unbounded">// Schema extensibility is user-definable// Consult the protocol documentation to insert declarations here: _XML __any ; ///< Catch any element content in XML string/// A handle to the soap struct context that manages this class instance struct soap *soap ;};/// Schema urn:uddi-org:api_v2:"businessInfo"class uddi2__businessInfo{ public:/// Vector of uddi2__name* with length 0..unbounded std::vector<uddi2__name* > name 1;/// Vector of uddi2__description* with length 0..unbounded std::vector<uddi2__description* > description 0;/// Element reference "urn:uddi-org:api_v2":serviceInfos uddi2__serviceInfos* serviceInfos 1; ///< Required element/// Attribute businessKey of type "urn:uddi-org:api_v2":businessKey @uddi2__businessKey businessKey 1; ///< Required attribute/// A handle to the soap struct context that manages this class instance struct soap *soap ;};/// Schema urn:uddi-org:api_v2:"businessInfos"class uddi2__businessInfos{ public:/// Vector of uddi2__businessInfo* with length 0..unbounded std::vector<uddi2__businessInfo* > businessInfo 0;/// A handle to the soap struct context that manages this class instance struct soap *soap ;};/// Schema urn:uddi-org:api_v2:"businessService"class uddi2__businessService{ public:/// Vector of uddi2__name* with length 0..unbounded std::vector<uddi2__name* > name 0;/// Vector of uddi2__description* with length 0..unbounded std::vector<uddi2__description* > description 0;/// Element reference "urn:uddi-org:api_v2":bindingTemplates uddi2__bindingTemplates* bindingTemplates 0; ///< Optional element/// Element reference "urn:uddi-org:api_v2":categoryBag uddi2__categoryBag* categoryBag 0; ///< Optional element/// Attribute serviceKey of type "urn:uddi-org:api_v2":serviceKey @uddi2__serviceKey serviceKey 1; ///< Required attribute/// Attribute businessKey of type "urn:uddi-org:api_v2":businessKey @uddi2__businessKey businessKey 0; ///< Optional attribute/// A handle to the soap struct context that manages this class instance struct soap *soap ;};/// Schema urn:uddi-org:api_v2:"businessServices"class uddi2__businessServices{ public:/// Vector of uddi2__businessService* with length 0..unbounded std::vector<uddi2__businessService*> businessService 0;/// A handle to the soap struct context that manages this class instance struct soap *soap ;};/// Schema urn:uddi-org:api_v2:"categoryBag"class uddi2__categoryBag{ public:/// Vector of uddi2__keyedReference* with length 0..u
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -