WebSphere Commerce suite - Retrieving Merchant Key

This is Interesting: Free IT Magazines  
Home > Archive > WebSphere Commerce suite > January 2004 > Retrieving Merchant Key





You are viewing an archived Text-only version of the thread. To view this thread in it's original format and/or if you want to reply to this thread please [click here]

Author Retrieving Merchant Key
Anthony Pomtree

2004-01-19, 2:48 pm


Is there any way for a non-WCS application (standard WAS app) to retrieve
the site merchant key? I know in WCS, you can get the key by doing this:

WcsApp.configProperties.getValue("Instance/MerchantKey")

Didn't know if there was any way to get it from within another application
(running under separate JVM).

Thanks.


Matt Fleming

2004-01-19, 2:48 pm

Well you could just parse the instance.xml file and get it.. I believe that
is all WCS does but it encapsulates the configuration into a WcsApp.

-Matt
"Anthony Pomtree" <wcs@pomtree.net> wrote in message
news:bp08rc$86fm$1@news.boulder.ibm.com...
quote:

>
> Is there any way for a non-WCS application (standard WAS app) to retrieve
> the site merchant key? I know in WCS, you can get the key by doing this:
>
> WcsApp.configProperties.getValue("Instance/MerchantKey")
>
> Didn't know if there was any way to get it from within another application
> (running under separate JVM).
>
> Thanks.
>
>




Sponsored Links






Free braindumps | Software forum | Database administration forum

Copyright 2003 - 2008 webservertalk.com