/** * Creates an EPR from infoset representation * * @param source A source object containing valid XmlInfoset * instance consistent with the W3C WS-Addressing Core * recommendation. * * @throws WebServiceException * If the source does NOT contain a valid W3C WS-Addressing * EndpointReference. * @throws NullPointerException * If the <code>null</code> <code>source</code> value is given */ public NativeEndpointReference(final Source source) { NativeEndpointReference epr = unmarshalNativeEndpointReference(source); this.address = epr.address; this.metadata = epr.metadata; this.referenceParameters = epr.referenceParameters; }