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 » Changing the development values in testing environment

Post new topic  Reply to topic
 Changing the development values in testing environment « View previous topic :: View next topic » 
Author Message
bharathi.tech12
PostPosted: Wed May 29, 2013 10:58 am    Post subject: Changing the development values in testing environment Reply with quote

Voyager

Joined: 14 May 2013
Posts: 93

HI,

I have developed a message flow using my development environment WSDL file. I configure the WSDL in SOAP Request node and deployed in development environment and working good. i wand to change my endpoint url based on my runtime environment without changing my flow. Using some properties files to update with my values and the key should be mapped in my node. Not only for this SOAP Request node and other node(FileInput,HTTPInput). I know there is Endpoint Lookup node. I don’t want hard code values in nodes.


Is this possible or any other way we can?

Thanks for your support.
Back to top
View user's profile Send private message
lancelotlinc
PostPosted: Wed May 29, 2013 11:07 am    Post subject: Reply with quote

Jedi Knight

Joined: 22 Mar 2010
Posts: 4941
Location: Bloomington, IL USA

Most people use bar file overrides to do this. Endpoint lookup nodes are useful if you have WSRR server. Have you attended the nine day training class?
_________________
http://leanpub.com/IIB_Tips_and_Tricks
Save $20: Coupon Code: MQSERIES_READER
Back to top
View user's profile Send private message Send e-mail
Vitor
PostPosted: Wed May 29, 2013 11:35 am    Post subject: Reply with quote

Grand High Poobah

Joined: 11 Nov 2005
Posts: 26093
Location: Texas, USA

lancelotlinc wrote:
Have you attended the nine day training class?


I think we established "no" in this thread.
_________________
Honesty is the best policy.
Insanity is the best defence.
Back to top
View user's profile Send private message
bharathi.tech12
PostPosted: Wed May 29, 2013 12:09 pm    Post subject: Reply with quote

Voyager

Joined: 14 May 2013
Posts: 93

lancelotlinc wrote:
Most people use bar file overrides to do this. Endpoint lookup nodes are useful if you have WSRR server. Have you attended the nine day training class?


Thanks for your support.
We are using the licensed product for learning.
Back to top
View user's profile Send private message
smdavies99
PostPosted: Wed May 29, 2013 9:09 pm    Post subject: Reply with quote

Jedi Council

Joined: 10 Feb 2003
Posts: 6076
Location: Somewhere over the Rainbow this side of Never-never land.

If I recall correctly,

1) Don't put the IP address in the SOAP Input Node or WSDL
2) Don't put the Port Number in the SOAP Input Node or WSDL

Then the deployment will override them with the configured values. This handles the different environments for you. No need for those pesky barfile overrides

It has been a while since I dabbled/struggled/got frustrated with WebServices though. All my current interfaces use WMQ, HTTP or IP.
We have just about banned the use of barfile overrides btw. We have other mechanisms to take care of the differences between environments
_________________
WMQ User since 1999
MQSI/WBI/WMB/'Thingy' User since 2002
Linux user since 1995

Every time you reinvent the wheel the more square it gets (anon). If in doubt think and investigate before you ask silly questions.
Back to top
View user's profile Send private message
Tech1621
PostPosted: Thu May 30, 2013 12:35 am    Post subject: Re: Changing the development values in testing environment Reply with quote

Novice

Joined: 29 May 2013
Posts: 23

bharathi.tech12 wrote:
HI,

I have developed a message flow using my development environment WSDL file. I configure the WSDL in SOAP Request node and deployed in development environment and working good. i wand to change my endpoint url based on my runtime environment without changing my flow. Using some properties files to update with my values and the key should be mapped in my node. Not only for this SOAP Request node and other node(FileInput,HTTPInput). I know there is Endpoint Lookup node. I don’t want hard code values in nodes.


Is this possible or any other way we can?

Thanks for your support.


Yes there is a way,
You can use ANT Script in WMB toolkit itself
Using this u can create as well as over ride the bar file according to your different .property files
you can have test.property
dev.property etc according to environment

