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 getReferenceParameters ()
Element getReferenceParameterAtIndex(int nIndex)
List getMetadata ()
Map<QName,String> getAttributes()
List 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: javaee/metro-jax-ws#1132
Author: glassfishrobot