Hi all,
I am working on business objects with Java web sdk on XI R3 version. When I am trying to create a web session with code like
URL objURLSession =new URL("http://boserver:port/dswsbobje/services/Session");
Connection objConnection = new Connection(objURLSession);
Session objSession = new Session(objConnection );
EnterpriseCredential objEnterpriseCredential = EnterpriseCredential.Factory.newInstance();
objEnterpriseCredential.setLogin(UserName);
objEnterpriseCredential.setPassword(sPassword);
objEnterpriseCredential.setDomain(sCMSName);
SessionInfo objSessionInfo = objSession.login(objEnterpriseCredential);
String strSessionID = objSession.getConnectionState().getSessionID();
I am getting error on the third line Session objSession = new Session(objConnection ); while creating session.
org.apache.axis2.AxisFault: constructor exception (Error: WSE 99999)
at com.businessobjects.dsws.Consumer.CreateAxisFault(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.businessobjects.webservice.BOCustomSecurity.boSessiontest(BOCustomSecurity.java:58)
at com.businessobjects.webservice.TokenWebservice.main(TokenWebservice.java:283)
I am using Eclipse for developing this application. I am unable to create a web session in .net as well with Java enterprise SDK.
Can anybody help me in creating java web session?
Thanks in advance,
Rajendra