Mailing List webobjects-dev@wocommunity.org Message #62
From: Susanne Schneider <webobjects-dev@wocommunity.org>
Subject: Re: [WO-DEV] Stupid me but how do I generate a fully qualified direct action url for sending out via mail?
Date: Tue, 16 Feb 2021 15:51:28 +0100
To: WebObjects & WOnder Development <webobjects-dev@wocommunity.org>
Hi Markus,

this is indeed not so trivial as you could think, at least I did not find an easy way. You can ask the application to get the name of itself, ask the WOAdaptor for the adaptor part, but you cannot find out the name of the server, especially if your installation is behind a firewall or proxy and the external server name is different from the internal name.

We finally used a custom configuration parameter to get the server name (including the adaptor path) and startet from there on, something like:
url = servername + applicationname + ".woa/wa/" + yourActionName

Hope that helps,
Susanne

Am 16.02.2021 um 15:39 schrieb Markus Ruggiero (rucotec):
The subject line already says all

Thanks

*
Markus Ruggiero*

*
*

rucotec GmbHwebhttps://rucotec.ch <https://rucotec.ch>
Steinenvorstadt 79emailmarkus.ruggiero@rucotec.ch <mailto:markus.ruggiero@rucotec.ch>
4051 Basel / Switzerlandmobile+41 79 508 4701









--
Susanne Schneider
Coordinator secuTrial® Development

interActive Systems GmbH
Glogauer Str. 19, D-10999 Berlin

fon    +49 30 22 50 50 - 498
fax    +49 30 22 50 50 - 451
mail   susanne.schneider@interActive-Systems.de
web    http://www.secuTrial.de

----------------------------------------------------
Geschäftsführer: Dr. Marko Reschke, Thomas Fritzsche
Sitz der Gesellschaft: Berlin
Amtsgericht Berlin Charlottenburg, HRB 106103B
----------------------------------------------------
Subscribe (FEED) Subscribe (DIGEST) Subscribe (INDEX) Unsubscribe Mail to Listmaster