Skip to Content
0
Dec 10, 2008 at 08:55 AM

Create a session to XI 3.0 server using .Net WS SDK

26 Views

I'm tring to get a session connection to server but i get an exception.

the following is the code

try

{

connection = new Connection("http://WDFD00204836A:8080/dswsbobje/services/Session");

session = new Session(connection);

}

catch (Exception ex)

{

}

here is the details of the Exception

constructor exception (Error: WSE 99999)

trace stack

at BusinessObjects.DSWS.Consumer..ctor(Connection objConnection, ConnectionState objConnectionState, String strWebServiceMethod)

at BusinessObjects.DSWS.Session.Session..ctor(Connection connection)

at WindowsApplication8.Form1.button1_Click(Object sender, EventArgs e)

Any idea why