axis-java-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Deepal Jayasinghe (JIRA)" <>
Subject [jira] Resolved: (AXIS2-2720) WSDLDataLocator changes FQDN to IP address
Date Tue, 12 Jun 2007 01:33:26 GMT


Deepal Jayasinghe resolved AXIS2-2720.

    Resolution: Fixed

Please add the following parameter into axis2.xml 
and then everything will work fine.

<parameter name="hostname" locked="true"></parameter>

> WSDLDataLocator changes FQDN to IP address
> ------------------------------------------
>                 Key: AXIS2-2720
>                 URL:
>             Project: Axis 2.0 (Axis2)
>          Issue Type: Bug
>          Components: kernel
>    Affects Versions: 1.2
>         Environment: Apache/Tomcat VirtualHost environment
>            Reporter: YG Park
>            Assignee: Deepal Jayasinghe
>            Priority: Blocker
> WSDLDataLocator line 125 causes Axis2 to change the FQDN to an IP address when accessed
thru AxisServlet.
>     String[] exposedEPRs = theService.getEPRs();
> Since getEPRs() method itself doesn't use any inforamation from the servlet, it uses
the local IP address by default.
> This can be a problem in a virtualhost environment where multiple websites can have their
own Axis2 gateway.
> When AxisServlet gets called with ?wsdl, it generates and saves a EndpointReference in
the message context (line 116).
> So, a simple workaround for this case would be to change the above line to the following
>    String[] exposedEPRs = new String[] {serviceURL};
> although I think if a single service has multiple EPRs, then it'll generate a wrong WSDL..
I don't know..

This message is automatically generated by JIRA.
You can reply to this email to add a comment to the issue online.

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

View raw message