public void setSoapMessageContext(MessageContext soapMessageContext) {
this.soapMessageContext = soapMessageContext;
}
public <T extends EndpointReference> T getEndpointReference(Class<T> clazz, Element... referenceParameters) {
EndpointReference jaxwsEPR = null;
String addressingNamespace = EndpointReferenceUtils.getAddressingNamespace(clazz);
if (soapMessageContext != null) {
QName service = (QName) soapMessageContext.get(MessageContext.WSDL_SERVICE);
QName endpoint = (QName) soapMessageContext.get(MessageContext.WSDL_PORT);