cancel
Showing results for 
Search instead for 
Did you mean: 

Dynamic access in TRX to http://server:port/XMII/Illuminator

Former Member
0 Kudos

Hi Experts,

I am trying to call a URL similar to the following from inside a transaction from a XML, HTML and Text Loader actions: http://server:port/XMII/Illuminator?QueryTemplate=MyQueryTemplate. How can I reference the "server:port" dynamically so that when I promote this server to QA or PROD systems, the Loader actions always pull from local system only?

The three systems are as follows:

DEV: server1:57000

QA: server1:57500

PROD: server2:57000

I can replace the "server:port" with "localhost:57000" but this covers 2 of the 3 scenarios.

I can't use the web:// switch because this seems to reference the "http://server:port/XMII/CM" root.

Or, perhaps there is a different strategy here completely(?)

Thanks in advance!

Accepted Solutions (1)

Accepted Solutions (1)

Former Member
0 Kudos

You can build the string dynamically and for the server port variable, you could create a persistent value (shared property) and link it to your action block. So when you promote to QA oder Prod, you need to change once at the shared property

Edited by: Seng Kiang Hoe on Jan 20, 2011 4:52 PM

Former Member
0 Kudos

Yes, certainly an option, but I'd like to avoid it (the software migration SOP would have to be updated!). Still believe that there has to be a way to do this programmatically.

jcgood25
Active Contributor
0 Kudos

Have you tried the server:// prefix?

Former Member
0 Kudos

Ah! Jeremy's suggestion works

Kind Regards,

Diana

Edited by: Diana Hoppe on Jan 20, 2011 11:37 AM

Former Member
0 Kudos

Yep, server:// worked exactly as I needed it! Thanks!

Answers (0)