Return-Path: Delivered-To: apmail-ws-axis-dev-archive@www.apache.org Received: (qmail 40817 invoked from network); 15 May 2009 07:53:15 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (140.211.11.3) by minotaur.apache.org with SMTP; 15 May 2009 07:53:15 -0000 Received: (qmail 28134 invoked by uid 500); 15 May 2009 07:53:14 -0000 Delivered-To: apmail-ws-axis-dev-archive@ws.apache.org Received: (qmail 28008 invoked by uid 500); 15 May 2009 07:53:14 -0000 Mailing-List: contact axis-dev-help@ws.apache.org; run by ezmlm Precedence: bulk Reply-To: axis-dev@ws.apache.org list-help: list-unsubscribe: List-Post: List-Id: Delivered-To: mailing list axis-dev@ws.apache.org Received: (qmail 27999 invoked by uid 99); 15 May 2009 07:53:13 -0000 Received: from athena.apache.org (HELO athena.apache.org) (140.211.11.136) by apache.org (qpsmtpd/0.29) with ESMTP; Fri, 15 May 2009 07:53:13 +0000 X-ASF-Spam-Status: No, hits=-1998.5 required=10.0 tests=ALL_TRUSTED,NORMAL_HTTP_TO_IP,WEIRD_PORT X-Spam-Check-By: apache.org Received: from [140.211.11.140] (HELO brutus.apache.org) (140.211.11.140) by apache.org (qpsmtpd/0.29) with ESMTP; Fri, 15 May 2009 07:53:05 +0000 Received: from brutus (localhost [127.0.0.1]) by brutus.apache.org (Postfix) with ESMTP id 9E6E8234C1E9 for ; Fri, 15 May 2009 00:52:45 -0700 (PDT) Message-ID: <2084280912.1242373965648.JavaMail.jira@brutus> Date: Fri, 15 May 2009 00:52:45 -0700 (PDT) From: "Neil Youngman (JIRA)" To: axis-dev@ws.apache.org Subject: [jira] Commented: (AXIS2-3843) httpFrontendHostUrl does not affect auto-generated WSDL In-Reply-To: <1206684688.1212749565147.JavaMail.jira@brutus> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-JIRA-FingerPrint: 30527f35849b9dde25b450d4833f0394 X-Virus-Checked: Checked by ClamAV on apache.org [ https://issues.apache.org/jira/browse/AXIS2-3843?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12709750#action_12709750 ] Neil Youngman commented on AXIS2-3843: -------------------------------------- The code from the JSP (modules/webapp/src/main/webapp/axis2-web/include/httpbase.jsp) handling httpFrontendHostUrl is: if (frontendHostUrl != null) { stringBuffer.append(frontendHostUrl); } else { String scheme = aRequest.getScheme(); stringBuffer.append(scheme); stringBuffer.append("://"); stringBuffer.append(aRequest.getServerName()); if (("http".equalsIgnoreCase(scheme) && aRequest.getServerPort() != 80) || "https".equalsIgnoreCase(scheme) && aRequest.getServerPort() != 443) { stringBuffer.append(":"); stringBuffer.append(aRequest.getServerPort()); } // I think i saw web containers return null for root web context if (aRequest.getContextPath() != null) { stringBuffer.append(aRequest.getContextPath()); } } I'm not too sure of the terminology, it seems to substitute everything from the http at the start, right through to the context path, e.g. https://someotherhost/context changes http://10.20.30.40:50/axis2/services/ to https://someotherhost/context/services Is that what you would call the service path? As an aside, shouldn't the examples use example.com, example.net, etc, per the RFCs rather than things like myhost.com? > httpFrontendHostUrl does not affect auto-generated WSDL > ------------------------------------------------------- > > Key: AXIS2-3843 > URL: https://issues.apache.org/jira/browse/AXIS2-3843 > Project: Axis 2.0 (Axis2) > Issue Type: Bug > Components: wsdl > Affects Versions: 1.4 > Environment: Windows 2003 Server, Tomcat 6.0, Axis2 1.4 > Reporter: Alexander Stockinger > > Setting the "httpFrontendHostUrl" parameter in the "axis2.conf" config file does not affect endpoint URL in auto-generated WSDL. -- This message is automatically generated by JIRA. - You can reply to this email to add a comment to the issue online.