ASG
IBM
Zystems
Cressida
Icon
Netflexity
 
  MQSeries.net
Search  Search       Tech Exchange      Education      Certifications      Library      Info Center      SupportPacs      LinkedIn  Search  Search                                                                   FAQ  FAQ   Usergroups  Usergroups
 
Register  ::  Log in Log in to check your private messages
 
RSS Feed - WebSphere MQ Support RSS Feed - Message Broker Support

MQSeries.net Forum Index » IBM MQ API Support » Websphere 5.3 - .NET Client

Post new topic  Reply to topic
 Websphere 5.3 - .NET Client « View previous topic :: View next topic » 
Author Message
shah_bonds
PostPosted: Thu Jun 28, 2007 1:31 pm    Post subject: Websphere 5.3 - .NET Client Reply with quote

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
View user's profile Send private message
jefflowrey
PostPosted: Thu Jun 28, 2007 1:35 pm    Post subject: Reply with quote

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
View user's profile Send private message
Display posts from previous:   
Post new topic  Reply to topic Page 1 of 1

MQSeries.net Forum Index » IBM MQ API Support » Websphere 5.3 - .NET Client
Jump to:  



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
Protected by Anti-Spam ACP
 
 


Theme by Dustin Baccetti
Powered by phpBB © 2001, 2002 phpBB Group

Copyright © MQSeries.net. All rights reserved.