コード例 #1
0
 /**
  * Convert 200502 wsrm:SequenceAcknowledgement with 200408 WS-Addressing namespace to internal
  * form.
  *
  * @param exposed (non-<code>null</code>)
  * @return converted
  */
 public static AckRequestedType convert(org.apache.cxf.ws.rm.v200502.AckRequestedType exposed) {
   AckRequestedType internal = new AckRequestedType();
   internal.setIdentifier(convert(exposed.getIdentifier()));
   addAll(exposed.getAny(), internal.getAny());
   putAll(exposed.getOtherAttributes(), internal.getOtherAttributes());
   return internal;
 }
コード例 #2
0
 /**
  * Convert wsrm:SequenceAcknowledgement to 200502 version with 200408 WS-Addressing namespace.
  *
  * @param internal (non-<code>null</code>)
  * @return converted
  */
 public static org.apache.cxf.ws.rm.v200502.AckRequestedType convert200502(
     AckRequestedType internal) {
   org.apache.cxf.ws.rm.v200502.AckRequestedType exposed =
       RMUtils.getWSRM200502Factory().createAckRequestedType();
   exposed.setIdentifier(convert200502(internal.getIdentifier()));
   addAll(internal.getAny(), exposed.getAny());
   putAll(internal.getOtherAttributes(), exposed.getOtherAttributes());
   return exposed;
 }