Return-Path: X-Original-To: apmail-axis-java-dev-archive@www.apache.org Delivered-To: apmail-axis-java-dev-archive@www.apache.org Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by minotaur.apache.org (Postfix) with SMTP id 95A339D9B for ; Fri, 7 Oct 2011 15:27:55 +0000 (UTC) Received: (qmail 24701 invoked by uid 500); 7 Oct 2011 15:27:54 -0000 Delivered-To: apmail-axis-java-dev-archive@axis.apache.org Received: (qmail 24554 invoked by uid 500); 7 Oct 2011 15:27:54 -0000 Mailing-List: contact java-dev-help@axis.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: java-dev@axis.apache.org Delivered-To: mailing list java-dev@axis.apache.org Received: (qmail 24543 invoked by uid 99); 7 Oct 2011 15:27:54 -0000 Received: from nike.apache.org (HELO nike.apache.org) (192.87.106.230) by apache.org (qpsmtpd/0.29) with ESMTP; Fri, 07 Oct 2011 15:27:54 +0000 X-ASF-Spam-Status: No, hits=-2000.5 required=5.0 tests=ALL_TRUSTED,RP_MATCHES_RCVD X-Spam-Check-By: apache.org Received: from [140.211.11.116] (HELO hel.zones.apache.org) (140.211.11.116) by apache.org (qpsmtpd/0.29) with ESMTP; Fri, 07 Oct 2011 15:27:51 +0000 Received: from hel.zones.apache.org (hel.zones.apache.org [140.211.11.116]) by hel.zones.apache.org (Postfix) with ESMTP id 2218D2AE5B0 for ; Fri, 7 Oct 2011 15:27:30 +0000 (UTC) Date: Fri, 7 Oct 2011 15:27:30 +0000 (UTC) From: "Tammo van Lessen (Created) (JIRA)" To: java-dev@axis.apache.org Message-ID: <1309348390.8277.1318001250140.JavaMail.tomcat@hel.zones.apache.org> Subject: [jira] [Created] (AXIS2-5164) HTTP endpoint URL calculation does not reflect servicePath parameter 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 HTTP endpoint URL calculation does not reflect servicePath parameter -------------------------------------------------------------------- Key: AXIS2-5164 URL: https://issues.apache.org/jira/browse/AXIS2-5164 Project: Axis2 Issue Type: Bug Components: transports Affects Versions: 1.5.5, nightly Reporter: Tammo van Lessen In Apache ODE we use the servicePath parameter to relocate endpoints from /services/ to /processes/. I'm currently experimenting with dual channel WS-A req/resp operations from an anonymous service client and experience some troubles with wrong ReplyTo EPRs in these requests. After some debugging, I figures that org.apache.axis2.transport.http.HTTPTransportUtils.getEPRsForService(...) is only taking the servicePath into account when the HTTP_FRONTEND_HOST_URL parameter is present. Interestingly, the EPR generation in the listServices Admin JSP returns the correct EPR, which basically prefixes the servicePath with HTTP_FRONTEND_HOST_URL. So I think there is bug in getEPRsForService, it should always take the servicePath into account, even if the HTTP_FRONTEND_HOST_URL is not present. When looking at the code, I assume that this bug has been introduced with AXIS2-3843 and is more or less due to a wronly places closing brace. Please see [1], Line 336 makes IMO only sense if the block is closed after appending the servicePath. Otherwise EPR would be always empty. [1] https://github.com/apache/axis2-java/blob/00c6c019f9fca2f837ef65d5eedf9f56ea089e82/modules/transport/http/src/org/apache/axis2/transport/http/HTTPTransportUtils.java#L333 -- This message is automatically generated by JIRA. If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa For more information on JIRA, see: http://www.atlassian.com/software/jira --------------------------------------------------------------------- To unsubscribe, e-mail: java-dev-unsubscribe@axis.apache.org For additional commands, e-mail: java-dev-help@axis.apache.org