1 /* 2 * CDDL HEADER START 3 * 4 * The contents of this file are subject to the terms of the 5 * Common Development and Distribution License (the "License"). 6 * You may not use this file except in compliance with the License. 7 * 8 * You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE 9 * or http://www.opensolaris.org/os/licensing. 10 * See the License for the specific language governing permissions 11 * and limitations under the License. 12 * 13 * When distributing Covered Code, include this CDDL HEADER in each 14 * file and include the License file at usr/src/OPENSOLARIS.LICENSE. 15 * If applicable, add the following below this CDDL HEADER, with the 16 * fields enclosed by brackets "[]" replaced with your own identifying 17 * information: Portions Copyright [yyyy] [name of copyright owner] 18 * 19 * CDDL HEADER END 20 */ 21 22 /* 23 * Copyright (c) 2010, Oracle and/or its affiliates. All rights reserved. 24 */ 25 26 /* KMS_DiscoveryStub.h 27 Generated by gSOAP 2.7.17 from ../gsoapStubs/DiscoveryService/KMS_Discovery_SOAP.h 28 Copyright(C) 2000-2010, Robert van Engelen, Genivia Inc. All Rights Reserved. 29 This part of the software is released under one of the following licenses: 30 GPL, the gSOAP public license, or Genivia's license for commercial use. 31 */ 32 33 #ifndef KMS_DiscoveryStub_H 34 #define KMS_DiscoveryStub_H 35 #ifndef WITH_NONAMESPACES 36 #define WITH_NONAMESPACES 37 #endif 38 #ifndef WITH_NOGLOBAL 39 #define WITH_NOGLOBAL 40 #endif 41 #include "stdsoap2.h" 42 43 namespace KMS_Discovery { 44 45 /******************************************************************************\ 46 * * 47 * Enumerations * 48 * * 49 \******************************************************************************/ 50 51 52 /******************************************************************************\ 53 * * 54 * Types with Custom Serializers * 55 * * 56 \******************************************************************************/ 57 58 59 /******************************************************************************\ 60 * * 61 * Classes and Structs * 62 * * 63 \******************************************************************************/ 64 65 66 #if 0 /* volatile type: do not declare here, declared elsewhere */ 67 68 #endif 69 70 #ifndef SOAP_TYPE_KMS_Discovery_xsd__hexBinary 71 #define SOAP_TYPE_KMS_Discovery_xsd__hexBinary (20) 72 /* hexBinary schema type: */ 73 struct xsd__hexBinary 74 { 75 public: 76 unsigned char *__ptr; 77 int __size; 78 }; 79 #endif 80 81 #ifndef SOAP_TYPE_KMS_Discovery_KMS_Discovery_ClusterMember 82 #define SOAP_TYPE_KMS_Discovery_KMS_Discovery_ClusterMember (24) 83 /* KMS-Discovery-ClusterMember */ 84 struct KMS_Discovery_ClusterMember 85 { 86 public: 87 LONG64 KMAID; /* required element of type xsd:long */ 88 char *KMAName; /* optional element of type xsd:string */ 89 char *KMASiteID; /* optional element of type xsd:string */ 90 char *KMAHostName; /* optional element of type xsd:string */ 91 char *KMANetworkAddress; /* optional element of type xsd:string */ 92 bool Enabled; /* required element of type xsd:boolean */ 93 long Load; /* required element of type xsd:int */ 94 bool Responding; /* required element of type xsd:boolean */ 95 char *KMAVersion; /* optional attribute of type xsd:kmaVersion */ 96 char *KMAHostNameIPv6; /* optional attribute of type xsd:networkAddress */ 97 char *KMANetworkAddressIPv6; /* optional attribute of type xsd:networkAddress */ 98 bool KMS_Discovery__Locked; /* optional attribute of type xsd:boolean */ 99 }; 100 #endif 101 102 #ifndef SOAP_TYPE_KMS_Discovery_KMS_Discovery__ArrayOfClusterMembers 103 #define SOAP_TYPE_KMS_Discovery_KMS_Discovery__ArrayOfClusterMembers (25) 104 /* Sequence of KMS-Discovery:ArrayOfClusterMembers schema type: */ 105 struct KMS_Discovery__ArrayOfClusterMembers 106 { 107 public: 108 struct KMS_Discovery_ClusterMember *__ptr; 109 int __size; 110 }; 111 #endif 112 113 #ifndef SOAP_TYPE_KMS_Discovery_KMS_Discovery__DiscoverClusterResponse 114 #define SOAP_TYPE_KMS_Discovery_KMS_Discovery__DiscoverClusterResponse (29) 115 /* KMS-Discovery:DiscoverClusterResponse */ 116 struct KMS_Discovery__DiscoverClusterResponse 117 { 118 public: 119 char *EntitySiteID; /* SOAP 1.2 RPC return element (when namespace qualified) */ /* optional element of type xsd:string */ 120 struct KMS_Discovery__ArrayOfClusterMembers ArrayOfClusterMembers; /* optional element of type KMS-Discovery:ArrayOfClusterMembers */ 121 }; 122 #endif 123 124 #ifndef SOAP_TYPE_KMS_Discovery_KMS_Discovery__DiscoverCluster 125 #define SOAP_TYPE_KMS_Discovery_KMS_Discovery__DiscoverCluster (32) 126 /* KMS-Discovery:DiscoverCluster */ 127 struct KMS_Discovery__DiscoverCluster 128 { 129 public: 130 void *_; /* transient */ 131 }; 132 #endif 133 134 #ifndef SOAP_TYPE_KMS_Discovery_SOAP_ENV__Header 135 #define SOAP_TYPE_KMS_Discovery_SOAP_ENV__Header (33) 136 /* SOAP Header: */ 137 struct SOAP_ENV__Header 138 { 139 #ifdef WITH_NOEMPTYSTRUCT 140 private: 141 char dummy; /* dummy member to enable compilation */ 142 #endif 143 }; 144 #endif 145 146 #ifndef SOAP_TYPE_KMS_Discovery_SOAP_ENV__Code 147 #define SOAP_TYPE_KMS_Discovery_SOAP_ENV__Code (34) 148 /* SOAP Fault Code: */ 149 struct SOAP_ENV__Code 150 { 151 public: 152 char *SOAP_ENV__Value; /* optional element of type xsd:QName */ 153 struct SOAP_ENV__Code *SOAP_ENV__Subcode; /* optional element of type SOAP-ENV:Code */ 154 }; 155 #endif 156 157 #ifndef SOAP_TYPE_KMS_Discovery_SOAP_ENV__Detail 158 #define SOAP_TYPE_KMS_Discovery_SOAP_ENV__Detail (36) 159 /* SOAP-ENV:Detail */ 160 struct SOAP_ENV__Detail 161 { 162 public: 163 int __type; /* any type of element <fault> (defined below) */ 164 void *fault; /* transient */ 165 char *__any; 166 }; 167 #endif 168 169 #ifndef SOAP_TYPE_KMS_Discovery_SOAP_ENV__Reason 170 #define SOAP_TYPE_KMS_Discovery_SOAP_ENV__Reason (37) 171 /* SOAP-ENV:Reason */ 172 struct SOAP_ENV__Reason 173 { 174 public: 175 char *SOAP_ENV__Text; /* optional element of type xsd:string */ 176 }; 177 #endif 178 179 #ifndef SOAP_TYPE_KMS_Discovery_SOAP_ENV__Fault 180 #define SOAP_TYPE_KMS_Discovery_SOAP_ENV__Fault (38) 181 /* SOAP Fault: */ 182 struct SOAP_ENV__Fault 183 { 184 public: 185 char *faultcode; /* optional element of type xsd:QName */ 186 char *faultstring; /* optional element of type xsd:string */ 187 char *faultactor; /* optional element of type xsd:string */ 188 struct SOAP_ENV__Detail *detail; /* optional element of type SOAP-ENV:Detail */ 189 struct SOAP_ENV__Code *SOAP_ENV__Code; /* optional element of type SOAP-ENV:Code */ 190 struct SOAP_ENV__Reason *SOAP_ENV__Reason; /* optional element of type SOAP-ENV:Reason */ 191 char *SOAP_ENV__Node; /* optional element of type xsd:string */ 192 char *SOAP_ENV__Role; /* optional element of type xsd:string */ 193 struct SOAP_ENV__Detail *SOAP_ENV__Detail; /* optional element of type SOAP-ENV:Detail */ 194 }; 195 #endif 196 197 /******************************************************************************\ 198 * * 199 * Typedefs * 200 * * 201 \******************************************************************************/ 202 203 #ifndef SOAP_TYPE_KMS_Discovery__QName 204 #define SOAP_TYPE_KMS_Discovery__QName (5) 205 typedef char *_QName; 206 #endif 207 208 #ifndef SOAP_TYPE_KMS_Discovery__XML 209 #define SOAP_TYPE_KMS_Discovery__XML (6) 210 typedef char *_XML; 211 #endif 212 213 #ifndef SOAP_TYPE_KMS_Discovery_xsd__string 214 #define SOAP_TYPE_KMS_Discovery_xsd__string (7) 215 typedef char *xsd__string; 216 #endif 217 218 #ifndef SOAP_TYPE_KMS_Discovery_xsd__float 219 #define SOAP_TYPE_KMS_Discovery_xsd__float (9) 220 typedef float xsd__float; 221 #endif 222 223 #ifndef SOAP_TYPE_KMS_Discovery_xsd__int 224 #define SOAP_TYPE_KMS_Discovery_xsd__int (11) 225 typedef long xsd__int; 226 #endif 227 228 #ifndef SOAP_TYPE_KMS_Discovery_xsd__boolean 229 #define SOAP_TYPE_KMS_Discovery_xsd__boolean (13) 230 typedef bool xsd__boolean; 231 #endif 232 233 #ifndef SOAP_TYPE_KMS_Discovery_xsd__long 234 #define SOAP_TYPE_KMS_Discovery_xsd__long (15) 235 typedef LONG64 xsd__long; 236 #endif 237 238 #ifndef SOAP_TYPE_KMS_Discovery_xsd__dateTime 239 #define SOAP_TYPE_KMS_Discovery_xsd__dateTime (16) 240 typedef char *xsd__dateTime; 241 #endif 242 243 #ifndef SOAP_TYPE_KMS_Discovery_xsd__duration 244 #define SOAP_TYPE_KMS_Discovery_xsd__duration (17) 245 typedef char *xsd__duration; 246 #endif 247 248 #ifndef SOAP_TYPE_KMS_Discovery_xsd__kmaVersion 249 #define SOAP_TYPE_KMS_Discovery_xsd__kmaVersion (18) 250 typedef char *xsd__kmaVersion; 251 #endif 252 253 #ifndef SOAP_TYPE_KMS_Discovery_xsd__networkAddress 254 #define SOAP_TYPE_KMS_Discovery_xsd__networkAddress (19) 255 typedef char *xsd__networkAddress; 256 #endif 257 258 259 /******************************************************************************\ 260 * * 261 * Externals * 262 * * 263 \******************************************************************************/ 264 265 266 /******************************************************************************\ 267 * * 268 * Server-Side Operations * 269 * * 270 \******************************************************************************/ 271 272 273 SOAP_FMAC5 int SOAP_FMAC6 KMS_Discovery__DiscoverCluster(struct soap*, void *_, struct KMS_Discovery__DiscoverClusterResponse &result); 274 275 /******************************************************************************\ 276 * * 277 * Server-Side Skeletons to Invoke Service Operations * 278 * * 279 \******************************************************************************/ 280 281 SOAP_FMAC5 int SOAP_FMAC6 KMS_Discovery_serve(struct soap*); 282 283 SOAP_FMAC5 int SOAP_FMAC6 KMS_Discovery_serve_request(struct soap*); 284 285 SOAP_FMAC5 int SOAP_FMAC6 soap_serve_KMS_Discovery__DiscoverCluster(struct soap*); 286 287 /******************************************************************************\ 288 * * 289 * Client-Side Call Stubs * 290 * * 291 \******************************************************************************/ 292 293 294 SOAP_FMAC5 int SOAP_FMAC6 soap_call_KMS_Discovery__DiscoverCluster(struct soap *soap, const char *soap_endpoint, const char *soap_action, void *_, struct KMS_Discovery__DiscoverClusterResponse &result); 295 296 } // namespace KMS_Discovery 297 298 299 #endif 300 301 /* End of KMS_DiscoveryStub.h */ 302