jax-ws-api icon indicating copy to clipboard operation
jax-ws-api copied to clipboard

Extend API of javax.xml.ws.wsaddressing.W3CEndpointReference with getters

Open Tomas-Kraus opened this issue 2 years ago • 0 comments

The class javax.xml.ws.wsaddressing.W3CEndpointReference can be easily build with W3CEndpointReferenceBuilder. But it is missing APIs to retrieve the content. I'd especially need methods like

String getAddressUri(); Map<QName,String> getAddressAttributes(); List <Element> getReferenceParameters () Element getReferenceParameterAtIndex(int nIndex) List <Element> getMetadata () Map<QName,String> getAttributes() List<Element> getElements()

The workaround is to serialize the object to XML and than parse the XML what is quite inefficient and nasty

Affected Versions

[2.2.7]

Source: https://github.com/javaee/metro-jax-ws/issues/1132 Author: glassfishrobot

Tomas-Kraus avatar Jun 02 '22 17:06 Tomas-Kraus