我正在尝试做一些关于与JAVA API集成的Rightfax的POC。在Rightfax服务器( java /XML )中安装了所有必需的组件,并在运行示例java程序时配置了IIS (在安装rightfax服务器时要小心),得到以下消息
here are the details of the output in debug mode
<XML_FAX_SUBMIT java="1" stylesheet="XML_FAX_SUBMIT.xslt" xmlns="x-schema:XML_FAX_SUBMIT.xdr">
<INCLUDE_BEG>xml.beg</INCLUDE_BEG>
<SENDER>
<RF_USER>ADMINISTRATOR</RF_USER>
</SENDER>
<DESTINATIONS>
<FAX>
<TO_FAXNUM>555-7777</TO_FAXNUM>
</FAX>
</DESTINATIONS>
<BODY>
How about some body text.
Line 2
Line 3
</BODY>
<INCLUDE_END>xml.end</INCLUDE_END>
</XML_FAX_SUBMIT>
Initiating Connection to: http://<name>/rfxml/rfwebcon.dll
RETURN XML:
<?xml version="1.0"?>
<XML_FAX_SUBMIT_REPLY>
<FAX unique_id="unknown">
<STATUS_CODE>-1</STATUS_CODE>
<STATUS_MSG>Failed to load XML into DOM tree.</STATUS_MSG>
</FAX>
</XML_FAX_SUBMIT_REPLY>
Message Successfully Transported
ID: unknown
`Code`: -1
**Msg: Failed to load XML into DOM tree.**
Ended
could anyone help me if you come across this type of issue or any configuration is missing at Fax Server or IIS side. 发布于 2014-11-01 00:26:25
//Create a outbound fax object
RFaxSubmit faxSubmit= new RFaxSubmit();
//set XMLNS and make sure you have XML_FAX_SUBMIT_schema.xml in your classpath.
faxSubmit.m_FaxDocument.setXMLNS("classpath:XML_FAX_SUBMIT_schema.xml");此文件必须在您的RightFax服务器上可用,@ This location \RightFax\Production\xml\schemas\XML_FAX_SUBMIT_schema.xml下载此文件或询问服务器支持并将其添加到您的类路径中。
https://stackoverflow.com/questions/23275776
复制相似问题