[
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.
<parameter
name="httpFrontendHostUrl">https://someotherhost/context</parameter>
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.