我在基於SOAP的API中使用EventNotification。問題是,當信封發生任何事件時,我沒有收到URL上的任何請求(我在事件通知的定義中提到)。DocuSign基於SOAP的API中的EventNotification
以下是我的代碼片段:(這裏我需要通知完成信封時)
Dim EnvelopeNotificationURL As String = "https://{my url}"
Dim EventNotifi As New EventNotification
EventNotifi.URL = EnvelopeNotificationURL
EventNotifi.LoggingEnabled = True
'Defining Envelope Events
Dim envEvent(0) As EnvelopeEvent
envEvent(0) = New EnvelopeEvent
envEvent(0).EnvelopeEventStatusCode = EnvelopeEventStatusCode.Completed
EventNotifi.EnvelopeEvents = envEvent
NewEnvelope.EventNotification = EventNotifi
'// Here NewEnvelope is an instance of Envelope Class.
我已經解決了這個問題..在構建的XML中有一些錯誤... Thankx .. – user3095480