You are viewing a plain text version of this content. The canonical link for it is here.
Posted to java-dev@axis.apache.org by "Andreas Veithen (JIRA)" <ji...@apache.org> on 2009/05/24 01:22:45 UTC

[jira] Resolved: (AXIS2-3843) httpFrontendHostUrl does not affect auto-generated WSDL

     [ https://issues.apache.org/jira/browse/AXIS2-3843?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Andreas Veithen resolved AXIS2-3843.
------------------------------------

       Resolution: Fixed
    Fix Version/s: 1.6

Neil, I finally rewrote the code in AxisServlet#getEPRsForService and SimpleHTTPServer#getEPRsForService and merged it into a single method. Note that  your patch isn't entirely correct. The following piece of code is wrong:

(String) frontEndHostParam.getValue() + "/" + serviceName

The reason is that httpFrontendHostUrl is the replacement for the context path (/axis2), not the service context path (/axis2/services). This is consistent with the usage of the parameter in the JSPs and also with the sample/default axis2.xml files.

I tested this with an Apache ProxyPass configuration and it works for WSDLs and for the user interface.

> 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: transports
>    Affects Versions: 1.4
>         Environment: Windows 2003 Server, Tomcat 6.0, Axis2 1.4
>            Reporter: Alexander Stockinger
>            Assignee: Andreas Veithen
>             Fix For: 1.6
>
>
> 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.