If you are unable to create a new account, please email support@bspsoftware.com

 

News:

MetaManager - Administrative Tools for IBM Cognos
Pricing starting at $2,100
Download Now    Learn More

Main Menu

SDK- able to login, but not able to execute report through SDK

Started by manishsahu, 05 Dec 2008 03:26:19 AM

Previous topic - Next topic

manishsahu

We have cognos 8.3 server :-
Scenario 1: - Anonymous access.
Executing report by using SDK is successful.

Scenario 2: - Active Directory Authentication.
NamespaceId â€" ads
Username â€" xyz
Password â€" xyz

We are able to login into cognos server successfully by SDK.
But when we are executing report we came across one exception 
   CM-REQ-4342 An error occurred with the client.
   CM-REQ-4159 Content Manager returned an error in the response header.

Below I have mention the log which is generated by executing java code:-

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 org.apache.axis.message.SOAPFaultBuilder.createFault(SOAPFaultBuilder.java:260)
        at org.apache.axis.message.SOAPFaultBuilder.endElement(SOAPFaultBuilder.java:169)
        at org.apache.axis.encoding.DeserializationContextImpl.endElement(DeserializationContextImpl.java:1015)
        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:345)
        at org.apache.axis.encoding.DeserializationContextImpl.parse(DeserializationContextImpl.java:242)
        at org.apache.axis.SOAPPart.getAsSOAPEnvelope(SOAPPart.java:538)
        at org.apache.axis.Message.getSOAPEnvelope(Message.java:376)
        at org.apache.axis.client.Call.invokeEngine(Call.java:2583)
        at org.apache.axis.client.Call.invoke(Call.java:2553)
        at org.apache.axis.client.Call.invoke(Call.java:2248)
        at org.apache.axis.client.Call.invoke(Call.java:2171)
        at org.apache.axis.client.Call.invoke(Call.java:1691)
        at com.cognos.developer.schemas.bibus._3.CognosReportNetBindingStub.execute(CognosReportNetBindingStub.java:5311)

sir_jeroen