Looking at the API, I do see support for Microsoft Word documents (MSW). Does this also support faxing of the newer XML format? or does the JobSubmit only support the DOC format?
Thanks.
Yes, the system supports the XML (.docx) format.
You would still use a document format of MSW, but you can include newer XML format document contents.
Is there anything special that needs to be done to enable this? I am using Messaging API 2.6 and the web reference generated by VS 2013 when I point to the EasyLink test site. This is part of creating a fax to be sent out.
I create an attachment by encoding the .docx file in Base64, adding it to the submission request and giving it a doc type of MSW. Same goes for .xlsx files, but the doc type is XLS.
No errors are generated from the submission request and the response states that it completed successfully. But the resultant fax contains a textual representation of the zip file rather than expanding it to the correct file (human readable).
You say you are encoding a .docx or a .xlsx file. Where does a zip file come into play?
A .docx or .xlsx file is actually a compressed zip containing one or more XML documents. This is the standard Microsoft OpenXML file format. If you look at a .docx file using a text editor like notepad or notepad++ you will see the first two characters displayed as PK. This is an indication that it is actually a .zip file (zipped using the same format used when sending a file to a compressed folder in Windows Explorer).
You shouldn't have to do anything special to make this work, as long as you are properly encoding the file that you submit.
Please provide a JobId and/or Processing ID for your API submissions and we can help you figure out what went wrong.