/** * Convert 200502 wsrm:SequenceAcknowledgement with 200508 WS-Addressing namespace to internal * form. * * @param exposed (non-<code>null</code>) * @return converted */ public static AckRequestedType convert( org.apache.cxf.ws.rm.v200502wsa15.AckRequestedType exposed) { AckRequestedType internal = new AckRequestedType(); internal.setIdentifier(convert(exposed.getIdentifier())); addAll(exposed.getAny(), internal.getAny()); putAll(exposed.getOtherAttributes(), internal.getOtherAttributes()); return internal; }
/** * Convert wsrm:SequenceAcknowledgement to 200502 version with 200508 WS-Addressing namespace. * * @param internal (non-<code>null</code>) * @return converted */ public static org.apache.cxf.ws.rm.v200502wsa15.AckRequestedType convert200502wsa15( AckRequestedType internal) { org.apache.cxf.ws.rm.v200502wsa15.AckRequestedType exposed = RMUtils.getWSRM200502WSA200508Factory().createAckRequestedType(); exposed.setIdentifier(convert200502wsa15(internal.getIdentifier())); addAll(internal.getAny(), exposed.getAny()); putAll(internal.getOtherAttributes(), exposed.getOtherAttributes()); return exposed; }