• Global community
    • Language:
      • Deutsch
      • English
      • Español
      • Français
      • Português
  • 日本語コミュニティ
    Dedicated community for Japanese speakers
  • 한국 커뮤니티
    Dedicated community for Korean speakers
Exit
0

Soap API - 500 Internal Server Error

New Here ,
Sep 23, 2018 Sep 23, 2018

Copy link to clipboard

Copied

I have a legacy app that was working, but is now failing with the SOAP api.

Since I don't have time to re-code for the REST api immediately, so have to get this working for now.

Currently try to get test sendDocument via SoapUI, and just getting a 501 response from the server, with an error message that means nothing useful to me.

Anyone have any idea what's breaking it here?

This should be the minimum required data (with some things anonymized), if I leave anything else out it gives an appropriate error:

Test Data:

https://secure.na1.echosign.com/services/EchoSignDocumentService22

Request:

<soapenv:Envelope

  xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/"

  xmlns:api="http://api.echosign"

  xmlns:dto="http://dto.api.echosign"

  xmlns:dto2="http://dto21.api.echosign"

  xmlns:dto9="http://dto9.api.echosign"

  xmlns:dto21="http://dto20.api.echosign"

  xmlns:dto1="http://dto14.api.echosign"

  xmlns:dto11="http://dto18.api.echosign"

  xmlns:dto12="http://dto19.api.echosign"

  >

   <soapenv:Header/>

   <soapenv:Body>

      <api:sendDocument>

         <api:apiKey>###MY API KEY###</api:apiKey>

         <api:senderInfo>

            <dto:userKey>###MY USER KEY###</dto:userKey>

         </api:senderInfo>

         <api:documentCreationInfo>

            <dto:fileInfos>

               <dto:FileInfo>

                  <dto:fileName>123456.pdf</dto:fileName>

                  <dto:url>###URL TO SAMPLE PDF FILE###</dto:url>

               </dto:FileInfo>

            </dto:fileInfos>

            <dto:message>I am a potato.</dto:message>

            <dto:name>TEST</dto:name>

            <dto:recipients>

               <dto1:RecipientInfo>

                  <dto1:email>###MY EMAIL###</dto1:email>

                  <dto1:role>SIGNER</dto1:role>

               </dto1:RecipientInfo>

            </dto:recipients>

         </api:documentCreationInfo>

      </api:sendDocument>

   </soapenv:Body>

</soapenv:Envelope>

Response is:

HTTP/1.1 500 Internal Server Error

Date: Sun, 23 Sep 2018 23:25:11 GMT

Server: Apache

Strict-Transport-Security: max-age=31536000;

X-XSS-Protection: 1; mode=block

X-Content-Type-Options: nosniff

X-Robots-Tag: none

P3P: CP="IDC DSP COR ADM DEVi TAIi PSA PSD IVAi IVDi CONi HIS OUR IND CNT"

Connection: close

Transfer-Encoding: chunked

Content-Type: text/xml;charset=UTF-8

<soap:Envelope xmlns:soap="http://schemas.xmlsoap.org/soap/envelope/" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">

   <soap:Body>

      <soap:Fault>

         <faultcode>soap:Server</faultcode>

         <faultstring>apiActionId=CBJCHBCAABAAo0scmCeb0bkMBa1XTJwKn0XH0FHaz5y8</faultstring>

      </soap:Fault>

   </soap:Body>

</soap:Envelope>

-Phil

Views

1.4K

Translate

Translate

Report

Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
Adobe Employee ,
Oct 03, 2018 Oct 03, 2018

Copy link to clipboard

Copied

check your url and ensure the pdf is served from a secure https link and not regular http.

Votes

Translate

Translate

Report

Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
New Here ,
Oct 03, 2018 Oct 03, 2018

Copy link to clipboard

Copied

Have just tried it with a https:// url, same result.

Votes

Translate

Translate

Report

Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
Adobe Employee ,
Oct 04, 2018 Oct 04, 2018

Copy link to clipboard

Copied

LATEST

Can only suggest some troubleshooting here

If you have something like SOAPUI it may help speed up testing.

first try with a different file source, instead of a url, upload a file or use a librarydoc id instead.

If no errors, ensure your file is publicly accessible from that link.

If an error still occurs, there's like a different issue in the request.

For example if you set senderInfo, try nilling that. Without a senderinfo the user who owns the api key will be assumed the sender.

finally if still no luck see if if you can do the request in REST api on the swagger pager here:

REST API — Document e-signature Software — Adobe Sign

Votes

Translate

Translate

Report

Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines