axis-java-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Tammo van Lessen (Created) (JIRA)" <>
Subject [jira] [Created] (AXIS2-5164) HTTP endpoint URL calculation does not reflect servicePath parameter
Date Fri, 07 Oct 2011 15:27:30 GMT
HTTP endpoint URL calculation does not reflect servicePath parameter

                 Key: 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.


This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators:!default.jspa
For more information on JIRA, see:


To unsubscribe, e-mail:
For additional commands, e-mail:

View raw message