我正在尝试复制此处的示例代码: https://www.docusign.com/p/APIGuide/APIGuide.htm#Sending%20Group/Create%20and%20Send.htm
我复制了C#代码来构建信封,只调整了我的环境..示例文件,电子邮件地址等。当我执行此操作时,我得到以下异常:
发生了处理错误:System.ServiceModel.FaultException:The 请求包含至少一个无效参数。 Guid不能为空。
服务器堆栈跟踪:at System.ServiceModel.Channels.ServiceChannel.HandleReply(ProxyOperationRuntime 操作,ProxyRpc& rpc)at System.ServiceModel.Channels.ServiceChannel.Call(String action, Boolean oneway,ProxyOperationRuntime操作,Object [] ins, 对象[]出局,TimeSpan超时)at System.ServiceModel.Channels.ServiceChannel.Call(String action, Boolean oneway,ProxyOperationRuntime操作,Object [] ins, 对象[]出局) System.ServiceModel.Channels.ServiceChannelProxy.InvokeService(IMethodCallMessage methodCall,ProxyOperationRuntime operation)at System.ServiceModel.Channels.ServiceChannelProxy.Invoke(即时聊天 消息)
在[0]处重新抛出异常:at System.Runtime.Remoting.Proxies.RealProxy.HandleReturnMessage(即时聊天 reqMsg,IMessage retMsg)at System.Runtime.Remoting.Proxies.RealProxy.PrivateInvoke(MessageData&安培; msgData,Int32类型)at SampleApp.DSAPIService.DSAPIServiceSoap.CreateAndSendEnvelope(信封 信封)
有没有人见过这个问题?我查看了API参考中的Envelope,Recipient,Document和Tab类型,但我没有看到任何guid字段。
答案 0 :(得分:0)
我发现了这个问题。看起来我错过了设置Envelope.AccountId字段。