[
https://issues.apache.org/jira/browse/CXF-6172?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Jim Ma updated CXF-6172:
------------------------
Fix Version/s: 2.7.18
3.0.8
3.1.5
> WS-Discovery should work also in IPv6 only environment
> ------------------------------------------------------
>
> Key: CXF-6172
> URL: https://issues.apache.org/jira/browse/CXF-6172
> Project: CXF
> Issue Type: Bug
> Components: Services
> Affects Versions: 3.0.3, 2.7.14
> Reporter: Jan Blizňák
> Assignee: Jim Ma
> Fix For: 2.7.18, 3.1.5, 3.0.8
>
>
> In current implementation of {{WSDiscoveryServiceImpl}}, endpoint is
> published with hardcoded IPv4 multicast address:
> {code}udpEndpoint.publish("soap.udp://239.255.255.250:3702");{code}
> There is no reason to support only IPv4. Also current implementation does not
> support WS-Discovery in IPv6 network when IPv4 is not available at all.
> Programatically determining network environment and switching the profile
> might not be the best option (network might be temporarily at the moment of
> trying down etc.), so at least I would suggest something like .. to allow to
> choose IPv4/IPv6 profile by system property, with IPv4 as default. This would
> also allow testing IPv6 on dualstack networks.
> In {{WSDiscoveryClient}}, although address can be altered by setter or
> constructor, the default one can be still switched by proposed system
> property.
> Multicast IPv4 and IPv6 addreses in [WS-Discovery spec, section
> 3.1.1|http://docs.oasis-open.org/ws-dd/discovery/1.1/os/wsdd-discovery-1.1-spec-os.html#_Toc234231817]
--
This message was sent by Atlassian JIRA
(v6.3.4#6332)