|
| Integration activity - setting webserviceaddress globally |
 |
Tue, 06 May 2008 18:06:01 GMT |
Hi
Could it be possible to set address of web service
http://address:8080/IDM/..../.... in integration activity globally...
for easier deployment from development to test and production.
I have about 10 integration activities and I have to remember to change
address every time I deploy from test to production - it would be more
cleaver, if I could use for example attribute value from Directory.
I tried to add value in input value from workflow to it but it did not
work
BR
V-M
--
vm_luotonen
------------------------------------------------------------------------
vm_luotonen's Profile: http://forums.novell.com/member.php?userid=2297
View this thread: http://forums.novell.com/showthread.php?t=326823
|
| Post Reply
|
| Re: Integration activity - setting webserviceaddress globally |
 |
Wed, 07 May 2008 18:28:47 GMT |
On 05/06/2008 08:06 PM, vm luotonen wrote:
> Hi
>
> Could it be possible to set address of web service
> http://address:8080/IDM/..../.... in integration activity globally...
> for easier deployment from development to test and production.
>
> I have about 10 integration activities and I have to remember to change
> address every time I deploy from test to production - it would be more
> cleaver, if I could use for example attribute value from Directory.
>
> I tried to add value in input value from workflow to it but it did not
> work
>
> BR
> V-M
>
>
One possible approach is to use an XML file that has the data and then
use ECMAScript to access this data.
The Integration Activity is a subset of the features of the ExteNd
Composer product. In that product you could have a configure file called
PROJECT.xml (name must be this) and in it have structure like the following:
<?xml version="1.0" encoding="UTF-8"?>
<USERCONFIG>
<url>http://localhost:8080</url>
</USERCONFIG>
This file would need to be in the classpath for the application server,
so placing it in jboss/server/IDM/lib should work.
Then in your code you would write an expression like this:
PROJECT.XPath("USERCONFIG/url")
|
| Post Reply
|
| Re: Integration activity - setting webserviceaddress globally |
 |
Thu, 08 May 2008 08:06:01 GMT |
Thanks John for your idea..
I implemented even more straight forward solution - - -
As long as Integration activity is handled on UserApp server and
integration activity supposes that it can connect to correct
webservice..
I added name userappservice pointing to Layer4 switch address of
particular Development/Test/Production to each userapp servers
/etc/hosts (taking care address points to correct web service)
I changed WS Interchange address to name pointing to
"http://userappservice:8080/IDM/provisioning/service"
Now I must only take of /etc/hosts address.
--
vm_luotonen
------------------------------------------------------------------------
vm_luotonen's Profile: http://forums.novell.com/member.php?userid=2297
View this thread: http://forums.novell.com/showthread.php?t=326823
|
| Post Reply
|
|
|
|
|
|
|
|
|
|