There are other scenarios where it fails similarly so please test thoroughly for all cases. These fixes were really not listed as part of the scope of DocuSign challenges but have to be made. Please look at the PHP and Ruby samples to see the respective changes made for those samples.
Let me know when you've fixed these and deployed to your demo instance
@commfort ,
I am the reviewer for this. There are several issues in the code that need to be fixed.
1) If I chose a recipient but no document and hit Send, it gives this error
This demo has encountered an error: Validation error: The element 'Documents' in namespace 'http://www.docusign.net/API/3.0' has incomplete content. List of possible elements expected: 'Document' in namespace 'http://www.docusign.net/API/3.0'.
2) Similarly, if I pick a template and hit Send without chosing any recipient, it crashes again with this dump
Validation error: The element 'RoleAssignments' in namespace 'http://www.docusign.net/API/3.0' has incomplete content. List of possible elements expected: 'RoleAssignment' in namespace 'http://www.docusign.net/API/3.0'.
There are other scenarios where it fails similarly so please test thoroughly for all cases. These fixes were really not listed as part of the scope of DocuSign challenges but have to be made. Please look at the PHP and Ruby samples to see the respective changes made for those samples.
Let me know when you've fixed these and deployed to your demo instance