私は Adobe Echo サインに取り組んでいます。彼らの Web サイトからサンプル コードをダウンロードしました。このサンプル コードを使用してドキュメントを送信しています。sendDocument メソッドにコードが欠落しているため、変更しました。SoapHeader Exception を与えていますが、InnerException には何もありません。
{"apiActionId=XHZI4WF4BV693YS"}
以下は、ドキュメントを送信する私のコードです
public static void sendDocument(string apiKey, string fileName, string recipient)
{
ES = new EchoSignDocumentService16();
FileStream file = File.OpenRead(fileName);
secure.echosign.com.FileInfo[] fileInfos = new secure.echosign.com.FileInfo[1];
fileInfos[0] = new secure.echosign.com.FileInfo(fileName, null, file);
SenderInfo senderInfo = null;
string[] recipients = new string[1];
recipients[0] = recipient;
DocumentCreationInfo documentInfo = new DocumentCreationInfo(
recipients,
"Test from SOAP: " + fileName,
"This is neat.",
fileInfos,
SignatureType.ESIGN,
SignatureFlow.SENDER_SIGNATURE_NOT_REQUIRED
);
DocumentKey[] documentKeys;
senderInfo = new SenderInfo(recipient, "password", "APIKEY");
documentKeys = ES.sendDocument(apiKey, senderInfo, documentInfo);
Console.WriteLine("Document key is: " + documentKeys[0].documentKey);
}
この行で例外を与える
documentKeys = ES.sendDocument(apiKey, senderInfo, documentInfo);
Adobe Echo Signのサンプルコードを提案できる人はいますか?