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 » WebSphere Message Broker (ACE) Support » Configurable Service

Post new topic  Reply to topic
 Configurable Service « View previous topic :: View next topic » 
Author Message
WakeUpSid
PostPosted: Tue Jun 22, 2010 7:25 am    Post subject: Configurable Service Reply with quote

Novice

Joined: 22 Jun 2010
Posts: 10

Is it possible to read a configurable service from ESQL? We have need to pass credentials in the process of invoking a service from an external system.

Would like to leverage configurable service to be abstract from the code.

Any suggestions ?

--
Sid
Back to top
View user's profile Send private message
mqjeff
PostPosted: Tue Jun 22, 2010 7:36 am    Post subject: Reply with quote

Grand Master

Joined: 25 Jun 2008
Posts: 17447

Please be much more specific about what particular kind of external system you are accessing and how you expect to access it from ESQL.

There is no ESQL statement that will let you do the equivalent function of mqsireportproperties.
Back to top
View user's profile Send private message
WakeUpSid
PostPosted: Tue Jun 22, 2010 7:57 am    Post subject: Reply with quote

Novice

Joined: 22 Jun 2010
Posts: 10

We have to invoke a web service (REST based) to an external partner and need to include the user/pwd in the payload.

We have come up with options to avoid to hard code in ESQL. (file system, db, JAVA app etc.,) and we came across the configurable service.

The question is can we leverage configurable service to create an alias or some, similar to db DNS and use it in our ESQL.

--
Sid
Back to top
View user's profile Send private message
mqjeff
PostPosted: Tue Jun 22, 2010 8:16 am    Post subject: Reply with quote

Grand Master

Joined: 25 Jun 2008
Posts: 17447

I suspect someone who knows a lot more about calling REST services from Broker will be along shortly.

I would use a User Defined Property for this, myself.
Back to top
View user's profile Send private message
n1ghtrain
PostPosted: Wed Jun 23, 2010 2:40 am    Post subject: Reply with quote

Apprentice

Joined: 23 Mar 2006
Posts: 48
Location: Bangalore

I faced a similar issue while making Basic HTTP authentication on HTTP Request (REST Based). Wanted to avoid hardcoding the password in esql.

User Defined Properties were not really helpful, as I don't want to redeploy each time passwords change in LDAP. So went with storing the password in an encrypted field in database and caching the value in Broker. (Wish if i can use a custom template for Configurable Service or something like mqsisetdbparms and use it in Code). Also thinking of TFIM as an option to do the identity mapping. Any suggestions/ experiences.?
Back to top
View user's profile Send private message Yahoo Messenger
mqjeff
PostPosted: Wed Jun 23, 2010 3:04 am    Post subject: Reply with quote

Grand Master

Joined: 25 Jun 2008
Posts: 17447

You don't need to redeploy to change a UDP, in 6.1 and 7. You can update the values using CMP based admin tooling and then restart the EG.
Back to top
View user's profile Send private message
n1ghtrain
PostPosted: Wed Jun 23, 2010 5:57 am    Post subject: Reply with quote

Apprentice

Joined: 23 Mar 2006
Posts: 48
Location: Bangalore

This is perfect.. tried it from MB Explorer , worked even without exec. group restart.. Thanks for the tip mqjeff
(Next stop: security guy's desk to convince him that there is no harm in putting password as clear text )
Back to top
View user's profile Send private message Yahoo Messenger
Display posts from previous:   
Post new topic  Reply to topic Page 1 of 1

MQSeries.net Forum Index » WebSphere Message Broker (ACE) Support » Configurable Service
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.