Examples of AckRequestedType


Examples of org.apache.cxf.ws.rm.v200702.AckRequestedType

            if (reqs == null) {
                reqs = new ArrayList<AckRequestedType>();
            }
            Identifier identifier = new Identifier();
            identifier.setValue(sequence.getIdentifier().getValue());
            AckRequestedType ackRequest = new AckRequestedType();
            ackRequest.setIdentifier(identifier);
            reqs.add(ackRequest);
            rmpsIn.setAcksRequested(reqs);
        }
    }
View Full Code Here

Examples of org.apache.cxf.ws.rm.v200702.AckRequestedType

        codec.handleMessage(message);
        RMProperties rmps = RMContextUtils.retrieveRMProperties(message, false);
        Collection<AckRequestedType> requested = rmps.getAcksRequested();
        assertNotNull(requested);
        assertEquals(1, requested.size());
        AckRequestedType ar = requested.iterator().next();
        assertNotNull(ar);
        assertEquals(ar.getIdentifier().getValue(), SEQ_IDENTIFIER);

        SequenceType s = rmps.getSequence();
        assertNotNull(s);
        assertEquals(s.getIdentifier().getValue(), SEQ_IDENTIFIER);
        assertEquals(s.getMessageNumber(), MSG2_MESSAGE_NUMBER);
View Full Code Here

Examples of org.apache.cxf.ws.rm.v200702.AckRequestedType

        codec.handleMessage(message);
        RMProperties rmps = RMContextUtils.retrieveRMProperties(message, false);
        Collection<AckRequestedType> requested = rmps.getAcksRequested();
        assertNotNull(requested);
        assertEquals(1, requested.size());
        AckRequestedType ar = requested.iterator().next();
        assertNotNull(ar);
        assertEquals(ar.getIdentifier().getValue(), SEQ_IDENTIFIER);

        SequenceType s = rmps.getSequence();
        assertNotNull(s);
        assertEquals(s.getIdentifier().getValue(), SEQ_IDENTIFIER);
        assertEquals(s.getMessageNumber(), MSG2_MESSAGE_NUMBER);
View Full Code Here

Examples of org.apache.cxf.ws.rm.v200702.AckRequestedType

        codec.handleMessage(message);
        RMProperties rmps = RMContextUtils.retrieveRMProperties(message, false);
        Collection<AckRequestedType> requested = rmps.getAcksRequested();
        assertNotNull(requested);
        assertEquals(1, requested.size());
        AckRequestedType ar = requested.iterator().next();
        assertNotNull(ar);
        assertEquals(ar.getIdentifier().getValue(), SEQ_IDENTIFIER);

        SequenceType s = rmps.getSequence();
        assertNotNull(s);
        assertEquals(s.getIdentifier().getValue(), SEQ_IDENTIFIER);
        assertEquals(s.getMessageNumber(), MSG2_MESSAGE_NUMBER);
View Full Code Here

Examples of org.apache.cxf.ws.rm.v200702.AckRequestedType

     * @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;
    }
View Full Code Here

Examples of org.apache.cxf.ws.rm.v200702.AckRequestedType

     * @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;
    }
View Full Code Here

Examples of org.apache.cxf.ws.rm.v200702.AckRequestedType

     * @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;
    }
View Full Code Here

Examples of org.apache.cxf.ws.rm.v200702.AckRequestedType

     * @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;
    }
View Full Code Here

Examples of org.apache.cxf.ws.rm.v200702.AckRequestedType

        codec.handleMessage(message);
        RMProperties rmps = RMContextUtils.retrieveRMProperties(message, false);
        Collection<AckRequestedType> requested = rmps.getAcksRequested();
        assertNotNull(requested);
        assertEquals(1, requested.size());
        AckRequestedType ar = requested.iterator().next();
        assertNotNull(ar);
        assertEquals(ar.getIdentifier().getValue(), SEQ_IDENTIFIER);

        SequenceType s = rmps.getSequence();
        assertNotNull(s);
        assertEquals(s.getIdentifier().getValue(), SEQ_IDENTIFIER);
        assertEquals(s.getMessageNumber(), MSG2_MESSAGE_NUMBER);
View Full Code Here

Examples of org.apache.cxf.ws.rm.v200702.AckRequestedType

            if (reqs == null) {
                reqs = new ArrayList<AckRequestedType>();
            }
            Identifier identifier = new Identifier();
            identifier.setValue(sequence.getIdentifier().getValue());
            AckRequestedType ackRequest = new AckRequestedType();
            ackRequest.setIdentifier(identifier);
            reqs.add(ackRequest);
            rmpsIn.setAcksRequested(reqs);
        }
    }
View Full Code Here
TOP
Copyright © 2018 www.massapi.com. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.