我尝试使用来自以下的UploadTemplate_1 WSDL服务:
https://demo.docusign.net/api/3.0/dsapi.asmx?WSDL
我的要求是:(缩短)
<?xml version="1.0" encoding="utf-8"?>
<soap:Envelope xmlns:soap="http://schemas.xmlsoap.org/soap/envelope/" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:s="http://www.w3.org/2001/XMLSchema" xmlns:tns="http://www.docusign.net/API/3.0">
<soap:Body>
<tns:UploadTemplate>
<tns:TemplateXML><?xml version="1.0" encoding="utf-8"?><EnvelopeTemplate xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://www.docusign.net/API/3.0"><EnvelopeTemplateDefinition><TemplateID>dfe8921b-275c-4f51-ace9-46d4c939e81a</TemplateID><Name>Test1</Name><Shared>true</Shared><TemplatePassword /><TemplateDescription /><LastModified>2014-10-24T10:09:39.087Z</LastModified><PageCount>1</PageCount></EnvelopeTemplateDefinition><Envelope><AccountId>f2bc351b-6a2a-41dd-810b-fe23cf22f619</AccountId><Documents><Document><ID>1</ID><Name>Test.pdf</Name><PDFBytes>JVBERi0xLjcKjp2......g0KNjU5OTANCiUlRU9G================================================================</PDFBytes></Document></Documents><Subject>Please DocuSign this document: Test.pdf</Subject><EmailBlurb /><SigningLocation>Online</SigningLocation><AutoNavigation>true</AutoNavigation><EnvelopeIdStamping>true</EnvelopeIdStamping><AuthoritativeCopy>false</AuthoritativeCopy><Notification><Reminders><ReminderEnabled>false</ReminderEnabled><ReminderDelay>0</ReminderDelay><ReminderFrequency>0</ReminderFrequency></Reminders><Expirations><ExpireEnabled>true</ExpireEnabled><ExpireAfter>120</ExpireAfter><ExpireWarn>0</ExpireWarn></Expirations></Notification><EnforceSignerVisibility>false</EnforceSignerVisibility><EnableWetSign>true</EnableWetSign><AllowMarkup>false</AllowMarkup><AllowReassign>true</AllowReassign></Envelope></EnvelopeTemplate></tns:TemplateXML>
<tns:AccountID>794014</tns:AccountID>
<tns:Shared>true</tns:Shared>
</tns:UploadTemplate>
</soap:Body>
</soap:Envelope>
&#13;
来自网络服务器的回复是:
<?xml version="1.0" encoding="utf-8"?>
<soap:Envelope xmlns:soap="http://schemas.xmlsoap.org/soap/envelope/" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:wsa="http://schemas.xmlsoap.org/ws/2004/08/addressing" xmlns:wsse="http://docs.oasis-open.org/wss/2004/01/oasis-200401-wss-wssecurity-secext-1.0.xsd" xmlns:wsu="http://docs.oasis-open.org/wss/2004/01/oasis-200401-wss-wssecurity-utility-1.0.xsd">
<soap:Header>
<wsa:Action>http://schemas.xmlsoap.org/ws/2004/08/addressing/fault</wsa:Action>
<wsa:MessageID>urn:uuid:f6ff1306-b0c6-4c94-9156-feeb063a871f</wsa:MessageID>
<wsa:RelatesTo>urn:uuid:849c5eed-6548-427b-8689-3ab851070421</wsa:RelatesTo>
<wsa:To>http://schemas.xmlsoap.org/ws/2004/08/addressing/role/anonymous</wsa:To>
<wsse:Security>
<wsu:Timestamp wsu:Id="Timestamp-2853b643-777c-4bb9-8f73-078f0c4f9801">
<wsu:Created>2014-10-24T11:21:07Z</wsu:Created>
<wsu:Expires>2014-10-24T11:26:07Z</wsu:Expires>
</wsu:Timestamp>
</wsse:Security>
</soap:Header>
<soap:Body>
<soap:Fault>
<faultcode>soap:Server</faultcode>
<faultstring>Unspecified_Error</faultstring>
<faultactor>https://demo.docusign.net/api/3.0/dsapi.asmx</faultactor>
<detail>
<ErrorCode xmlns="missing in Web.Config">1</ErrorCode>
<ErrorReason xmlns="missing in Web.Config">An Error Occurred.</ErrorReason>
</detail>
</soap:Fault>
</soap:Body>
</soap:Envelope>
&#13;
知道可能是什么原因?