报错信息:
AxisFault
faultCode: Server
faultSubcode:
faultString: The server did something wrong
faultActor:
faultNode:
faultDetail:
{http://developer.cognos.com/schemas/bibus/3/}exception:
The server did something wrong
java代码:
URL dispatchUrl = new URL(this.dispatchPath);
// 初始化contentService
ContentManagerService_ServiceLocator cmServiceLocator =
new ContentManagerService_ServiceLocator();
this.contentManagerService = cmServiceLocator.getcontentManagerService(dispatchUrl);
this.contentManagerService.logon(
buildXml4Logon(namespace,username, password),
new SearchPathSingleObject[] {}
);
// 生成passport字符串
SOAPHeaderElement headerElement = ((Stub) this.contentManagerService)
.getResponseHeader(
"http://developer.cognos.com/schemas/bibus/3/",
"biBusHeader"
);
执行到:this.contentManagerService.logon时报上述错误。是不是http://www.ibm.com/xmlns/prod/cognos/contentManagerService/201101/会有问题吗?但在网上找到资料都是这样写法。