C Sean Howard
C Sean Howard

Reputation: 21

DocuSignEnvelopeInformation null using XmlSerializerFormat

My DocuSign Connect Listener cannot deserialize the XML it's receiving. The Envelope is always null. I have decorated both my class and it's interface with the [ServiceBehavior(Namespace = "http://www.docusign.net/API/3.0")] and decorated the Operation Contract with XmlSerializerFormat. Does anyone know what I'm doing wrong?

Upvotes: 0

Views: 289

Answers (1)

Larry K
Larry K

Reputation: 49114

I don't know what you mean by https://www.docusign.net/API/3.0/, that is not a valid url.

Answer

In my listeners I use a suitable XML library (platform/stack specific) to pull values and documents out of the notification messages.

These days, there are often XML libraries that are more convenient than the standard libxml2 and its various wrappers. For example, BeautifulSoup for Python

You can see working examples of a DocuSign Connect/eventNotification listener in various languages and stacks:

Also, check out the webhook recipe for more information.

Debugging, the logging facility for the connect messages is also very helpful. See the DocuSign Admin panel, the "Integrations" section, the "Connect" item for access to the logs.

Upvotes: 1

Related Questions