| 1 | ||
| 2 | #include "WidgetNotificationService.h" | |
| 3 | #include "globus_xsd_type_registry.h" | |
| 4 | ||
| 5 | ||
| 6 | #include "widget_generateNotificationResponse.h" | |
| 7 | #include "widget_generateNotificationResponseType.h" | |
| 8 | #include "widget_generateNotification.h" | |
| 9 | #include "widget_generateNotificationType.h" | |
| 10 | #include "wsa_ReferenceParameters.h" | |
| 11 | #include "wsa_ReferenceParametersType.h" | |
| 12 | #include "wsa_ProblemHeaderQName.h" | |
| 13 | #include "wsa_AttributedQNameType.h" | |
| 14 | #include "wsa_EndpointReference.h" | |
| 15 | #include "wsa_EndpointReferenceType.h" | |
| 16 | #include "wsa_MessageID.h" | |
| 17 | #include "wsa_AttributedURIType.h" | |
| 18 | #include "wsa_To.h" | |
| 19 | #include "wsa_Action.h" | |
| 20 | #include "wsa_ProblemAction.h" | |
| 21 | #include "wsa_ProblemActionType.h" | |
| 22 | #include "wsa_RelatesTo.h" | |
| 23 | #include "wsa_RelatesToType.h" | |
| 24 | #include "wsa_ProblemIRI.h" | |
| 25 | #include "wsa_From.h" | |
| 26 | #include "wsa_FaultTo.h" | |
| 27 | #include "wsa_RetryAfter.h" | |
| 28 | #include "wsa_AttributedUnsignedLongType.h" | |
| 29 | #include "wsa_Metadata.h" | |
| 30 | #include "wsa_MetadataType.h" | |
| 31 | #include "wsa_ReplyTo.h" | |
| 32 | #include "wsbf_BaseFault.h" | |
| 33 | #include "wsbf_BaseFaultType.h" | |
| 34 | #include "wsr_ResourceUnknownFault.h" | |
| 35 | #include "wsr_ResourceUnknownFaultType.h" | |
| 36 | #include "wsr_ResourceUnavailableFault.h" | |
| 37 | #include "wsr_ResourceUnavailableFaultType.h" | |
| 38 | #include "wstop_TopicSet.h" | |
| 39 | #include "wstop_TopicSetType.h" | |
| 40 | #include "wstop_TopicNamespace.h" | |
| 41 | #include "wstop_TopicNamespaceType.h" | |
| 42 | #include "wsnt_Topic.h" | |
| 43 | #include "wsnt_TopicExpressionType.h" | |
| 44 | #include "wsnt_SubscriptionPolicy.h" | |
| 45 | #include "wsnt_SubscriptionPolicyType.h" | |
| 46 | #include "wsnt_InvalidFilterFault.h" | |
| 47 | #include "wsnt_InvalidFilterFaultType.h" | |
| 48 | #include "wsnt_Filter.h" | |
| 49 | #include "wsnt_FilterType.h" | |
| 50 | #include "wsnt_GetCurrentMessageResponse.h" | |
| 51 | #include "wsnt_GetCurrentMessageResponseType.h" | |
| 52 | #include "wsnt_CreatePullPointResponse.h" | |
| 53 | #include "wsnt_CreatePullPointResponseType.h" | |
| 54 | #include "wsnt_UnacceptableTerminationTimeFault.h" | |
| 55 | #include "wsnt_UnacceptableTerminationTimeFaultType.h" | |
| 56 | #include "wsnt_ResumeSubscriptionResponse.h" | |
| 57 | #include "wsnt_ResumeSubscriptionResponseType.h" | |
| 58 | #include "wsnt_SubscriptionManagerRP.h" | |
| 59 | #include "wsnt_SubscriptionManagerRPType.h" | |
| 60 | #include "wsnt_PauseSubscriptionResponse.h" | |
| 61 | #include "wsnt_PauseSubscriptionResponseType.h" | |
| 62 | #include "wsnt_TopicNotSupportedFault.h" | |
| 63 | #include "wsnt_TopicNotSupportedFaultType.h" | |
| 64 | #include "wsnt_DestroyPullPoint.h" | |
| 65 | #include "wsnt_DestroyPullPointType.h" | |
| 66 | #include "wsnt_MessageContent.h" | |
| 67 | #include "wsnt_QueryExpressionType.h" | |
| 68 | #include "wsnt_UnableToDestroyPullPointFault.h" | |
| 69 | #include "wsnt_UnableToDestroyPullPointFaultType.h" | |
| 70 | #include "wsnt_MultipleTopicsSpecifiedFault.h" | |
| 71 | #include "wsnt_MultipleTopicsSpecifiedFaultType.h" | |
| 72 | #include "wsnt_Notify.h" | |
| 73 | #include "wsnt_NotifyType.h" | |
| 74 | #include "wsnt_NoCurrentMessageOnTopicFault.h" | |
| 75 | #include "wsnt_NoCurrentMessageOnTopicFaultType.h" | |
| 76 | #include "wsnt_TopicExpressionDialectUnknownFault.h" | |
| 77 | #include "wsnt_TopicExpressionDialectUnknownFaultType.h" | |
| 78 | #include "wsnt_ResumeFailedFault.h" | |
| 79 | #include "wsnt_ResumeFailedFaultType.h" | |
| 80 | #include "wsnt_SubscribeResponse.h" | |
| 81 | #include "wsnt_SubscribeResponseType.h" | |
| 82 | #include "wsnt_TopicExpression.h" | |
| 83 | #include "wsnt_UnableToDestroySubscriptionFault.h" | |
| 84 | #include "wsnt_UnableToDestroySubscriptionFaultType.h" | |
| 85 | #include "wsnt_ResumeSubscription.h" | |
| 86 | #include "wsnt_ResumeSubscriptionType.h" | |
| 87 | #include "wsnt_UnableToGetMessagesFault.h" | |
| 88 | #include "wsnt_UnableToGetMessagesFaultType.h" | |
| 89 | #include "wsnt_PauseSubscription.h" | |
| 90 | #include "wsnt_PauseSubscriptionType.h" | |
| 91 | #include "wsnt_UseRaw.h" | |
| 92 | #include "wsnt_UseRawType.h" | |
| 93 | #include "wsnt_RenewResponse.h" | |
| 94 | #include "wsnt_RenewResponseType.h" | |
| 95 | #include "wsnt_InvalidProducerPropertiesExpressionFault.h" | |
| 96 | #include "wsnt_InvalidProducerPropertiesExpressionFaultType.h" | |
| 97 | #include "wsnt_TerminationTime.h" | |
| 98 | #include "xsd_dateTime.h" | |
| 99 | #include "wsnt_SubscribeCreationFailedFault.h" | |
| 100 | #include "wsnt_SubscribeCreationFailedFaultType.h" | |
| 101 | #include "wsnt_ProducerReference.h" | |
| 102 | #include "wsnt_Renew.h" | |
| 103 | #include "wsnt_RenewType.h" | |
| 104 | #include "wsnt_UnsubscribeResponse.h" | |
| 105 | #include "wsnt_UnsubscribeResponseType.h" | |
| 106 | #include "wsnt_UnsupportedPolicyRequestFault.h" | |
| 107 | #include "wsnt_UnsupportedPolicyRequestFaultType.h" | |
| 108 | #include "wsnt_FixedTopicSet.h" | |
| 109 | #include "xsd_boolean.h" | |
| 110 | #include "wsnt_SubscriptionReference.h" | |
| 111 | #include "wsnt_CreatePullPoint.h" | |
| 112 | #include "wsnt_CreatePullPointType.h" | |
| 113 | #include "wsnt_UnableToCreatePullPointFault.h" | |
| 114 | #include "wsnt_UnableToCreatePullPointFaultType.h" | |
| 115 | #include "wsnt_NotificationProducerRP.h" | |
| 116 | #include "wsnt_NotificationProducerRPType.h" | |
| 117 | #include "wsnt_PauseFailedFault.h" | |
| 118 | #include "wsnt_PauseFailedFaultType.h" | |
| 119 | #include "wsnt_Subscribe.h" | |
| 120 | #include "wsnt_SubscribeType.h" | |
| 121 | #include "wsnt_ProducerProperties.h" | |
| 122 | #include "wsnt_ConsumerReference.h" | |
| 123 | #include "wsnt_NotifyMessageNotSupportedFault.h" | |
| 124 | #include "wsnt_NotifyMessageNotSupportedFaultType.h" | |
| 125 | #include "wsnt_GetMessagesResponse.h" | |
| 126 | #include "wsnt_GetMessagesResponseType.h" | |
| 127 | #include "wsnt_CurrentTime.h" | |
| 128 | #include "wsnt_NotificationMessage.h" | |
| 129 | #include "wsnt_NotificationMessageHolderType.h" | |
| 130 | #include "wsnt_CreationTime.h" | |
| 131 | #include "wsnt_Unsubscribe.h" | |
| 132 | #include "wsnt_UnsubscribeType.h" | |
| 133 | #include "wsnt_InvalidTopicExpressionFault.h" | |
| 134 | #include "wsnt_InvalidTopicExpressionFaultType.h" | |
| 135 | #include "wsnt_GetCurrentMessage.h" | |
| 136 | #include "wsnt_GetCurrentMessageType.h" | |
| 137 | #include "wsnt_UnrecognizedPolicyRequestFault.h" | |
| 138 | #include "wsnt_UnrecognizedPolicyRequestFaultType.h" | |
| 139 | #include "wsnt_UnacceptableInitialTerminationTimeFault.h" | |
| 140 | #include "wsnt_UnacceptableInitialTerminationTimeFaultType.h" | |
| 141 | #include "wsnt_GetMessages.h" | |
| 142 | #include "wsnt_GetMessagesType.h" | |
| 143 | #include "wsnt_TopicExpressionDialect.h" | |
| 144 | #include "xsd_anyURI.h" | |
| 145 | #include "wsnt_DestroyPullPointResponse.h" | |
| 146 | #include "wsnt_DestroyPullPointResponseType.h" | |
| 147 | #include "wsnt_InvalidMessageContentExpressionFault.h" | |
| 148 | #include "wsnt_InvalidMessageContentExpressionFaultType.h" | |
| 149 | #include "wsa_RelationshipType.h" | |
| 150 | #include "wsa_RelationshipTypeOpenEnum.h" | |
| 151 | #include "wsa_FaultCodesType.h" | |
| 152 | #include "wsa_FaultCodesOpenEnumType.h" | |
| 153 | #include "wstop_Documentation.h" | |
| 154 | #include "wstop_ExtensibleDocumented.h" | |
| 155 | #include "wstop_QueryExpressionType.h" | |
| 156 | #include "wstop_FullTopicExpression.h" | |
| 157 | #include "wstop_TopicType.h" | |
| 158 | #include "wstop_ConcreteTopicExpression.h" | |
| 159 | #include "wstop_SimpleTopicExpression.h" | |
| 160 | #include "wsnt_AbsoluteOrRelativeTimeType.h" | |
| 161 | ||
| 162 | /* ResourceProperty element QName -> type includes */ | |
| 163 | ||
| 164 | ||
| 165 | /* ResourceProperty element QNames */ | |
| 166 | ||
| 167 | ||
| 168 | typedef struct | |
| 169 | { | |
| 170 | xsd_QName * element; | |
| 171 | xsd_QName * type; | |
| 172 | } | |
| 173 | WidgetNotificationService_element_t; | |
| 174 | ||
| 175 | /* Elements */ | |
| 176 | static | |
| 177 | WidgetNotificationService_element_t WidgetNotificationService_l_elements[] = { | |
| 178 | { &widget_generateNotificationResponse_qname, &widget_generateNotificationResponseType_qname }, | |
| 179 | { &widget_generateNotification_qname, &widget_generateNotificationType_qname }, | |
| 180 | { &wsa_ReferenceParameters_qname, &wsa_ReferenceParametersType_qname }, | |
| 181 | { &wsa_ProblemHeaderQName_qname, &wsa_AttributedQNameType_qname }, | |
| 182 | { &wsa_EndpointReference_qname, &wsa_EndpointReferenceType_qname }, | |
| 183 | { &wsa_MessageID_qname, &wsa_AttributedURIType_qname }, | |
| 184 | { &wsa_To_qname, &wsa_AttributedURIType_qname }, | |
| 185 | { &wsa_Action_qname, &wsa_AttributedURIType_qname }, | |
| 186 | { &wsa_ProblemAction_qname, &wsa_ProblemActionType_qname }, | |
| 187 | { &wsa_RelatesTo_qname, &wsa_RelatesToType_qname }, | |
| 188 | { &wsa_ProblemIRI_qname, &wsa_AttributedURIType_qname }, | |
| 189 | { &wsa_From_qname, &wsa_EndpointReferenceType_qname }, | |
| 190 | { &wsa_FaultTo_qname, &wsa_EndpointReferenceType_qname }, | |
| 191 | { &wsa_RetryAfter_qname, &wsa_AttributedUnsignedLongType_qname }, | |
| 192 | { &wsa_Metadata_qname, &wsa_MetadataType_qname }, | |
| 193 | { &wsa_ReplyTo_qname, &wsa_EndpointReferenceType_qname }, | |
| 194 | { &wsbf_BaseFault_qname, &wsbf_BaseFaultType_qname }, | |
| 195 | { &wsr_ResourceUnknownFault_qname, &wsr_ResourceUnknownFaultType_qname }, | |
| 196 | { &wsr_ResourceUnavailableFault_qname, &wsr_ResourceUnavailableFaultType_qname }, | |
| 197 | { &wstop_TopicSet_qname, &wstop_TopicSetType_qname }, | |
| 198 | { &wstop_TopicNamespace_qname, &wstop_TopicNamespaceType_qname }, | |
| 199 | { &wsnt_Topic_qname, &wsnt_TopicExpressionType_qname }, | |
| 200 | { &wsnt_SubscriptionPolicy_qname, &wsnt_SubscriptionPolicyType_qname }, | |
| 201 | { &wsnt_InvalidFilterFault_qname, &wsnt_InvalidFilterFaultType_qname }, | |
| 202 | { &wsnt_Filter_qname, &wsnt_FilterType_qname }, | |
| 203 | { &wsnt_GetCurrentMessageResponse_qname, &wsnt_GetCurrentMessageResponseType_qname }, | |
| 204 | { &wsnt_CreatePullPointResponse_qname, &wsnt_CreatePullPointResponseType_qname }, | |
| 205 | { &wsnt_UnacceptableTerminationTimeFault_qname, &wsnt_UnacceptableTerminationTimeFaultType_qname }, | |
| 206 | { &wsnt_ResumeSubscriptionResponse_qname, &wsnt_ResumeSubscriptionResponseType_qname }, | |
| 207 | { &wsnt_SubscriptionManagerRP_qname, &wsnt_SubscriptionManagerRPType_qname }, | |
| 208 | { &wsnt_PauseSubscriptionResponse_qname, &wsnt_PauseSubscriptionResponseType_qname }, | |
| 209 | { &wsnt_TopicNotSupportedFault_qname, &wsnt_TopicNotSupportedFaultType_qname }, | |
| 210 | { &wsnt_DestroyPullPoint_qname, &wsnt_DestroyPullPointType_qname }, | |
| 211 | { &wsnt_MessageContent_qname, &wsnt_QueryExpressionType_qname }, | |
| 212 | { &wsnt_UnableToDestroyPullPointFault_qname, &wsnt_UnableToDestroyPullPointFaultType_qname }, | |
| 213 | { &wsnt_MultipleTopicsSpecifiedFault_qname, &wsnt_MultipleTopicsSpecifiedFaultType_qname }, | |
| 214 | { &wsnt_Notify_qname, &wsnt_NotifyType_qname }, | |
| 215 | { &wsnt_NoCurrentMessageOnTopicFault_qname, &wsnt_NoCurrentMessageOnTopicFaultType_qname }, | |
| 216 | { &wsnt_TopicExpressionDialectUnknownFault_qname, &wsnt_TopicExpressionDialectUnknownFaultType_qname }, | |
| 217 | { &wsnt_ResumeFailedFault_qname, &wsnt_ResumeFailedFaultType_qname }, | |
| 218 | { &wsnt_SubscribeResponse_qname, &wsnt_SubscribeResponseType_qname }, | |
| 219 | { &wsnt_TopicExpression_qname, &wsnt_TopicExpressionType_qname }, | |
| 220 | { &wsnt_UnableToDestroySubscriptionFault_qname, &wsnt_UnableToDestroySubscriptionFaultType_qname }, | |
| 221 | { &wsnt_ResumeSubscription_qname, &wsnt_ResumeSubscriptionType_qname }, | |
| 222 | { &wsnt_UnableToGetMessagesFault_qname, &wsnt_UnableToGetMessagesFaultType_qname }, | |
| 223 | { &wsnt_PauseSubscription_qname, &wsnt_PauseSubscriptionType_qname }, | |
| 224 | { &wsnt_UseRaw_qname, &wsnt_UseRawType_qname }, | |
| 225 | { &wsnt_RenewResponse_qname, &wsnt_RenewResponseType_qname }, | |
| 226 | { &wsnt_InvalidProducerPropertiesExpressionFault_qname, &wsnt_InvalidProducerPropertiesExpressionFaultType_qname }, | |
| 227 | { &wsnt_TerminationTime_qname, &xsd_dateTime_qname }, | |
| 228 | { &wsnt_SubscribeCreationFailedFault_qname, &wsnt_SubscribeCreationFailedFaultType_qname }, | |
| 229 | { &wsnt_ProducerReference_qname, &wsa_EndpointReferenceType_qname }, | |
| 230 | { &wsnt_Renew_qname, &wsnt_RenewType_qname }, | |
| 231 | { &wsnt_UnsubscribeResponse_qname, &wsnt_UnsubscribeResponseType_qname }, | |
| 232 | { &wsnt_UnsupportedPolicyRequestFault_qname, &wsnt_UnsupportedPolicyRequestFaultType_qname }, | |
| 233 | { &wsnt_FixedTopicSet_qname, &xsd_boolean_qname }, | |
| 234 | { &wsnt_SubscriptionReference_qname, &wsa_EndpointReferenceType_qname }, | |
| 235 | { &wsnt_CreatePullPoint_qname, &wsnt_CreatePullPointType_qname }, | |
| 236 | { &wsnt_UnableToCreatePullPointFault_qname, &wsnt_UnableToCreatePullPointFaultType_qname }, | |
| 237 | { &wsnt_NotificationProducerRP_qname, &wsnt_NotificationProducerRPType_qname }, | |
| 238 | { &wsnt_PauseFailedFault_qname, &wsnt_PauseFailedFaultType_qname }, | |
| 239 | { &wsnt_Subscribe_qname, &wsnt_SubscribeType_qname }, | |
| 240 | { &wsnt_ProducerProperties_qname, &wsnt_QueryExpressionType_qname }, | |
| 241 | { &wsnt_ConsumerReference_qname, &wsa_EndpointReferenceType_qname }, | |
| 242 | { &wsnt_NotifyMessageNotSupportedFault_qname, &wsnt_NotifyMessageNotSupportedFaultType_qname }, | |
| 243 | { &wsnt_GetMessagesResponse_qname, &wsnt_GetMessagesResponseType_qname }, | |
| 244 | { &wsnt_CurrentTime_qname, &xsd_dateTime_qname }, | |
| 245 | { &wsnt_NotificationMessage_qname, &wsnt_NotificationMessageHolderType_qname }, | |
| 246 | { &wsnt_CreationTime_qname, &xsd_dateTime_qname }, | |
| 247 | { &wsnt_Unsubscribe_qname, &wsnt_UnsubscribeType_qname }, | |
| 248 | { &wsnt_InvalidTopicExpressionFault_qname, &wsnt_InvalidTopicExpressionFaultType_qname }, | |
| 249 | { &wsnt_GetCurrentMessage_qname, &wsnt_GetCurrentMessageType_qname }, | |
| 250 | { &wsnt_UnrecognizedPolicyRequestFault_qname, &wsnt_UnrecognizedPolicyRequestFaultType_qname }, | |
| 251 | { &wsnt_UnacceptableInitialTerminationTimeFault_qname, &wsnt_UnacceptableInitialTerminationTimeFaultType_qname }, | |
| 252 | { &wsnt_GetMessages_qname, &wsnt_GetMessagesType_qname }, | |
| 253 | { &wsnt_TopicExpressionDialect_qname, &xsd_anyURI_qname }, | |
| 254 | { &wsnt_DestroyPullPointResponse_qname, &wsnt_DestroyPullPointResponseType_qname }, | |
| 255 | { &wsnt_InvalidMessageContentExpressionFault_qname, &wsnt_InvalidMessageContentExpressionFaultType_qname }, | |
| 256 | /* ResourceProperty element QName -> type info mappings */ | |
| 257 | ||
| 258 | { NULL, NULL } | |
| 259 | }; | |
| 260 | ||
| 261 | /* Attributes */ | |
| 262 | static | |
| 263 | WidgetNotificationService_element_t WidgetNotificationService_l_attributes[] = { | |
| 264 | ||
| 265 | { NULL, NULL } | |
| 266 | }; | |
| 267 | ||
| 268 | static globus_xsd_type_info_t WidgetNotificationService_l_types[] = { | |
| 269 | /* Types */ | |
| 270 | &widget_generateNotificationResponseType_info, | |
| 271 | &widget_generateNotificationType_info, | |
| 272 | &wsa_EndpointReferenceType_info, | |
| 273 | &wsa_RelationshipType_info, | |
| 274 | &wsa_AttributedQNameType_info, | |
| 275 | &wsa_RelationshipTypeOpenEnum_info, | |
| 276 | &wsa_AttributedURIType_info, | |
| 277 | &wsa_MetadataType_info, | |
| 278 | &wsa_RelatesToType_info, | |
| 279 | &wsa_FaultCodesType_info, | |
| 280 | &wsa_FaultCodesOpenEnumType_info, | |
| 281 | &wsa_AttributedUnsignedLongType_info, | |
| 282 | &wsa_ReferenceParametersType_info, | |
| 283 | &wsa_ProblemActionType_info, | |
| 284 | &wsbf_BaseFaultType_info, | |
| 285 | &wsr_ResourceUnknownFaultType_info, | |
| 286 | &wsr_ResourceUnavailableFaultType_info, | |
| 287 | &wstop_Documentation_info, | |
| 288 | &wstop_TopicSetType_info, | |
| 289 | &wstop_ExtensibleDocumented_info, | |
| 290 | &wstop_QueryExpressionType_info, | |
| 291 | &wstop_FullTopicExpression_info, | |
| 292 | &wstop_TopicNamespaceType_info, | |
| 293 | &wstop_TopicType_info, | |
| 294 | &wstop_ConcreteTopicExpression_info, | |
| 295 | &wstop_SimpleTopicExpression_info, | |
| 296 | &wsnt_UnableToCreatePullPointFaultType_info, | |
| 297 | &wsnt_UnsupportedPolicyRequestFaultType_info, | |
| 298 | &wsnt_UnacceptableTerminationTimeFaultType_info, | |
| 299 | &wsnt_UnableToGetMessagesFaultType_info, | |
| 300 | &wsnt_TopicExpressionType_info, | |
| 301 | &wsnt_InvalidProducerPropertiesExpressionFaultType_info, | |
| 302 | &wsnt_InvalidTopicExpressionFaultType_info, | |
| 303 | &wsnt_FilterType_info, | |
| 304 | &wsnt_PauseFailedFaultType_info, | |
| 305 | &wsnt_TopicExpressionDialectUnknownFaultType_info, | |
| 306 | &wsnt_MultipleTopicsSpecifiedFaultType_info, | |
| 307 | &wsnt_NotificationMessageHolderType_info, | |
| 308 | &wsnt_ResumeFailedFaultType_info, | |
| 309 | &wsnt_UnacceptableInitialTerminationTimeFaultType_info, | |
| 310 | &wsnt_UnableToDestroySubscriptionFaultType_info, | |
| 311 | &wsnt_NotifyMessageNotSupportedFaultType_info, | |
| 312 | &wsnt_NoCurrentMessageOnTopicFaultType_info, | |
| 313 | &wsnt_InvalidMessageContentExpressionFaultType_info, | |
| 314 | &wsnt_InvalidFilterFaultType_info, | |
| 315 | &wsnt_UnrecognizedPolicyRequestFaultType_info, | |
| 316 | &wsnt_UnableToDestroyPullPointFaultType_info, | |
| 317 | &wsnt_TopicNotSupportedFaultType_info, | |
| 318 | &wsnt_AbsoluteOrRelativeTimeType_info, | |
| 319 | &wsnt_SubscribeCreationFailedFaultType_info, | |
| 320 | &wsnt_QueryExpressionType_info, | |
| 321 | &wsnt_SubscriptionPolicyType_info, | |
| 322 | &wsnt_GetCurrentMessageResponseType_info, | |
| 323 | &wsnt_CreatePullPointResponseType_info, | |
| 324 | &wsnt_ResumeSubscriptionResponseType_info, | |
| 325 | &wsnt_SubscriptionManagerRPType_info, | |
| 326 | &wsnt_PauseSubscriptionResponseType_info, | |
| 327 | &wsnt_DestroyPullPointType_info, | |
| 328 | &wsnt_NotifyType_info, | |
| 329 | &wsnt_SubscribeResponseType_info, | |
| 330 | &wsnt_ResumeSubscriptionType_info, | |
| 331 | &wsnt_PauseSubscriptionType_info, | |
| 332 | &wsnt_UseRawType_info, | |
| 333 | &wsnt_RenewResponseType_info, | |
| 334 | &wsnt_RenewType_info, | |
| 335 | &wsnt_UnsubscribeResponseType_info, | |
| 336 | &wsnt_CreatePullPointType_info, | |
| 337 | &wsnt_NotificationProducerRPType_info, | |
| 338 | &wsnt_SubscribeType_info, | |
| 339 | &wsnt_GetMessagesResponseType_info, | |
| 340 | &wsnt_UnsubscribeType_info, | |
| 341 | &wsnt_GetCurrentMessageType_info, | |
| 342 | &wsnt_GetMessagesType_info, | |
| 343 | &wsnt_DestroyPullPointResponseType_info, | |
| 344 | ||
| 345 | NULL | |
| 346 | }; | |
| 347 | ||
| 348 | globus_result_t | |
| 349 | WidgetNotificationService_registry_add_types( | |
| 350 | globus_xsd_type_registry_t registry) | |
| 351 | 0 | { |
| 352 | 0 | globus_result_t result = GLOBUS_SUCCESS; |
| 353 | 0 | globus_xsd_type_info_t * type = WidgetNotificationService_l_types; |
| 354 | 0 | WidgetNotificationService_element_t * element = WidgetNotificationService_l_elements; |
| 355 | 0 | WidgetNotificationService_element_t * attribute = WidgetNotificationService_l_attributes; |
| 356 | GlobusFuncName(WidgetNotificationService_registry_add_types); | |
| 357 | 0 | GlobusSoapMessageDebugEnter(); |
| 358 | ||
| 359 | 0 | while (*type != NULL) |
| 360 | { | |
| 361 | 0 | result = globus_xsd_type_registry_insert( |
| 362 | registry, | |
| 363 | *type, | |
| 364 | NULL); | |
| 365 | ||
| 366 | 0 | if (result != GLOBUS_SUCCESS) |
| 367 | { | |
| 368 | 0 | result = GlobusSoapMessageErrorFailedRegistryPopulate( |
| 369 | result, | |
| 370 | (*type)->type->Namespace, | |
| 371 | (*type)->type->local); | |
| 372 | ||
| 373 | 0 | goto exit; |
| 374 | } | |
| 375 | 0 | type++; |
| 376 | } | |
| 377 | ||
| 378 | 0 | while (element->element != NULL) |
| 379 | { | |
| 380 | 0 | result = globus_xsd_type_registry_insert_element( |
| 381 | registry, | |
| 382 | element->element, | |
| 383 | element->type); | |
| 384 | 0 | if (result != GLOBUS_SUCCESS) |
| 385 | { | |
| 386 | 0 | result = GlobusSoapMessageErrorFailedRegistryPopulate( |
| 387 | result, | |
| 388 | element->element->Namespace, | |
| 389 | element->element->local); | |
| 390 | ||
| 391 | 0 | goto exit; |
| 392 | } | |
| 393 | 0 | element++; |
| 394 | } | |
| 395 | ||
| 396 | 0 | while (attribute->element != NULL) |
| 397 | { | |
| 398 | 0 | result = globus_xsd_type_registry_insert_attribute( |
| 399 | registry, | |
| 400 | attribute->element, | |
| 401 | attribute->type); | |
| 402 | 0 | if (result != GLOBUS_SUCCESS) |
| 403 | { | |
| 404 | 0 | result = GlobusSoapMessageErrorFailedRegistryPopulate( |
| 405 | result, | |
| 406 | attribute->element->Namespace, | |
| 407 | attribute->element->local); | |
| 408 | ||
| 409 | 0 | goto exit; |
| 410 | } | |
| 411 | 0 | attribute++; |
| 412 | } | |
| 413 | ||
| 414 | ||
| 415 | 0 | exit: |
| 416 | ||
| 417 | 0 | GlobusSoapMessageDebugExit(); |
| 418 | 0 | return result; |
| 419 | } | |
| 420 | /* WidgetNotificationService_registry_add_types() */ | |
| 421 | ||
| 422 | globus_result_t | |
| 423 | WidgetNotificationService_registry_remove_types( | |
| 424 | globus_xsd_type_registry_t registry) | |
| 425 | 0 | { |
| 426 | 0 | globus_result_t result = GLOBUS_SUCCESS; |
| 427 | 0 | globus_xsd_type_info_t * type = WidgetNotificationService_l_types; |
| 428 | 0 | WidgetNotificationService_element_t * element = WidgetNotificationService_l_elements; |
| 429 | 0 | WidgetNotificationService_element_t * attribute = WidgetNotificationService_l_attributes; |
| 430 | GlobusFuncName(WidgetNotificationService_registry_remove_types); | |
| 431 | 0 | GlobusSoapMessageDebugEnter(); |
| 432 | ||
| 433 | ||
| 434 | 0 | while (*type != NULL) |
| 435 | { | |
| 436 | 0 | result = globus_xsd_type_registry_remove( |
| 437 | registry, | |
| 438 | (*type)->type, | |
| 439 | NULL); | |
| 440 | ||
| 441 | 0 | if(result != GLOBUS_SUCCESS) |
| 442 | { | |
| 443 | 0 | result = GlobusSoapMessageErrorFailedRegistryPopulate( |
| 444 | result, | |
| 445 | (*type)->type->Namespace, | |
| 446 | (*type)->type->local); | |
| 447 | 0 | goto exit; |
| 448 | } | |
| 449 | 0 | type++; |
| 450 | } | |
| 451 | 0 | while (element->element != NULL) |
| 452 | { | |
| 453 | 0 | result = globus_xsd_type_registry_remove_element( |
| 454 | registry, | |
| 455 | element->element); | |
| 456 | 0 | if (result != GLOBUS_SUCCESS) |
| 457 | { | |
| 458 | 0 | result = GlobusSoapMessageErrorFailedRegistryPopulate( |
| 459 | result, | |
| 460 | element->element->Namespace, | |
| 461 | element->element->local); | |
| 462 | ||
| 463 | 0 | goto exit; |
| 464 | } | |
| 465 | 0 | element++; |
| 466 | } | |
| 467 | ||
| 468 | 0 | while (attribute->element != NULL) |
| 469 | { | |
| 470 | 0 | result = globus_xsd_type_registry_remove_attribute( |
| 471 | registry, | |
| 472 | attribute->element); | |
| 473 | 0 | if (result != GLOBUS_SUCCESS) |
| 474 | { | |
| 475 | 0 | result = GlobusSoapMessageErrorFailedRegistryPopulate( |
| 476 | result, | |
| 477 | attribute->element->Namespace, | |
| 478 | attribute->element->local); | |
| 479 | ||
| 480 | 0 | goto exit; |
| 481 | } | |
| 482 | 0 | attribute++; |
| 483 | } | |
| 484 | ||
| 485 | 0 | exit: |
| 486 | ||
| 487 | 0 | GlobusSoapMessageDebugExit(); |
| 488 | 0 | return result; |
| 489 | } |