public static EndpointReferenceType getEndpointReference(AttributedURIType address) { EndpointReferenceType reference = new EndpointReferenceType(); reference.setAddress(address); return reference; }
public static EndpointReferenceType getEndpointReference(AttributedURIType address) { EndpointReferenceType reference = new EndpointReferenceType(); reference.setAddress(address); return reference; }
public static EndpointReferenceType getEndpointReference(AttributedURIType address) { EndpointReferenceType reference = WSA_OBJECT_FACTORY.createEndpointReferenceType(); reference.setAddress(address); return reference; }
/** * Set the address of the provided endpoint reference. * @param ref - the endpoint reference * @param address - the address */ public static void setAddress(EndpointReferenceType ref, String address) { AttributedURIType a = WSA_OBJECT_FACTORY.createAttributedURIType(); a.setValue(address); ref.setAddress(a); }
/** * Set the address of the provided endpoint reference. * @param ref - the endpoint reference * @param address - the address */ public static void setAddress(EndpointReferenceType ref, String address) { AttributedURIType a = new AttributedURIType(); a.setValue(address); ref.setAddress(a); } /**
/** * Set the address of the provided endpoint reference. * @param ref - the endpoint reference * @param address - the address */ public static void setAddress(EndpointReferenceType ref, String address) { AttributedURIType a = new AttributedURIType(); a.setValue(address); ref.setAddress(a); } /**
private void populateEpr(String ior) { AttributedURIType addr = new AttributedURIType(); addr.setValue(ior); reference.setAddress(addr); }
private static EndpointReferenceType getAnonymousEndpointReference() { final EndpointReferenceType reference = new EndpointReferenceType(); final AttributedURIType a = new AttributedURIType(); a.setValue(EndpointReferenceUtils.ANONYMOUS_ADDRESS); reference.setAddress(a); return reference; }
private static EndpointReferenceType getAnonymousEndpointReference() { final EndpointReferenceType reference = new EndpointReferenceType(); final AttributedURIType a = new AttributedURIType(); a.setValue(EndpointReferenceUtils.ANONYMOUS_ADDRESS); reference.setAddress(a); return reference; }
static EndpointReferenceType createReference(EndpointInfo ei) { EndpointReferenceType epr = new EndpointReferenceType(); AttributedURIType address = new AttributedURIType(); address.setValue(ei.getAddress()); epr.setAddress(address); return epr; }
public final EndpointReferenceType getTargetReference(EndpointReferenceType t) { EndpointReferenceType ref = null; if (null == t) { ref = new EndpointReferenceType(); AttributedURIType address = new AttributedURIType(); address.setValue(getAddress()); ref.setAddress(address); } else { ref = t; } return ref; }
public final EndpointReferenceType getTargetReference(EndpointReferenceType t) { EndpointReferenceType ref = null; if (null == t) { ref = new EndpointReferenceType(); AttributedURIType address = new AttributedURIType(); address.setValue(getAddress()); ref.setAddress(address); } else { ref = t; } return ref; }
EndpointReferenceType createReference(EndpointInfo ei) { EndpointReferenceType epr = new EndpointReferenceType(); AttributedURIType address = new AttributedURIType(); address.setValue(ei.getAddress()); epr.setAddress(address); return epr; }
EndpointReferenceType createReference(EndpointInfo ei) { EndpointReferenceType epr = new EndpointReferenceType(); AttributedURIType address = new AttributedURIType(); address.setValue(ei.getAddress()); epr.setAddress(address); return epr; }
public static org.apache.cxf.ws.addressing.EndpointReferenceType createReference(String address) { org.apache.cxf.ws.addressing.ObjectFactory factory = new org.apache.cxf.ws.addressing.ObjectFactory(); org.apache.cxf.ws.addressing.EndpointReferenceType epr = factory.createEndpointReferenceType(); org.apache.cxf.ws.addressing.AttributedURIType uri = factory.createAttributedURIType(); uri.setValue(address); epr.setAddress(uri); return epr; }
private EndpointReferenceType createReference(final EndpointInfo ei) { final EndpointReferenceType epr = new EndpointReferenceType(); final AttributedURIType address = new AttributedURIType(); address.setValue(ei.getAddress()); epr.setAddress(address); return epr; }
/** * Create a duplicate endpoint reference sharing all atributes * @param ref the reference to duplicate * @return EndpointReferenceType - the duplicate endpoint reference */ public static EndpointReferenceType duplicate(EndpointReferenceType ref) { EndpointReferenceType reference = WSA_OBJECT_FACTORY.createEndpointReferenceType(); reference.setMetadata(ref.getMetadata()); reference.getAny().addAll(ref.getAny()); reference.setAddress(ref.getAddress()); return reference; }
/** * Create a duplicate endpoint reference sharing all atributes * @param ref the reference to duplicate * @return EndpointReferenceType - the duplicate endpoint reference */ public static EndpointReferenceType duplicate(EndpointReferenceType ref) { EndpointReferenceType reference = new EndpointReferenceType(); reference.setMetadata(ref.getMetadata()); reference.getAny().addAll(ref.getAny()); reference.setAddress(ref.getAddress()); return reference; }
/** * Create a duplicate endpoint reference sharing all atributes * @param ref the reference to duplicate * @return EndpointReferenceType - the duplicate endpoint reference */ public static EndpointReferenceType duplicate(EndpointReferenceType ref) { EndpointReferenceType reference = new EndpointReferenceType(); reference.setMetadata(ref.getMetadata()); reference.getAny().addAll(ref.getAny()); reference.setAddress(ref.getAddress()); return reference; }
/** * Create a duplicate endpoint reference sharing all atributes * @param ref the reference to duplicate * @return EndpointReferenceType - the duplicate endpoint reference */ public static EndpointReferenceType duplicate(EndpointReferenceType ref) { EndpointReferenceType reference = WSA_OBJECT_FACTORY.createEndpointReferenceType(); reference.setMetadata(ref.getMetadata()); reference.getAny().addAll(ref.getAny()); reference.setAddress(ref.getAddress()); return reference; }