X-CGP-ClamAV-Result: CLEAN X-VirusScanner: Niversoft's CGPClamav Helper v1.22.2a (ClamAV engine v0.102.2) X-Junk-Score: 20 [X] X-KAS-Score: 20 [X] From: "Susanne Schneider" Received: from mail3.i-motion.de ([213.95.248.7] verified) by selbstdenker.ag (CommuniGate Pro SMTP 6.3.3) with ESMTPS id 25417268 for webobjects-dev@wocommunity.org; Tue, 16 Feb 2021 15:51:39 +0100 Received-SPF: pass receiver=post.selbstdenker.com; client-ip=213.95.248.7; envelope-from=susanne.schneider@interactive-systems.de Received: from [192.168.2.100] ([79.193.47.8]) by mail3.i-motion.de (13.0.0 build 3 x64) with ASMTP (SSL) id m3202102161551185032 for ; Tue, 16 Feb 2021 15:51:18 +0100 Subject: Re: [WO-DEV] Stupid me but how do I generate a fully qualified direct action url for sending out via mail? To: WebObjects & WOnder Development References: Message-ID: <7b11e065-ad3c-8b64-348d-239b94f789be@interactive-systems.de> Date: Tue, 16 Feb 2021 15:51:28 +0100 User-Agent: Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:78.0) Gecko/20100101 Thunderbird/78.7.1 MIME-Version: 1.0 In-Reply-To: Content-Type: text/plain; charset=windows-1252; format=flowed Content-Transfer-Encoding: 8bit X-CTCH: RefID="str=0001.0A782F25.602BDBE7.0018,ss=1,re=0.000,recu=0.000,reip=0.000,cl=1,cld=1,fgs=0"; Spam="Unknown"; VOD="Unknown" 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 > Steinenvorstadt 79emailmarkus.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 ----------------------------------------------------