Just Google it and you will get what you are searching for..
_________________
Anything is easy if you believe in yourself..
Back to top
View user's profile Send private message
bharathi.tech12
PostPosted: Thu May 30, 2013 5:53 am    Post subject: Reply with quote

Voyager

Joined: 14 May 2013
Posts: 93

Hi,

Thanks for every one. We are using too costly tool even though we need to write ant script is really not worth.

We are also not ready to override the .bar file after testing.

Is there any other way to configure those vaules in broker admin and we can map into the nodes?
Back to top
View user's profile Send private message
mb01mqbrkrs
PostPosted: Thu May 30, 2013 5:57 am    Post subject: Reply with quote

Apprentice

Joined: 18 Nov 2011
Posts: 48

We use db lookups for SOAP endpoints - I'd rather that we used configservices (such as the ones for SAP and FTP servers) but for some reason this functionality isn't available.
Back to top
View user's profile Send private message
Tech1621
PostPosted: Thu May 30, 2013 6:05 am    Post subject: Reply with quote

Novice

Joined: 29 May 2013
Posts: 23

bharathi.tech12 wrote:
Hi,

Thanks for every one. We are using too costly tool even though we need to write ant script is really not worth.

We are also not ready to override the .bar file after testing.

Is there any other way to configure those values in broker admin and we can map into the nodes?


I think ANT scrips are the easiest and fastest way as after u have written the script , it just needs a right click and an enter to override the properties of a .bar file. or maximum a change in .property file name at one place that's it ..
But if you come across with some other simpler way please share it .
_________________
Anything is easy if you believe in yourself..
Back to top
View user's profile Send private message
bharathi.tech12
PostPosted: Thu May 30, 2013 6:55 am    Post subject: Reply with quote

Voyager

Joined: 14 May 2013
Posts: 93

Hi,

Thanks for every one.

I am expecting this from the experts. How we can simplify this issue.
Back to top
View user's profile Send private message
Vitor
PostPosted: Thu May 30, 2013 9:23 am    Post subject: Reply with quote

Grand High Poobah

Joined: 11 Nov 2005
Posts: 26093
Location: Texas, USA

bharathi.tech12 wrote:
We are also not ready to override the .bar file after testing.


Why not? Be clear that "bar file overrides" are a specific term in WMB and not just some generic bar rebuilding process.

bharathi.tech12 wrote:
Is there any other way to configure those vaules in broker admin and we can map into the nodes?


This is the IBM supplied methods. Others have talked about looking up endpoints in a DB which is a perfectly viable way if you want to build that.
_________________
Honesty is the best policy.
Insanity is the best defence.
Back to top
View user's profile Send private message
lancelotlinc
PostPosted: Thu May 30, 2013 9:31 am    Post subject: Reply with quote

Jedi Knight

Joined: 22 Mar 2010
Posts: 4941
Location: Bloomington, IL USA

bharathi.tech12 wrote:
I am expecting this from the experts. How we can simplify this issue.


Use the IBM-supplied tooling to change the environment properties, which are bar file overrides.

Why do you not want to use them? What disadvantage do you see using them?
_________________
http://leanpub.com/IIB_Tips_and_Tricks
Save $20: Coupon Code: MQSERIES_READER
Back to top
View user's profile Send private message Send e-mail
lancelotlinc
PostPosted: Thu May 30, 2013 9:32 am    Post subject: Reply with quote

Jedi Knight

Joined: 22 Mar 2010
Posts: 4941
Location: Bloomington, IL USA

smdavies99 wrote:
If I recall correctly,

1) Don't put the IP address in the SOAP Input Node or WSDL
2) Don't put the Port Number in the SOAP Input Node or WSDL



Sorry, this is not accurate. Whether you use URIs or IP addresses, its all the same to the nodes and the broker runtime. Either one will work equally well.
_________________
http://leanpub.com/IIB_Tips_and_Tricks
Save $20: Coupon Code: MQSERIES_READER
Back to top
View user's profile Send private message Send e-mail
Display posts from previous:   
Post new topic  Reply to topic Page 1 of 1

MQSeries.net Forum Index » WebSphere Message Broker (ACE) Support » Changing the development values in testing environment
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.