By using this site, you agree to our updated Privacy Policy and our Terms of Use. Manage your Cookies Settings.
440,159 Members | 1,941 Online
Bytes IT Community
+ Ask a Question
Need help? Post your question and get tips & solutions from a community of 440,159 IT Pros & Developers. It's quick & easy.

apache axis 1.1 - 1.3 compatibility

P: 2
I am using a business objects API that is a web service and has axis as dependency. it works fine with 1.1 version, but with 1.3 gives an error. The code is as follows:

public void initWSConnection()
{
try{
String biCatalogURL = "http://" + super.getServerHostName() + ":" + PORT_NUMBER + BI_CATALOG_DIRECTORY ;
URL boConURL = new URL(biCatalogURL);

boConnection = new Connection(boConURL);
boSession = new Session(boConnection);

EnterpriseCredential boCredential = new EnterpriseCredential();
boCredential.setLogin(this.getUnvDesktopUsername() );
boCredential.setPassword(this.getUnvDesktopPasswor d());
boCredential.setDomain(this.getUnvDesktopPassword( ));
SessionInfo boSI = boSession.login(boCredential);
}catch(Exception e){
logger.log(Level.WARNING,"unable to establish session",e);
e.printStackTrace();
}
}


and the error is :


WARNING: unable to establish session
AxisFault
faultCode: {http://schemas.xmlsoap.org/soap/envelope/}Server.generalException
faultSubcode:
faultString:
faultActor:
faultNode:
faultDetail:
{http://xml.apache.org/axis/}exceptionName:com.businessobjects.dsws.DSWSExcept ion
{http://xml.apache.org/axis/}stackTrace:
at com.businessobjects.dsws.Consumer.createDSWSExcept ion(Unknown Source)
at com.businessobjects.dsws.Consumer.propagateAsDSWSE xception(Unknown Source)
at com.businessobjects.dsws.Consumer.<init>(Unk nown Source)
at com.businessobjects.dsws.session.Session.<init& gt;(Unknown Source)
at com.dag.mc.biz.activelinx.emf.snapshot.boxireporti ng.BoxiReportingConnectionHelper.initWSConnection( BoxiReportingConnectionHelper.java:181)
at com.dag.mc.biz.activelinx.emf.snapshot.boxireporti ng.BoxiReportingConnectionHelper.initAllServerConn ections(BoxiReportingConnectionHelper.java:142)
at com.dag.mc.biz.activelinx.emf.snapshot.boxireporti ng.BoxiReportingEmfMapper.startup(BoxiReportingEmf Mapper.java:103)
at com.dag.mc.biz.activelinx.emf.snapshot.DefaultEmfM apper.createResource(DefaultEmfMapper.java:170)
at com.dag.mc.biz.autorun.BoxiReportingSnapshotComman d.execute(BoxiReportingSnapshotCommand.java:77)
at com.dag.mc.biz.autorun.AutoRun.handleCommand(AutoR un.java:287)
at com.dag.mc.biz.autorun.AutoRun.main(AutoRun.java:1 67)

{http://xml.apache.org/axis/}hostname:xyz


at com.businessobjects.dsws.Consumer.createDSWSExcept ion(Unknown Source)
at com.businessobjects.dsws.Consumer.propagateAsDSWSE xception(Unknown Source)
at com.businessobjects.dsws.Consumer.<init>(Unknown Source)
at com.businessobjects.dsws.session.Session.<init>(Un known Source)
at com.dag.mc.biz.activelinx.emf.snapshot.boxireporti ng.BoxiReportingConnectionHelper.initWSConnection( BoxiReportingConnectionHelper.java:181)
at com.dag.mc.biz.activelinx.emf.snapshot.boxireporti ng.BoxiReportingConnectionHelper.initAllServerConn ections(BoxiReportingConnectionHelper.java:142)
at com.dag.mc.biz.activelinx.emf.snapshot.boxireporti ng.BoxiReportingEmfMapper.startup(BoxiReportingEmf Mapper.java:103)
at com.dag.mc.biz.activelinx.emf.snapshot.DefaultEmfM apper.createResource(DefaultEmfMapper.java:170)
at com.dag.mc.biz.autorun.BoxiReportingSnapshotComman d.execute(BoxiReportingSnapshotCommand.java:77)
at com.dag.mc.biz.autorun.AutoRun.handleCommand(AutoR un.java:287)
at com.dag.mc.biz.autorun.AutoRun.main(AutoRun.java:1 67)
AxisFault
faultCode: {http://schemas.xmlsoap.org/soap/envelope/}Server.generalException
faultSubcode:
faultString:
faultActor:
faultNode:
faultDetail:
{http://xml.apache.org/axis/}exceptionName:com.businessobjects.dsws.DSWSExcept ion
{http://xml.apache.org/axis/}stackTrace:
at com.businessobjects.dsws.Consumer.createDSWSExcept ion(Unknown Source)
at com.businessobjects.dsws.Consumer.propagateAsDSWSE xception(Unknown Source)
at com.businessobjects.dsws.Consumer.&lt;init&gt;(Unk nown Source)
at com.businessobjects.dsws.session.Session.&lt;init& gt;(Unknown Source)
at com.dag.mc.biz.activelinx.emf.snapshot.boxireporti ng.BoxiReportingConnectionHelper.initWSConnection( BoxiReportingConnectionHelper.java:181)
at com.dag.mc.biz.activelinx.emf.snapshot.boxireporti ng.BoxiReportingConnectionHelper.initAllServerConn ections(BoxiReportingConnectionHelper.java:142)
at com.dag.mc.biz.activelinx.emf.snapshot.boxireporti ng.BoxiReportingEmfMapper.startup(BoxiReportingEmf Mapper.java:103)
at com.dag.mc.biz.activelinx.emf.snapshot.DefaultEmfM apper.createResource(DefaultEmfMapper.java:170)
at com.dag.mc.biz.autorun.BoxiReportingSnapshotComman d.execute(BoxiReportingSnapshotCommand.java:77)
at com.dag.mc.biz.autorun.AutoRun.handleCommand(AutoR un.java:287)
at com.dag.mc.biz.autorun.AutoRun.main(AutoRun.java:1 67)

{http://xml.apache.org/axis/}hostname:xyz


at com.businessobjects.dsws.Consumer.createDSWSExcept ion(Unknown Source)
at com.businessobjects.dsws.Consumer.propagateAsDSWSE xception(Unknown Source)
at com.businessobjects.dsws.Consumer.<init>(Unknown Source)
at com.businessobjects.dsws.session.Session.<init>(Un known Source)
at com.dag.mc.biz.activelinx.emf.snapshot.boxireporti ng.BoxiReportingConnectionHelper.initWSConnection( BoxiReportingConnectionHelper.java:181)
at com.dag.mc.biz.activelinx.emf.snapshot.boxireporti ng.BoxiReportingConnectionHelper.initAllServerConn ections(BoxiReportingConnectionHelper.java:142)
at com.dag.mc.biz.activelinx.emf.snapshot.boxireporti ng.BoxiReportingEmfMapper.startup(BoxiReportingEmf Mapper.java:103)
at com.dag.mc.biz.activelinx.emf.snapshot.DefaultEmfM apper.createResource(DefaultEmfMapper.java:170)
at com.dag.mc.biz.autorun.BoxiReportingSnapshotComman d.execute(BoxiReportingSnapshotCommand.java:77)
at com.dag.mc.biz.autorun.AutoRun.handleCommand(AutoR un.java:287)
at com.dag.mc.biz.autorun.AutoRun.main(AutoRun.java:1 67)

I am not sure if this is an issue with axis and can be solved by configuring the relevant files w.r.t axis properly, or it is a business objects issue. Please advise.
Thanks,
Aug 3 '07 #1
Share this question for a faster answer!
Share on Google+

Post your reply

Sign in to post your reply or Sign up for a free account.