/** * Directly read a NativeEndpointReference from the given source * instead of leveraging the Provider's readEndpointReference method. * * @param eprInfoset * @return */ public static EndpointReference readFrom(Source eprInfoset) { if (eprInfoset == null) throw new NullPointerException("Provided eprInfoset cannot be null"); try { return new NativeEndpointReference(eprInfoset); } catch (Exception e) { throw new WebServiceException(e); } }
/** * Directly read a NativeEndpointReference from the given source * instead of leveraging the Provider's readEndpointReference method. * * @param eprInfoset * @return */ public static EndpointReference readFrom(Source eprInfoset) { if (eprInfoset == null) throw new NullPointerException("Provided eprInfoset cannot be null"); try { return new NativeEndpointReference(eprInfoset); } catch (Exception e) { throw new WebServiceException(e); } }
/** * Directly read a NativeEndpointReference from the given source * instead of leveraging the Provider's readEndpointReference method. * * @param eprInfoset * @return */ public static EndpointReference readFrom(Source eprInfoset) { if (eprInfoset == null) throw new NullPointerException("Provided eprInfoset cannot be null"); try { return new NativeEndpointReference(eprInfoset); } catch (Exception e) { throw new WebServiceException(e); } }
/** * Directly read a NativeEndpointReference from the given source * instead of leveraging the Provider's readEndpointReference method. * * @param eprInfoset * @return the endpointreference */ public static EndpointReference readFrom(Source eprInfoset) { if (eprInfoset == null) throw new NullPointerException("Provided eprInfoset cannot be null"); try { return new NativeEndpointReference(eprInfoset); } catch (Exception e) { throw new WebServiceException(e); } }