473,387 Members | 3,781 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,387 software developers and data experts.

apache axis 1.1 - 1.3 compatibility

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
0 3918

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

Similar topics

2
by: Mike | last post by:
I am sure that I am making a simple boneheaded mistake and I would appreciate your help in spotting in. I have just installed apache_2.0.53-win32-x86-no_ssl.exe php-5.0.3-Win32.zip...
1
by: JD | last post by:
Hello everybody, web services are still new for me ; I've just created a basic one with Apache soap which only receive and send a string. But now, I'd like to create one which will be able to...
0
by: mjcsfo | last post by:
I can't seem to find a reference nor any helpful threads on this topic. I've gotten the following error in two circumstances: 1. A complex type has nested within it another complex type, in the...
2
by: Artur | last post by:
Hi Newsgroup, im currently working on programming a asp.net application consuming an Webservice hosted on Apache/Axis. I have generated WSDL and Proxy classes from VisualStudio.net. But when...
4
by: Jens | last post by:
Hello, i am trying to call a Apache WebService, which accepts NULL-Values for some Parameters of a specific Web-Method. NULL-Values are mapped within the soap-request by the .NET Client...
7
by: milkyway | last post by:
Hello all, I am new to the Axis world. I was just trying to understand something. Basically, Apache Axis will allow one to put web services on the Apache server? I am running apache2. Is there a...
4
by: Lucvdv | last post by:
I have to connect to a server set up by the government, where they used Apache Axis to create a webservice. The code I use to interface to the webservice is generated by wsdl.exe, based on a...
4
by: nawrin22 | last post by:
hi.. I am a niwebie in 'AXIS' . but i had correctly installed it without any problem with the help of 'apache.axis.install.pdf' and also tested the examples under 'samples\userguide' directoy...
1
by: karthikpallavi | last post by:
Hi Everyone, I am battling an issue and I figured one of you guys on this forum may be able to help. I have a developed an application in java to access Microsoft Dynamics 10.0 through Web...
0
by: taylorcarr | last post by:
A Canon printer is a smart device known for being advanced, efficient, and reliable. It is designed for home, office, and hybrid workspace use and can also be used for a variety of purposes. However,...
0
by: aa123db | last post by:
Variable and constants Use var or let for variables and const fror constants. Var foo ='bar'; Let foo ='bar';const baz ='bar'; Functions function $name$ ($parameters$) { } ...
0
by: ryjfgjl | last post by:
If we have dozens or hundreds of excel to import into the database, if we use the excel import function provided by database editors such as navicat, it will be extremely tedious and time-consuming...
0
by: ryjfgjl | last post by:
In our work, we often receive Excel tables with data in the same format. If we want to analyze these data, it can be difficult to analyze them because the data is spread across multiple Excel files...
0
by: emmanuelkatto | last post by:
Hi All, I am Emmanuel katto from Uganda. I want to ask what challenges you've faced while migrating a website to cloud. Please let me know. Thanks! Emmanuel
1
by: nemocccc | last post by:
hello, everyone, I want to develop a software for my android phone for daily needs, any suggestions?
1
by: Sonnysonu | last post by:
This is the data of csv file 1 2 3 1 2 3 1 2 3 1 2 3 2 3 2 3 3 the lengths should be different i have to store the data by column-wise with in the specific length. suppose the i have to...
0
marktang
by: marktang | last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However,...
0
by: Hystou | last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.