public class BaseClientUtil {
public static EndpointReferenceType getEPRfromFile(String path)
throws IOException, DeserializationException {
EndpointReferenceType epr;
FileInputStream in = null;
try {
in = new FileInputStream(path);
epr = (EndpointReferenceType) ObjectDeserializer.deserialize(
new InputSource(in), EndpointReferenceType.class);