InputStream is = getClass().getResourceAsStream("resources/hello_world_soap_http_infoset.xml");
Document doc = XMLUtils.parse(is);
Element referenceParameters = XMLUtils.fetchElementByNameAttribute(doc.getDocumentElement(),
"wsa:ReferenceParameters",
"");
EndpointReference endpointReference = endpoint.getEndpointReference(referenceParameters);
assertNotNull(endpointReference);
assertTrue(endpointReference instanceof W3CEndpointReference);
//A returned W3CEndpointReferenceMUST also contain the specified referenceParameters.
//W3CEndpointReference wer = (W3CEndpointReference)endpointReference;