| 1 | ||
| 2 | #include "ServiceGroupEntryService.h" | |
| 3 | #include "globus_xsd_type_registry.h" | |
| 4 | ||
| 5 | ||
| 6 | #include "wsa_ReferenceParameters.h" | |
| 7 | #include "wsa_ReferenceParametersType.h" | |
| 8 | #include "wsa_ProblemHeaderQName.h" | |
| 9 | #include "wsa_AttributedQNameType.h" | |
| 10 | #include "wsa_EndpointReference.h" | |
| 11 | #include "wsa_EndpointReferenceType.h" | |
| 12 | #include "wsa_MessageID.h" | |
| 13 | #include "wsa_AttributedURIType.h" | |
| 14 | #include "wsa_To.h" | |
| 15 | #include "wsa_Action.h" | |
| 16 | #include "wsa_ProblemAction.h" | |
| 17 | #include "wsa_ProblemActionType.h" | |
| 18 | #include "wsa_RelatesTo.h" | |
| 19 | #include "wsa_RelatesToType.h" | |
| 20 | #include "wsa_ProblemIRI.h" | |
| 21 | #include "wsa_From.h" | |
| 22 | #include "wsa_FaultTo.h" | |
| 23 | #include "wsa_RetryAfter.h" | |
| 24 | #include "wsa_AttributedUnsignedLongType.h" | |
| 25 | #include "wsa_Metadata.h" | |
| 26 | #include "wsa_MetadataType.h" | |
| 27 | #include "wsa_ReplyTo.h" | |
| 28 | #include "wsbf_BaseFault.h" | |
| 29 | #include "wsbf_BaseFaultType.h" | |
| 30 | #include "wssg_MembershipContentRule.h" | |
| 31 | #include "wssg_MembershipContentRuleType.h" | |
| 32 | #include "wssg_MemberEPR.h" | |
| 33 | #include "wssg_ServiceGroupEntryRP.h" | |
| 34 | #include "wssg_ServiceGroupEntryRPType.h" | |
| 35 | #include "wssg_EntryAdditionNotification.h" | |
| 36 | #include "wssg_ServiceGroupModificationNotificationType.h" | |
| 37 | #include "wssg_Entry.h" | |
| 38 | #include "wssg_EntryType.h" | |
| 39 | #include "wssg_AddResponse.h" | |
| 40 | #include "wssg_AddResponseType.h" | |
| 41 | #include "wssg_AddRefusedFault.h" | |
| 42 | #include "wssg_AddRefusedFaultType.h" | |
| 43 | #include "wssg_Content.h" | |
| 44 | #include "wssg_ContentType.h" | |
| 45 | #include "wssg_ServiceGroupRP.h" | |
| 46 | #include "wssg_ServiceGroupRPType.h" | |
| 47 | #include "wssg_EntryRemovalNotification.h" | |
| 48 | #include "wssg_ServiceGroupRemovalNotificationType.h" | |
| 49 | #include "wssg_ContentCreationFailedFault.h" | |
| 50 | #include "wssg_ContentCreationFailedFaultType.h" | |
| 51 | #include "wssg_UnsupportedMemberInterfaceFault.h" | |
| 52 | #include "wssg_UnsupportedMemberInterfaceFaultType.h" | |
| 53 | #include "wssg_ServiceGroupEPR.h" | |
| 54 | #include "wssg_Add.h" | |
| 55 | #include "wssg_AddType.h" | |
| 56 | #include "wsrp_QueryResourcePropertiesResponse.h" | |
| 57 | #include "wsrp_QueryResourcePropertiesResponseType.h" | |
| 58 | #include "wsrp_PutResourcePropertyDocumentResponse.h" | |
| 59 | #include "wsrp_PutResourcePropertyDocumentResponseType.h" | |
| 60 | #include "wsrp_UpdateResourcePropertiesRequestFailedFault.h" | |
| 61 | #include "wsrp_UpdateResourcePropertiesRequestFailedFaultType.h" | |
| 62 | #include "wsrp_DeleteResourceProperties.h" | |
| 63 | #include "wsrp_DeleteResourcePropertiesType.h" | |
| 64 | #include "wsrp_InvalidModificationFault.h" | |
| 65 | #include "wsrp_InvalidModificationFaultType.h" | |
| 66 | #include "wsrp_DeleteResourcePropertiesRequestFailedFault.h" | |
| 67 | #include "wsrp_DeleteResourcePropertiesRequestFailedFaultType.h" | |
| 68 | #include "wsrp_SetResourcePropertyRequestFailedFault.h" | |
| 69 | #include "wsrp_SetResourcePropertyRequestFailedFaultType.h" | |
| 70 | #include "wsrp_GetResourcePropertyResponse.h" | |
| 71 | #include "wsrp_GetResourcePropertyResponseType.h" | |
| 72 | #include "wsrp_DeleteResourcePropertiesResponse.h" | |
| 73 | #include "wsrp_DeleteResourcePropertiesResponseType.h" | |
| 74 | #include "wsrp_UpdateResourcePropertiesResponse.h" | |
| 75 | #include "wsrp_UpdateResourcePropertiesResponseType.h" | |
| 76 | #include "wsrp_GetResourcePropertyDocumentResponse.h" | |
| 77 | #include "wsrp_GetResourcePropertyDocumentResponseType.h" | |
| 78 | #include "wsrp_UnableToModifyResourcePropertyFault.h" | |
| 79 | #include "wsrp_UnableToModifyResourcePropertyFaultType.h" | |
| 80 | #include "wsrp_QueryExpressionRPDocument.h" | |
| 81 | #include "wsrp_QueryExpressionRPDocumentType.h" | |
| 82 | #include "wsrp_InvalidQueryExpressionFault.h" | |
| 83 | #include "wsrp_InvalidQueryExpressionFaultType.h" | |
| 84 | #include "wsrp_Delete.h" | |
| 85 | #include "wsrp_DeleteType.h" | |
| 86 | #include "wsrp_Insert.h" | |
| 87 | #include "wsrp_InsertType.h" | |
| 88 | #include "wsrp_QueryResourceProperties.h" | |
| 89 | #include "wsrp_QueryResourcePropertiesType.h" | |
| 90 | #include "wsrp_UpdateResourceProperties.h" | |
| 91 | #include "wsrp_UpdateResourcePropertiesType.h" | |
| 92 | #include "wsrp_PutResourcePropertyDocument.h" | |
| 93 | #include "wsrp_PutResourcePropertyDocumentType.h" | |
| 94 | #include "wsrp_UnknownQueryExpressionDialectFault.h" | |
| 95 | #include "wsrp_UnknownQueryExpressionDialectFaultType.h" | |
| 96 | #include "wsrp_SetResourcePropertiesResponse.h" | |
| 97 | #include "wsrp_SetResourcePropertiesResponseType.h" | |
| 98 | #include "wsrp_QueryExpression.h" | |
| 99 | #include "wsrp_QueryExpressionType.h" | |
| 100 | #include "wsrp_GetResourcePropertyDocument.h" | |
| 101 | #include "wsrp_GetResourcePropertyDocumentType.h" | |
| 102 | #include "wsrp_QueryExpressionDialect.h" | |
| 103 | #include "xsd_anyURI.h" | |
| 104 | #include "wsrp_InsertResourcePropertiesResponse.h" | |
| 105 | #include "wsrp_InsertResourcePropertiesResponseType.h" | |
| 106 | #include "wsrp_ResourcePropertyValueChangeNotification.h" | |
| 107 | #include "wsrp_ResourcePropertyValueChangeNotificationType.h" | |
| 108 | #include "wsrp_QueryEvaluationErrorFault.h" | |
| 109 | #include "wsrp_QueryEvaluationErrorFaultType.h" | |
| 110 | #include "wsrp_GetMultipleResourcePropertiesResponse.h" | |
| 111 | #include "wsrp_GetMultipleResourcePropertiesResponseType.h" | |
| 112 | #include "wsrp_SetResourceProperties.h" | |
| 113 | #include "wsrp_SetResourcePropertiesType.h" | |
| 114 | #include "wsrp_InsertResourcePropertiesRequestFailedFault.h" | |
| 115 | #include "wsrp_InsertResourcePropertiesRequestFailedFaultType.h" | |
| 116 | #include "wsrp_UnableToPutResourcePropertyDocumentFault.h" | |
| 117 | #include "wsrp_UnableToPutResourcePropertyDocumentFaultType.h" | |
| 118 | #include "wsrp_GetMultipleResourceProperties.h" | |
| 119 | #include "wsrp_GetMultipleResourcePropertiesType.h" | |
| 120 | #include "wsrp_GetResourceProperty.h" | |
| 121 | #include "xsd_QName.h" | |
| 122 | #include "wsrp_InvalidResourcePropertyQNameFault.h" | |
| 123 | #include "wsrp_InvalidResourcePropertyQNameFaultType.h" | |
| 124 | #include "wsrp_InsertResourceProperties.h" | |
| 125 | #include "wsrp_InsertResourcePropertiesType.h" | |
| 126 | #include "wsrp_Update.h" | |
| 127 | #include "wsrp_UpdateType.h" | |
| 128 | #include "wsr_ResourceUnknownFault.h" | |
| 129 | #include "wsr_ResourceUnknownFaultType.h" | |
| 130 | #include "wsr_ResourceUnavailableFault.h" | |
| 131 | #include "wsr_ResourceUnavailableFaultType.h" | |
| 132 | #include "wsa_RelationshipType.h" | |
| 133 | #include "wsa_RelationshipTypeOpenEnum.h" | |
| 134 | #include "wsa_FaultCodesType.h" | |
| 135 | #include "wsa_FaultCodesOpenEnumType.h" | |
| 136 | #include "wssg_AbsoluteOrRelativeTimeType.h" | |
| 137 | #include "wssg_MemberInterfacesType.h" | |
| 138 | #include "wssg_RPDocType.h" | |
| 139 | #include "wssg_ContentElementsType.h" | |
| 140 | #include "wsrp_ResourcePropertyChangeFailureType.h" | |
| 141 | ||
| 142 | /* ResourceProperty element QName -> type includes */ | |
| 143 | ||
| 144 | ||
| 145 | /* ResourceProperty element QName -> type includes */ | |
| 146 | ||
| 147 | ||
| 148 | /* ResourceProperty element QName -> type includes */ | |
| 149 | ||
| 150 | ||
| 151 | /* ResourceProperty element QNames */ | |
| 152 | ||
| 153 | ||
| 154 | /* ResourceProperty element QNames */ | |
| 155 | ||
| 156 | ||
| 157 | /* ResourceProperty element QNames */ | |
| 158 | ||
| 159 | ||
| 160 | typedef struct | |
| 161 | { | |
| 162 | xsd_QName * element; | |
| 163 | xsd_QName * type; | |
| 164 | } | |
| 165 | ServiceGroupEntryService_element_t; | |
| 166 | ||
| 167 | /* Elements */ | |
| 168 | static | |
| 169 | ServiceGroupEntryService_element_t ServiceGroupEntryService_l_elements[] = { | |
| 170 | { &wsa_ReferenceParameters_qname, &wsa_ReferenceParametersType_qname }, | |
| 171 | { &wsa_ProblemHeaderQName_qname, &wsa_AttributedQNameType_qname }, | |
| 172 | { &wsa_EndpointReference_qname, &wsa_EndpointReferenceType_qname }, | |
| 173 | { &wsa_MessageID_qname, &wsa_AttributedURIType_qname }, | |
| 174 | { &wsa_To_qname, &wsa_AttributedURIType_qname }, | |
| 175 | { &wsa_Action_qname, &wsa_AttributedURIType_qname }, | |
| 176 | { &wsa_ProblemAction_qname, &wsa_ProblemActionType_qname }, | |
| 177 | { &wsa_RelatesTo_qname, &wsa_RelatesToType_qname }, | |
| 178 | { &wsa_ProblemIRI_qname, &wsa_AttributedURIType_qname }, | |
| 179 | { &wsa_From_qname, &wsa_EndpointReferenceType_qname }, | |
| 180 | { &wsa_FaultTo_qname, &wsa_EndpointReferenceType_qname }, | |
| 181 | { &wsa_RetryAfter_qname, &wsa_AttributedUnsignedLongType_qname }, | |
| 182 | { &wsa_Metadata_qname, &wsa_MetadataType_qname }, | |
| 183 | { &wsa_ReplyTo_qname, &wsa_EndpointReferenceType_qname }, | |
| 184 | { &wsbf_BaseFault_qname, &wsbf_BaseFaultType_qname }, | |
| 185 | { &wssg_MembershipContentRule_qname, &wssg_MembershipContentRuleType_qname }, | |
| 186 | { &wssg_MemberEPR_qname, &wsa_EndpointReferenceType_qname }, | |
| 187 | { &wssg_ServiceGroupEntryRP_qname, &wssg_ServiceGroupEntryRPType_qname }, | |
| 188 | { &wssg_EntryAdditionNotification_qname, &wssg_ServiceGroupModificationNotificationType_qname }, | |
| 189 | { &wssg_Entry_qname, &wssg_EntryType_qname }, | |
| 190 | { &wssg_AddResponse_qname, &wssg_AddResponseType_qname }, | |
| 191 | { &wssg_AddRefusedFault_qname, &wssg_AddRefusedFaultType_qname }, | |
| 192 | { &wssg_Content_qname, &wssg_ContentType_qname }, | |
| 193 | { &wssg_ServiceGroupRP_qname, &wssg_ServiceGroupRPType_qname }, | |
| 194 | { &wssg_EntryRemovalNotification_qname, &wssg_ServiceGroupRemovalNotificationType_qname }, | |
| 195 | { &wssg_ContentCreationFailedFault_qname, &wssg_ContentCreationFailedFaultType_qname }, | |
| 196 | { &wssg_UnsupportedMemberInterfaceFault_qname, &wssg_UnsupportedMemberInterfaceFaultType_qname }, | |
| 197 | { &wssg_ServiceGroupEPR_qname, &wsa_EndpointReferenceType_qname }, | |
| 198 | { &wssg_Add_qname, &wssg_AddType_qname }, | |
| 199 | { &wsrp_QueryResourcePropertiesResponse_qname, &wsrp_QueryResourcePropertiesResponseType_qname }, | |
| 200 | { &wsrp_PutResourcePropertyDocumentResponse_qname, &wsrp_PutResourcePropertyDocumentResponseType_qname }, | |
| 201 | { &wsrp_UpdateResourcePropertiesRequestFailedFault_qname, &wsrp_UpdateResourcePropertiesRequestFailedFaultType_qname }, | |
| 202 | { &wsrp_DeleteResourceProperties_qname, &wsrp_DeleteResourcePropertiesType_qname }, | |
| 203 | { &wsrp_InvalidModificationFault_qname, &wsrp_InvalidModificationFaultType_qname }, | |
| 204 | { &wsrp_DeleteResourcePropertiesRequestFailedFault_qname, &wsrp_DeleteResourcePropertiesRequestFailedFaultType_qname }, | |
| 205 | { &wsrp_SetResourcePropertyRequestFailedFault_qname, &wsrp_SetResourcePropertyRequestFailedFaultType_qname }, | |
| 206 | { &wsrp_GetResourcePropertyResponse_qname, &wsrp_GetResourcePropertyResponseType_qname }, | |
| 207 | { &wsrp_DeleteResourcePropertiesResponse_qname, &wsrp_DeleteResourcePropertiesResponseType_qname }, | |
| 208 | { &wsrp_UpdateResourcePropertiesResponse_qname, &wsrp_UpdateResourcePropertiesResponseType_qname }, | |
| 209 | { &wsrp_GetResourcePropertyDocumentResponse_qname, &wsrp_GetResourcePropertyDocumentResponseType_qname }, | |
| 210 | { &wsrp_UnableToModifyResourcePropertyFault_qname, &wsrp_UnableToModifyResourcePropertyFaultType_qname }, | |
| 211 | { &wsrp_QueryExpressionRPDocument_qname, &wsrp_QueryExpressionRPDocumentType_qname }, | |
| 212 | { &wsrp_InvalidQueryExpressionFault_qname, &wsrp_InvalidQueryExpressionFaultType_qname }, | |
| 213 | { &wsrp_Delete_qname, &wsrp_DeleteType_qname }, | |
| 214 | { &wsrp_Insert_qname, &wsrp_InsertType_qname }, | |
| 215 | { &wsrp_QueryResourceProperties_qname, &wsrp_QueryResourcePropertiesType_qname }, | |
| 216 | { &wsrp_UpdateResourceProperties_qname, &wsrp_UpdateResourcePropertiesType_qname }, | |
| 217 | { &wsrp_PutResourcePropertyDocument_qname, &wsrp_PutResourcePropertyDocumentType_qname }, | |
| 218 | { &wsrp_UnknownQueryExpressionDialectFault_qname, &wsrp_UnknownQueryExpressionDialectFaultType_qname }, | |
| 219 | { &wsrp_SetResourcePropertiesResponse_qname, &wsrp_SetResourcePropertiesResponseType_qname }, | |
| 220 | { &wsrp_QueryExpression_qname, &wsrp_QueryExpressionType_qname }, | |
| 221 | { &wsrp_GetResourcePropertyDocument_qname, &wsrp_GetResourcePropertyDocumentType_qname }, | |
| 222 | { &wsrp_QueryExpressionDialect_qname, &xsd_anyURI_qname }, | |
| 223 | { &wsrp_InsertResourcePropertiesResponse_qname, &wsrp_InsertResourcePropertiesResponseType_qname }, | |
| 224 | { &wsrp_ResourcePropertyValueChangeNotification_qname, &wsrp_ResourcePropertyValueChangeNotificationType_qname }, | |
| 225 | { &wsrp_QueryEvaluationErrorFault_qname, &wsrp_QueryEvaluationErrorFaultType_qname }, | |
| 226 | { &wsrp_GetMultipleResourcePropertiesResponse_qname, &wsrp_GetMultipleResourcePropertiesResponseType_qname }, | |
| 227 | { &wsrp_SetResourceProperties_qname, &wsrp_SetResourcePropertiesType_qname }, | |
| 228 | { &wsrp_InsertResourcePropertiesRequestFailedFault_qname, &wsrp_InsertResourcePropertiesRequestFailedFaultType_qname }, | |
| 229 | { &wsrp_UnableToPutResourcePropertyDocumentFault_qname, &wsrp_UnableToPutResourcePropertyDocumentFaultType_qname }, | |
| 230 | { &wsrp_GetMultipleResourceProperties_qname, &wsrp_GetMultipleResourcePropertiesType_qname }, | |
| 231 | { &wsrp_GetResourceProperty_qname, &xsd_QName_qname }, | |
| 232 | { &wsrp_InvalidResourcePropertyQNameFault_qname, &wsrp_InvalidResourcePropertyQNameFaultType_qname }, | |
| 233 | { &wsrp_InsertResourceProperties_qname, &wsrp_InsertResourcePropertiesType_qname }, | |
| 234 | { &wsrp_Update_qname, &wsrp_UpdateType_qname }, | |
| 235 | { &wsr_ResourceUnknownFault_qname, &wsr_ResourceUnknownFaultType_qname }, | |
| 236 | { &wsr_ResourceUnavailableFault_qname, &wsr_ResourceUnavailableFaultType_qname }, | |
| 237 | /* ResourceProperty element QName -> type info mappings */ | |
| 238 | /* ResourceProperty element QName -> type info mappings */ | |
| 239 | /* ResourceProperty element QName -> type info mappings */ | |
| 240 | ||
| 241 | { NULL, NULL } | |
| 242 | }; | |
| 243 | ||
| 244 | /* Attributes */ | |
| 245 | static | |
| 246 | ServiceGroupEntryService_element_t ServiceGroupEntryService_l_attributes[] = { | |
| 247 | ||
| 248 | { NULL, NULL } | |
| 249 | }; | |
| 250 | ||
| 251 | static globus_xsd_type_info_t ServiceGroupEntryService_l_types[] = { | |
| 252 | /* Types */ | |
| 253 | &wsa_EndpointReferenceType_info, | |
| 254 | &wsa_RelationshipType_info, | |
| 255 | &wsa_AttributedQNameType_info, | |
| 256 | &wsa_RelationshipTypeOpenEnum_info, | |
| 257 | &wsa_AttributedURIType_info, | |
| 258 | &wsa_MetadataType_info, | |
| 259 | &wsa_RelatesToType_info, | |
| 260 | &wsa_FaultCodesType_info, | |
| 261 | &wsa_FaultCodesOpenEnumType_info, | |
| 262 | &wsa_AttributedUnsignedLongType_info, | |
| 263 | &wsa_ReferenceParametersType_info, | |
| 264 | &wsa_ProblemActionType_info, | |
| 265 | &wsbf_BaseFaultType_info, | |
| 266 | &wssg_ContentCreationFailedFaultType_info, | |
| 267 | &wssg_AbsoluteOrRelativeTimeType_info, | |
| 268 | &wssg_MemberInterfacesType_info, | |
| 269 | &wssg_ContentType_info, | |
| 270 | &wssg_ServiceGroupRemovalNotificationType_info, | |
| 271 | &wssg_RPDocType_info, | |
| 272 | &wssg_ContentElementsType_info, | |
| 273 | &wssg_EntryType_info, | |
| 274 | &wssg_ServiceGroupModificationNotificationType_info, | |
| 275 | &wssg_UnsupportedMemberInterfaceFaultType_info, | |
| 276 | &wssg_AddRefusedFaultType_info, | |
| 277 | &wsrp_InsertResourcePropertiesRequestFailedFaultType_info, | |
| 278 | &wsrp_UnableToPutResourcePropertyDocumentFaultType_info, | |
| 279 | &wsrp_UnableToModifyResourcePropertyFaultType_info, | |
| 280 | &wsrp_InvalidQueryExpressionFaultType_info, | |
| 281 | &wsrp_DeleteType_info, | |
| 282 | &wsrp_SetResourcePropertyRequestFailedFaultType_info, | |
| 283 | &wsrp_UpdateType_info, | |
| 284 | &wsrp_ResourcePropertyValueChangeNotificationType_info, | |
| 285 | &wsrp_ResourcePropertyChangeFailureType_info, | |
| 286 | &wsrp_DeleteResourcePropertiesRequestFailedFaultType_info, | |
| 287 | &wsrp_InvalidModificationFaultType_info, | |
| 288 | &wsrp_InsertType_info, | |
| 289 | &wsrp_UpdateResourcePropertiesRequestFailedFaultType_info, | |
| 290 | &wsrp_InvalidResourcePropertyQNameFaultType_info, | |
| 291 | &wsrp_QueryEvaluationErrorFaultType_info, | |
| 292 | &wsrp_UnknownQueryExpressionDialectFaultType_info, | |
| 293 | &wsrp_QueryExpressionType_info, | |
| 294 | &wsr_ResourceUnknownFaultType_info, | |
| 295 | &wsr_ResourceUnavailableFaultType_info, | |
| 296 | &wssg_MembershipContentRuleType_info, | |
| 297 | &wssg_ServiceGroupEntryRPType_info, | |
| 298 | &wssg_AddResponseType_info, | |
| 299 | &wssg_ServiceGroupRPType_info, | |
| 300 | &wssg_AddType_info, | |
| 301 | &wsrp_QueryResourcePropertiesResponseType_info, | |
| 302 | &wsrp_PutResourcePropertyDocumentResponseType_info, | |
| 303 | &wsrp_DeleteResourcePropertiesType_info, | |
| 304 | &wsrp_GetResourcePropertyResponseType_info, | |
| 305 | &wsrp_DeleteResourcePropertiesResponseType_info, | |
| 306 | &wsrp_UpdateResourcePropertiesResponseType_info, | |
| 307 | &wsrp_GetResourcePropertyDocumentResponseType_info, | |
| 308 | &wsrp_QueryExpressionRPDocumentType_info, | |
| 309 | &wsrp_QueryResourcePropertiesType_info, | |
| 310 | &wsrp_UpdateResourcePropertiesType_info, | |
| 311 | &wsrp_PutResourcePropertyDocumentType_info, | |
| 312 | &wsrp_SetResourcePropertiesResponseType_info, | |
| 313 | &wsrp_GetResourcePropertyDocumentType_info, | |
| 314 | &wsrp_InsertResourcePropertiesResponseType_info, | |
| 315 | &wsrp_GetMultipleResourcePropertiesResponseType_info, | |
| 316 | &wsrp_SetResourcePropertiesType_info, | |
| 317 | &wsrp_GetMultipleResourcePropertiesType_info, | |
| 318 | &wsrp_InsertResourcePropertiesType_info, | |
| 319 | ||
| 320 | NULL | |
| 321 | }; | |
| 322 | ||
| 323 | globus_result_t | |
| 324 | ServiceGroupEntryService_registry_add_types( | |
| 325 | globus_xsd_type_registry_t registry) | |
| 326 | 28 | { |
| 327 | 28 | globus_result_t result = GLOBUS_SUCCESS; |
| 328 | 28 | globus_xsd_type_info_t * type = ServiceGroupEntryService_l_types; |
| 329 | 28 | ServiceGroupEntryService_element_t * element = ServiceGroupEntryService_l_elements; |
| 330 | 28 | ServiceGroupEntryService_element_t * attribute = ServiceGroupEntryService_l_attributes; |
| 331 | GlobusFuncName(ServiceGroupEntryService_registry_add_types); | |
| 332 | 28 | GlobusSoapMessageDebugEnter(); |
| 333 | ||
| 334 | 1904 | while (*type != NULL) |
| 335 | { | |
| 336 | 1848 | result = globus_xsd_type_registry_insert( |
| 337 | registry, | |
| 338 | *type, | |
| 339 | NULL); | |
| 340 | ||
| 341 | 1848 | if (result != GLOBUS_SUCCESS) |
| 342 | { | |
| 343 | 0 | result = GlobusSoapMessageErrorFailedRegistryPopulate( |
| 344 | result, | |
| 345 | (*type)->type->Namespace, | |
| 346 | (*type)->type->local); | |
| 347 | ||
| 348 | 0 | goto exit; |
| 349 | } | |
| 350 | 1848 | type++; |
| 351 | } | |
| 352 | ||
| 353 | 1932 | while (element->element != NULL) |
| 354 | { | |
| 355 | 1876 | result = globus_xsd_type_registry_insert_element( |
| 356 | registry, | |
| 357 | element->element, | |
| 358 | element->type); | |
| 359 | 1876 | if (result != GLOBUS_SUCCESS) |
| 360 | { | |
| 361 | 0 | result = GlobusSoapMessageErrorFailedRegistryPopulate( |
| 362 | result, | |
| 363 | element->element->Namespace, | |
| 364 | element->element->local); | |
| 365 | ||
| 366 | 0 | goto exit; |
| 367 | } | |
| 368 | 1876 | element++; |
| 369 | } | |
| 370 | ||
| 371 | 56 | while (attribute->element != NULL) |
| 372 | { | |
| 373 | 0 | result = globus_xsd_type_registry_insert_attribute( |
| 374 | registry, | |
| 375 | attribute->element, | |
| 376 | attribute->type); | |
| 377 | 0 | if (result != GLOBUS_SUCCESS) |
| 378 | { | |
| 379 | 0 | result = GlobusSoapMessageErrorFailedRegistryPopulate( |
| 380 | result, | |
| 381 | attribute->element->Namespace, | |
| 382 | attribute->element->local); | |
| 383 | ||
| 384 | 0 | goto exit; |
| 385 | } | |
| 386 | 0 | attribute++; |
| 387 | } | |
| 388 | ||
| 389 | ||
| 390 | 28 | exit: |
| 391 | ||
| 392 | 28 | GlobusSoapMessageDebugExit(); |
| 393 | 28 | return result; |
| 394 | } | |
| 395 | /* ServiceGroupEntryService_registry_add_types() */ | |
| 396 | ||
| 397 | globus_result_t | |
| 398 | ServiceGroupEntryService_registry_remove_types( | |
| 399 | globus_xsd_type_registry_t registry) | |
| 400 | 22 | { |
| 401 | 22 | globus_result_t result = GLOBUS_SUCCESS; |
| 402 | 22 | globus_xsd_type_info_t * type = ServiceGroupEntryService_l_types; |
| 403 | 22 | ServiceGroupEntryService_element_t * element = ServiceGroupEntryService_l_elements; |
| 404 | 22 | ServiceGroupEntryService_element_t * attribute = ServiceGroupEntryService_l_attributes; |
| 405 | GlobusFuncName(ServiceGroupEntryService_registry_remove_types); | |
| 406 | 22 | GlobusSoapMessageDebugEnter(); |
| 407 | ||
| 408 | ||
| 409 | 1496 | while (*type != NULL) |
| 410 | { | |
| 411 | 1452 | result = globus_xsd_type_registry_remove( |
| 412 | registry, | |
| 413 | (*type)->type, | |
| 414 | NULL); | |
| 415 | ||
| 416 | 1452 | if(result != GLOBUS_SUCCESS) |
| 417 | { | |
| 418 | 0 | result = GlobusSoapMessageErrorFailedRegistryPopulate( |
| 419 | result, | |
| 420 | (*type)->type->Namespace, | |
| 421 | (*type)->type->local); | |
| 422 | 0 | goto exit; |
| 423 | } | |
| 424 | 1452 | type++; |
| 425 | } | |
| 426 | 1518 | while (element->element != NULL) |
| 427 | { | |
| 428 | 1474 | result = globus_xsd_type_registry_remove_element( |
| 429 | registry, | |
| 430 | element->element); | |
| 431 | 1474 | if (result != GLOBUS_SUCCESS) |
| 432 | { | |
| 433 | 0 | result = GlobusSoapMessageErrorFailedRegistryPopulate( |
| 434 | result, | |
| 435 | element->element->Namespace, | |
| 436 | element->element->local); | |
| 437 | ||
| 438 | 0 | goto exit; |
| 439 | } | |
| 440 | 1474 | element++; |
| 441 | } | |
| 442 | ||
| 443 | 44 | while (attribute->element != NULL) |
| 444 | { | |
| 445 | 0 | result = globus_xsd_type_registry_remove_attribute( |
| 446 | registry, | |
| 447 | attribute->element); | |
| 448 | 0 | if (result != GLOBUS_SUCCESS) |
| 449 | { | |
| 450 | 0 | result = GlobusSoapMessageErrorFailedRegistryPopulate( |
| 451 | result, | |
| 452 | attribute->element->Namespace, | |
| 453 | attribute->element->local); | |
| 454 | ||
| 455 | 0 | goto exit; |
| 456 | } | |
| 457 | 0 | attribute++; |
| 458 | } | |
| 459 | ||
| 460 | 22 | exit: |
| 461 | ||
| 462 | 22 | GlobusSoapMessageDebugExit(); |
| 463 | 22 | return result; |
| 464 | } |