|
RSS Feed - WebSphere MQ Support
|
RSS Feed - Message Broker Support
|
 |
|
Websphere 5.3 - .NET Client |
« View previous topic :: View next topic » |
Author |
Message
|
shah_bonds |
Posted: Thu Jun 28, 2007 1:31 pm Post subject: Websphere 5.3 - .NET Client |
|
|
Newbie
Joined: 28 Jun 2007 Posts: 1 Location: Mill Valley, CA
|
Hi All,
I am trying to connect to a Websphere MQ server Ver 5.3 from a .NET application. I downloaded the client softeare (IA9H) from IBM, but I cannot get connected to our MQ service. I was wondering if anyone has any experience with what I am trying to do, and has had success with other approaches/products?
The following is a code snippet that I am using:
using IBM.XMS
.
.
XMSFactoryFactory factoryFactory = XMSFactoryFactory.GetInstance ( XMSC.CT_RTT );
IConnectionFactory connectionFactory = factoryFactory.CreateConnectionFactory();
I then set some of the specific parameters using the :
connectionFactory.SetStringProperty
such as XMSC.RTT_HOST_NAME, XMSC.RTT_PORT,
and then I try the method:
IConnection connection = connectionFactory.CreateConnection();
This fails on an authentication error, even though our Websphere MQ server doesn't require login information to connect.
Any assistance would be very much appreciated.
TIA,
Shahryar |
|
Back to top |
|
 |
jefflowrey |
Posted: Thu Jun 28, 2007 1:35 pm Post subject: |
|
|
Grand Poobah
Joined: 16 Oct 2002 Posts: 19981
|
XMS is going to forward the identity of the windows user running the .NET program to the qmgr.
The qmgr is then going to try and authorize that user against itself and it's resources.
You can
1) ask your MQ admins to authorize you
2) ask them to create a special client channel that has an MCAUser that has the right authorizations
3) change what user is running the .NET program
MQ doesn't require "login", but it does require authorization. _________________ I am *not* the model of the modern major general. |
|
Back to top |
|
 |
|
|
 |
|
Page 1 of 1 |
|
You cannot post new topics in this forum You cannot reply to topics in this forum You cannot edit your posts in this forum You cannot delete your posts in this forum You cannot vote in polls in this forum
|
|
|
|