Return-Path: Delivered-To: apmail-ws-axis-user-archive@www.apache.org Received: (qmail 31000 invoked from network); 5 Feb 2007 13:07:14 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (140.211.11.2) by minotaur.apache.org with SMTP; 5 Feb 2007 13:07:14 -0000 Received: (qmail 98710 invoked by uid 500); 5 Feb 2007 13:07:12 -0000 Delivered-To: apmail-ws-axis-user-archive@ws.apache.org Received: (qmail 98691 invoked by uid 500); 5 Feb 2007 13:07:12 -0000 Mailing-List: contact axis-user-help@ws.apache.org; run by ezmlm Precedence: bulk Reply-To: axis-user@ws.apache.org list-help: list-unsubscribe: List-Post: List-Id: Delivered-To: mailing list axis-user@ws.apache.org Received: (qmail 98680 invoked by uid 99); 5 Feb 2007 13:07:12 -0000 Received: from herse.apache.org (HELO herse.apache.org) (140.211.11.133) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 05 Feb 2007 05:07:12 -0800 X-ASF-Spam-Status: No, hits=0.0 required=10.0 tests= X-Spam-Check-By: apache.org Received-SPF: neutral (herse.apache.org: local policy) Received: from [217.28.32.122] (HELO mail.nsab.se) (217.28.32.122) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 05 Feb 2007 05:07:03 -0800 Received: from [127.0.0.1] ([192.168.4.180] RDNS failed) by mail.nsab.se with Microsoft SMTPSVC(6.0.3790.1830); Mon, 5 Feb 2007 14:06:03 +0100 Message-ID: <45C72BB7.8050208@NotSoHotMail.com> Date: Mon, 05 Feb 2007 14:05:59 +0100 From: Johan Lundberg User-Agent: Thunderbird 2.0b2 (Windows/20070116) MIME-Version: 1.0 To: axis-user@ws.apache.org Subject: Re: axis2 issue behind NAT References: <45C70180.4070107@NotSoHotMail.com> <19e0530f0702050208j5467bccfge2b09f1ec3169eaf@mail.gmail.com> <45C70B0A.2040002@NotSoHotMail.com> <20070205110412.6rur7mtjz6o08k4c@www.birtles.org.uk> In-Reply-To: <20070205110412.6rur7mtjz6o08k4c@www.birtles.org.uk> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit X-OriginalArrivalTime: 05 Feb 2007 13:06:03.0125 (UTC) FILETIME=[638F0250:01C74926] X-Virus-Checked: Checked by ClamAV on apache.org Dear Alan, you said the IP address of the GENERATED wsdl file will be first retrieved from the HTTP headers or if unsuccessful taken from some other place. Our problem however is that we don't use a genereated wsdl file. We have set the parameter useOriginal. Despite this, axis2 changes the soap:address to the internal IP address and seems to output a semi-generated file.Also some xml comments containing alternative ip-addresses that we have entered seem to be stripped out. This seems to indicate that the useOriginal wsdl is not working correctly. VBR johan Alan Birtles wrote: > I have submitted a patch for this which I imagine will be in the next > version. It should > also be in the snapshot versions. see > http://issues.apache.org/jira/browse/AXIS2-2023 > > Quoting Johan Lundberg : > >> Fantastic reponse time! 3 minutes. >> I understand that I have to perform an upgrade from Axis 2 1.1 to 1.1.1 >> before I get back on this issue. >> Thank you very much. >> >> VBR >> johan >> >> Davanum Srinivas wrote: >>> Is this with Axis2 1.1.1? Please log a bug if so. >>> >>> thanks, >>> -- dims >>> >>> On 2/5/07, Johan Lundberg wrote: >>>> My server hosting Axis2 has the IP-address 192.168.1.100 but clients >>>> accessing it from the big naughty Internet obviously use another >>>> address, which is not a black address. This Network Address >>>> Translation >>>> becomes a problem for clients that are accessing the service WSDL from >>>> Internet. >>>> >>>> even though I have set the parameter "useOriginalwsdl=true" in >>>> services.xml the following part in my wsdl file changes from >>>> >>>> >>>> >>>> >>>> >>>> >>>> >>>> >>>> TO: >>>> >>>> >>>> >>>> >>> location="http://192.168.1.100:8080/axis2/services/Ergo"/> >>>> >>>> >>>> >>>> why does axis2 change this even though I have set the parameter >>>> "useOriginalwsdl=true". >>>> Is there something else that should be configured in order to get axis >>>> to show the real outside address instead of the server's internal >>>> IP-address? >>>> >>>> VBR >>>> johan >>>> >>>> >>>> --------------------------------------------------------------------- >>>> To unsubscribe, e-mail: axis-user-unsubscribe@ws.apache.org >>>> For additional commands, e-mail: axis-user-help@ws.apache.org >>>> >>>> >>> >>> >> >> >> --------------------------------------------------------------------- >> To unsubscribe, e-mail: axis-user-unsubscribe@ws.apache.org >> For additional commands, e-mail: axis-user-help@ws.apache.org > > > > --------------------------------------------------------------------- > To unsubscribe, e-mail: axis-user-unsubscribe@ws.apache.org > For additional commands, e-mail: axis-user-help@ws.apache.org > > > --------------------------------------------------------------------- To unsubscribe, e-mail: axis-user-unsubscribe@ws.apache.org For additional commands, e-mail: axis-user-help@ws.apache.org