Skip to Content

Archived discussions are read-only. Learn more about SAP Q&A

Not able to get report information from BO XI2 through Webservice

Hi All,

Can anybody help me out with some sample code about ,

Getting the report / document Information from BO XI2 platform through JAVA webservice.

I have also tried with Java consumer libraries and wondered a lot but most of the sample code is using the consumer jars.

Can anybody confirm me that, BIPlatform is another service need to be available in server??? if yes in which version of BO its coming with.

Getting Error with below code,

URL boConURL = new URL(

"http://<host_name>:<port>/dswsbobje/services/session");

Connection boConnection = new Connection(

boConURL);

EnterpriseCredential boCredential = new EnterpriseCredential();

boCredential.setLogin("dipan");

boCredential.setPassword("dipan");

boCredential.setDomain("bo.cms");

boCredential.setAuthType("secEnterprise");

Session boSession = new Session(boConnection);

SessionInfo sessionInfo = boSession.login(boCredential);

Error Stacktrace

-


AxisFault

faultCode: Server.generalException

faultSubcode:

faultString:

faultActor:

faultNode:

faultDetail:

exceptionName:com.businessobjects.dsws.DSWSException

stackTrace:

at com.businessobjects.dsws.Consumer.createDSWSException(Unknown Source)

at com.businessobjects.dsws.Consumer.propagateAsDSWSException(Unknown Source)

at com.businessobjects.dsws.Consumer.&lt;init&gt;(Unknown Source)

at com.businessobjects.dsws.session.Session.&lt;init&gt;(Unknown Source)

at com.util.TestBo_New.main(TestBo_New.java:25)

hostname:Manoj-Kumar-Nayak.local

at com.businessobjects.dsws.Consumer.createDSWSException(Unknown Source)

at com.businessobjects.dsws.Consumer.propagateAsDSWSException(Unknown Source)

at com.businessobjects.dsws.Consumer.<init>(Unknown Source)

at com.businessobjects.dsws.session.Session.<init>(Unknown Source)

at com.util.TestBo_New.main(TestBo_New.java:25)

Please have a look and suggest.

Thanks in Advance,

Manoj

Edited by: M.K.Nayak on May 11, 2011 9:51 AM

Edited by: M.K.Nayak on May 11, 2011 9:52 AM

Former Member

Helpful Answer

by
Not what you were looking for? View more on this topic or Ask a question