title: DocuSign create and send envelope unspecified error
body: <p>I'm having some trouble getting the DocuSign API understood properly.</p>
  
  <p>My first task is to simply send and create an envelope. I created a PDF (in iOS) using a UIView and Core Graphics. I then went ahead and put Anchor tabs in the sections where I need signatures.</p>
  
  <p>Due to creating Anchor tabs, I am not sure if I should send my tabs as a part of the output.</p>
  
  <p>Here is my output body</p>
  
  <pre><code>&lt;soap:Envelope xmlns:soap="http://schemas.xmlsoap.org/soap/envelope/" xmlns:xsl="http://www.w3.org/1999/XSL/Transform" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:DSAPIService="http://www.docusign.net/API/3.0" xsl:version="1.0"&gt;
    &lt;soap:Body&gt;
      &lt;DSAPIService:CreateAndSendEnvelope&gt;
        &lt;DSAPIService:Envelope&gt;
          &lt;DSAPIService:AccountId&gt;(Account Id)&lt;/DSAPIService:AccountId&gt;
          &lt;DSAPIService:Documents&gt;
            &lt;DSAPIService:Document&gt;
              &lt;DSAPIService:ID&gt;1&lt;/DSAPIService:ID&gt;
              &lt;DSAPIService:Name&gt;(Name)&lt;/DSAPIService:Name&gt;
              &lt;DSAPIService:PDFBytes&gt;(PDF data)&lt;/DSAPIService:PDFBytes&gt;
            &lt;/DSAPIService:Document&gt;
          &lt;/DSAPIService:Documents&gt;
          &lt;DSAPIService:Recipients&gt;
            &lt;DSAPIService:Recipient&gt;
              &lt;DSAPIService:ID&gt;1&lt;/DSAPIService:ID&gt;
              &lt;DSAPIService:UserName&gt;(Signer 1)&lt;/DSAPIService:UserName&gt;
              &lt;DSAPIService:Email&gt;(Signer 1 email)&lt;/DSAPIService:Email&gt;
              &lt;DSAPIService:Type&gt;Signer&lt;/DSAPIService:Type&gt;
              &lt;DSAPIService:RoutingOrder&gt;0&lt;/DSAPIService:RoutingOrder&gt;
            &lt;/DSAPIService:Recipient&gt;
            &lt;DSAPIService:Recipient&gt;
              &lt;DSAPIService:ID&gt;2&lt;/DSAPIService:ID&gt;
              &lt;DSAPIService:UserName&gt;(Signer 2)&lt;/DSAPIService:UserName&gt;
              &lt;DSAPIService:Email&gt;(Signer 2 Email)/DSAPIService:Email&gt;
              &lt;DSAPIService:Type&gt;Signer&lt;/DSAPIService:Type&gt;
              &lt;DSAPIService:RoutingOrder&gt;1&lt;/DSAPIService:RoutingOrder&gt;
            &lt;/DSAPIService:Recipient&gt;
            &lt;DSAPIService:Recipient&gt;
              &lt;DSAPIService:ID&gt;3&lt;/DSAPIService:ID&gt;
              &lt;DSAPIService:UserName&gt;(Signer 3)&lt;/DSAPIService:UserName&gt;
              &lt;DSAPIService:Email&gt;(Signer 3 email)&lt;/DSAPIService:Email&gt;
              &lt;DSAPIService:Type&gt;InPersonSigner&lt;/DSAPIService:Type&gt;
              &lt;DSAPIService:CaptiveInfo/&gt;
              &lt;DSAPIService:RoutingOrder&gt;2&lt;/DSAPIService:RoutingOrder&gt;
            &lt;/DSAPIService:Recipient&gt;
            &lt;DSAPIService:Recipient&gt;
              &lt;DSAPIService:ID&gt;4&lt;/DSAPIService:ID&gt;
              &lt;DSAPIService:UserName&gt;(Signer 4)&lt;/DSAPIService:UserName&gt;
              &lt;DSAPIService:Email&gt;(Signer 4 email)&lt;/DSAPIService:Email&gt;
              &lt;DSAPIService:Type&gt;Signer&lt;/DSAPIService:Type&gt;
              &lt;DSAPIService:RoutingOrder&gt;3&lt;/DSAPIService:RoutingOrder&gt;
            &lt;/DSAPIService:Recipient&gt;
          &lt;/DSAPIService:Recipients&gt;
          &lt;DSAPIService:Tabs/&gt;
          &lt;DSAPIService:Subject&gt;(Subject)&lt;/DSAPIService:Subject&gt;
          &lt;DSAPIService:EmailBlurb&gt;Please sign the attached document.&lt;/DSAPIService:EmailBlurb&gt;
          &lt;DSAPIService:EnableWetSign&gt;true&lt;/DSAPIService:EnableWetSign&gt;
        &lt;/DSAPIService:Envelope&gt;
      &lt;/DSAPIService:CreateAndSendEnvelope&gt;
    &lt;/soap:Body&gt;
  &lt;/soap:Envelope&gt;
  </code></pre>
  
  <p>Here is my response</p>
  
  <pre><code>&lt;?xml version="1.0" encoding="utf-8"?&gt;&lt;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"&gt;&lt;soap:Header&gt;&lt;wsa:Action&gt;http://schemas.xmlsoap.org/ws/2004/08/addressing/fault&lt;/wsa:Action&gt;&lt;wsa:MessageID&gt;urn:uuid:9a22096c-ca51-4445-80fd-78c08f9b0f24&lt;/wsa:MessageID&gt;&lt;wsa:RelatesTo&gt;urn:uuid:7f921133-4834-402b-aaa7-769b7fa0042b&lt;/wsa:RelatesTo&gt;&lt;wsa:To&gt;http://schemas.xmlsoap.org/ws/2004/08/addressing/role/anonymous&lt;/wsa:To&gt;&lt;wsse:Security&gt;&lt;wsu:Timestamp wsu:Id="Timestamp-9b102c34-6215-4fd6-8f9c-f1cb6a30c080"&gt;&lt;wsu:Created&gt;2013-09-26T22:59:09Z&lt;/wsu:Created&gt;&lt;wsu:Expires&gt;2013-09-26T23:04:09Z&lt;/wsu:Expires&gt;&lt;/wsu:Timestamp&gt;&lt;/wsse:Security&gt;&lt;/soap:Header&gt;&lt;soap:Body&gt;&lt;soap:Fault&gt;&lt;faultcode&gt;soap:Server&lt;/faultcode&gt;&lt;faultstring&gt;Unspecified_Error&lt;/faultstring&gt;&lt;faultactor&gt;https://www.docusign.net/api/3.0/DSAPI.asmx&lt;/faultactor&gt;&lt;detail&gt;&lt;ErrorCode xmlns="missing in Web.Config"&gt;1&lt;/ErrorCode&gt;&lt;ErrorReason xmlns="missing in Web.Config"&gt;An Error Occurred.&lt;/ErrorReason&gt;&lt;/detail&gt;&lt;/soap:Fault&gt;&lt;/soap:Body&gt;&lt;/soap:Envelope&gt;
  namespace error : xmlns: 'missing in Web.Config' is not a valid URI
  /api/3.0/DSAPI.asmx&lt;/faultactor&gt;&lt;detail&gt;&lt;ErrorCode xmlns="missing in Web.Config"
                                                                                 ^
  namespace error : xmlns: 'missing in Web.Config' is not a valid URI
  ="missing in Web.Config"&gt;1&lt;/ErrorCode&gt;&lt;ErrorReason xmlns="missing in Web.Config"
                                                                                 ^
  2013-09-26 15:59:09.107 (iOS App Name)[89329:4003] DSAPIService_CreateAndSendEnvelope soap call failed:
  
   ************
  Unspecified_Error
   ************
  </code></pre>
  
  <p>I looked through the Documentation for the service quite thoroughly but I am really unsure how automatic anchor tabs fit in, if they fit in, to the API.</p>
  
  <p>Do I still add tabs even though I am attempting to use the automatic Anchor tabs by putting all my fields that I want to use as /s1/ /s2/, etc. I can't see anything else being the issue on why the call failed.</p>
  
  <p>Edit: I now see I need to add tabs regardless of automatic anchoring. How would I add the tabs automatic anchors for signatures, dates, and title?</p>