jax-ws-api
jax-ws-api copied to clipboard
Extend API of javax.xml.ws.wsaddressing.W3CEndpointReference with getters
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