Responder Developer Guide
RegisterForService Method (OAServer)


Syntax
'Declaration
 
<WebMethodAttribute("This method establishs a subscription using a previously requested registrationID. The calling parameter registrationInfo is a complex type that includes the following information: registrationID - the previously requested registrationID obtained from the publisher by calling RequestRegistrationID, responseURL – the URL to which information should subsequently be published on this subscription, msFunction – the abbreviated string name of the MultiSpeak method making the subscription request (for instance, if an application that exposes the Meter Reading function has made the request, then the msFunction variable should include “MR”), methodsList – An array of strings that contain the string names of the MultiSpeak methods to which the subscriber would like to subscribe.  Subsequent calls to RegisterForService on an existing subscription replace prior subscription details in their entirety - they do NOT add to an existing subscription.")>
<SoapHeaderAttribute("MultiSpeakMsgHeader", Direction=SoapHeaderDirection.InOut)>
Public Function RegisterForService( _
   ByVal registrationDetails As registrationInfo _
) As errorObject()
'Usage
 
Dim instance As OAServer
Dim registrationDetails As registrationInfo
Dim value() As errorObject
 
value = instance.RegisterForService(registrationDetails)
[WebMethod("This method establishs a subscription using a previously requested registrationID. The calling parameter registrationInfo is a complex type that includes the following information: registrationID - the previously requested registrationID obtained from the publisher by calling RequestRegistrationID, responseURL – the URL to which information should subsequently be published on this subscription, msFunction – the abbreviated string name of the MultiSpeak method making the subscription request (for instance, if an application that exposes the Meter Reading function has made the request, then the msFunction variable should include “MR”), methodsList – An array of strings that contain the string names of the MultiSpeak methods to which the subscriber would like to subscribe.  Subsequent calls to RegisterForService on an existing subscription replace prior subscription details in their entirety - they do NOT add to an existing subscription.")]
[SoapHeader("MultiSpeakMsgHeader", Direction=SoapHeaderDirection.InOut)]
public errorObject[] RegisterForService( 
   registrationInfo registrationDetails
)

Parameters

registrationDetails
Requirements

Target Platforms: Windows XP SP3 (32-bit and 64-bit), Windows 7 (32-bit and 64-bit)

Not all Operating Systems are supported on all products. Visit the ArcFM Solution Supported Versions page for full details.

See Also

Reference

OAServer Class
OAServer Members

 

 


Send Comment