壹佰网|ERP100 - 企业信息化知识门户

 找回密码
 注册

QQ登录

只需一步,快速开始

查看: 808|回复: 1

SDK试验,报错faultString: CM-REQ-4342

[复制链接]
发表于 2012/3/12 18:22:28 | 显示全部楼层 |阅读模式

马上注册,结交更多好友,享用更多功能,让你轻松玩转社区。如果您注册时有任何问题请联系客服QQ: 83569622  。

您需要 登录 才可以下载或查看,没有帐号?注册

x
本人新手, 试运行SDK下的AlertsUI.java
connection.connectToCognosServer();连接到服务器是报错
cmService.query(
     new SearchPathMultipleObject("/"),
     new PropEnum[] {},
     new Sort[] {},
     new QueryOptions());执行到这里时, 抛出异常java.rmi.RemoteException

具体内容如下:


AxisFault
faultCode: Client
faultSubcode:
faultString: CM-REQ-4342 An error occurred with the client.
faultActor:
faultNode:
faultDetail:
{http://developer.cognos.com/schemas/bibus/3/}exception:
     <severity>error</severity>
     <errorCode>cmHeaderFault</errorCode>
     <ns1:message>
      <messageString>CM-REQ-4159 Content Manager returned an error in the response header.</messageString>
     </ns1:message>
   

CM-REQ-4342 An error occurred with the client.
at com.cognos.org.apache.axis.message.SOAPFaultBuilder.createFault(SOAPFaultBuilder.java:261)
at com.cognos.org.apache.axis.message.SOAPFaultBuilder.endElement(SOAPFaultBuilder.java:170)
at com.cognos.org.apache.axis.encoding.DeserializationContextImpl.endElement(DeserializationContextImpl.java:1016)
at org.apache.xerces.parsers.AbstractSAXParser.endElement(Unknown Source)
at org.apache.xerces.impl.XMLNSDocumentScannerImpl.scanEndElement(Unknown Source)
at org.apache.xerces.impl.XMLDocumentFragmentScannerImpl$FragmentContentDispatcher.dispatch(Unknown Source)
at org.apache.xerces.impl.XMLDocumentFragmentScannerImpl.scanDocument(Unknown Source)
at org.apache.xerces.parsers.XML11Configuration.parse(Unknown Source)
at org.apache.xerces.parsers.DTDConfiguration.parse(Unknown Source)
at org.apache.xerces.parsers.XMLParser.parse(Unknown Source)
at org.apache.xerces.parsers.AbstractSAXParser.parse(Unknown Source)
at javax.xml.parsers.SAXParser.parse(SAXParser.java:395)
at com.cognos.org.apache.axis.encoding.DeserializationContextImpl.parse(DeserializationContextImpl.java:243)
at com.cognos.org.apache.axis.SOAPPart.getAsSOAPEnvelope(SOAPPart.java:539)
at com.cognos.org.apache.axis.Message.getSOAPEnvelope(Message.java:377)
at com.cognos.org.apache.axis.client.Call.invokeEngine(Call.java:2584)
at com.cognos.org.apache.axis.client.Call.invoke(Call.java:2554)
at com.cognos.org.apache.axis.client.Call.invoke(Call.java:2249)
at com.cognos.org.apache.axis.client.Call.invoke(Call.java:2172)
at com.cognos.org.apache.axis.client.Call.invoke(Call.java:1692)
at com.cognos.developer.schemas.bibus._3.ContentManagerServiceStub.query(ContentManagerServiceStub.java:5490)
at cognos.sdk.CRNConnect.connectToCognosServer(CRNConnect.java:182)
at cognos.sdk.AlertsUI.main(AlertsUI.java:417)
 楼主| 发表于 2012/3/12 18:22:46 | 显示全部楼层
通过SDK登陆Cognos需要认证,配置了一个Sunone通过了!
您需要登录后才可以回帖 登录 | 注册

本版积分规则

QQ|Archiver|小黑屋|手机版|壹佰网 ERP100 ( 京ICP备19053597号-2 )

Copyright © 2005-2012 北京海之大网络技术有限责任公司 服务器托管由互联互通
手机:13911575376
网站技术点击发送消息给对方83569622   广告&合作 点击发送消息给对方27675401   点击发送消息给对方634043306   咨询及人才点击发送消息给对方138011526

GMT+8, 2025/11/29 23:54 , Processed in 0.010709 second(s), 16 queries , File On.

Powered by Discuz! X3.4

Copyright © 2001-2020, Tencent Cloud.

快速回复 返回顶部 返回列表