throw new UnsupportedOperationException("Cannot get epr when using the XML/HTTP binding");
}
W3CEndpointReferenceBuilder builder = new W3CEndpointReferenceBuilder();
String address = epMetaData.getEndpointAddress();
builder.address(address);
builder.wsdlDocumentLocation(address + "?wsdl");
//TODO set other parameters in the builder
if (referenceParameters != null && W3CEndpointReference.class.getName().equals(clazz.getName()))
{
for (Element el : referenceParameters)
builder.referenceParameter(el);