Faxes with PDF files are not sending
We are using the fax api to send faxes (https://test2messaging.easylink.com/soap/sync). Faxes with word or tiff files are processed fine. However, faxes that include a pdf remain in job status of PROCESSING -- never being sent.
One of the job ids is XDN: test2 MRN: 100666328
This is the code that attaches the documents. The document.Data is a byte array of the file, and the DocType is being set to PDF. As mentioned above, it works fine for word and tiff files, but not for pdf files. Please help. Thanks
// Add the documents and content
var index = 0;
foreach (var document in outboundFax.Documents)
{
// Setup reusable variables for the document
var docData = new DocDataType();
jsDocuments[index] = new DocumentType();
// Setup Document
docData.format = DocEncodingFormat.base64;
docData.Value = Convert.ToBase64String(document.Data, 0, document.Data.Length);
jsDocuments[index].Item = docData;
var docFileName = new EasyLinkJobSubmit.EncodableStringType()
{
Value = document.Name.IsNullOrEmpty() ? "doc" + index : Path.GetFileName(document.Name)
};
jsDocuments[index].Filename = docFileName;
jsDocuments[index].DocType = EasyLinkDocType(document.Type);
jsDocuments[index].ItemElementName = EasyLinkJobSubmit.ItemChoiceType.DocData;
jsDocuments[index].@ref = "Doc" + index;
// Setup Content
jsContent[index] = new ContentPartType
{
Item = jsDocuments[index].@ref,
Treatment = index == 0 ? TreatmentType.body : TreatmentType.attachment,
TreatmentSpecified = true
};
index = index + 1;
}
Comments
-
It is set to PDF. I attached the request xml. I stripped out some of the DocData info to make it small enough to upload. The PDF in this example is 1.14MB. Is there a file size limitation in your test and/or prod api? If you want the entire request xml, please send me your email address.
The Eaylink test url is:
https://test2messaging.easylink.com/soap/sync
The Request is: JobSubmit (http://ws.easylink.com/JobSubmit/2011/01?WSDL)
The response to JobSumit is below.-<ArrayOfMessageResultType xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
-<MessageResultType><MessageId xmlns="http://ws.easylink.com/JobSubmit/2011/01">Event - HQ-DEVS-STA-14 - 1/19/2018 2:08:53 PM</MessageId>
-<Status xmlns="http://ws.easylink.com/JobSubmit/2011/01"><StatusCode>0</StatusCode>
<StatusMessage>OK</StatusMessage>
<SubmissionTime>2018-01-19T19:08:57.931Z</SubmissionTime>
<CompletionTime>2018-01-19T19:08:59.709Z</CompletionTime>
</Status>
-<JobId xmlns="http://ws.easylink.com/JobSubmit/2011/01"><XDN>test2</XDN>
<MRN>100752385</MRN>
</JobId>
</MessageResultType>
</ArrayOfMessageResultType>
0
Categories
- All Categories
- 111 Developer Announcements
- 49 Articles
- 103 General Questions
- 123 IM Services
- 40 OpenText Hackathon
- 31 Developer Tools
- 20.6K Analytics
- 4.1K AppWorks
- 8.9K Extended ECM
- 897 Cloud Fax and Notifications
- 77 Digital Asset Management
- 9.3K Documentum
- 29 eDOCS
- 123 Exstream
- 39.8K TeamSite
- 1.7K Web Experience Management
- 1 XM Fax