[jira] [Resolved] (AXIS2-5858) soap:address location's value is wrong with IPv6
"Robert Lazarski (Jira)" <[email protected]> Tue, 21 Apr 2026 01:38:00 +0000 (UTC)
| Newsgroups | gmane.text.xml.axis.devel |
|---|---|
| Message-ID | <[email protected]> |
[ https://issues.apache.org/jira/browse/AXIS2-5858?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Robert Lazarski resolved AXIS2-5858.
------------------------------------
Resolution: Fixed
This is now fixed on master.
Big thanks to Christian Ortlepp ([cortlepp|https://github.com/cortlepp]) for the thorough work in [PR #842|https://github.com/apache/axis2-java/pull/842] — six commits improving IPv6 support across hostname extraction, local IP detection, and address comparator ordering. Christian's changes to Utils.getIpAddress() and getLocalHostLANAddresses() laid the groundwork for proper IPv6 handling. Really solid contribution.
On top of that, I added the RFC 2732 bracket formatting in HTTPTransportUtils.getEPRsForService() so that soap:address location URLs like http://[fe80::1]:8080/services/MyService are well-formed, along with unit tests covering IPv4, compressed/full/loopback IPv6, and null IP edge cases. All passing in CI across all JDK versions.
> soap:address location's value is wrong with IPv6
> -------------------------------------------------
>
> Key: AXIS2-5858
> URL: https://issues.apache.org/jira/browse/AXIS2-5858
> Project: Axis2
> Issue Type: Bug
> Affects Versions: 1.6.2
> Reporter: yeqing Li
> Assignee: Robert Lazarski
> Priority: Critical
> Fix For: 2.0.1
>
> Attachments: IPv4.PNG, IPv6.PNG
>
> Original Estimate: 12h
> Remaining Estimate: 12h
>
> When I access the wsdl url with IPv4,it worked well,but if with IPv6,the soap:address location’s value is wrong.
> IPv6: [fe80::a9a8:18be:bb91:8787]
> Please check the attachment.
--
This message was sent by Atlassian Jira
(v8.20.10#820010)