/** * Obtain id from reference parameters of the ws-a to address * Requires the existance of ws-a interceptors on dispatch path to provide access * to the ws-a headers * @param contextMap the current invocation or message context * @return the id from the reference parameters of the ws-a-to address or null if not found * @see org.apache.cxf.transport.MultiplexDestination#getId(java.util.Map) */ public String getId(Map<String, Object> contextMap) { String markedParam = null; AddressingProperties maps = (AddressingProperties)contextMap .get(ADDRESSING_PROPERTIES_INBOUND); if (null != maps) { EndpointReferenceType toEpr = maps.getToEndpointReference(); if (null != toEpr) { markedParam = extractStringElementFromAny(MULTIPLEX_ID_QNAME, toEpr); } } return markedParam; }
/** * Obtain id from reference parameters of the ws-a to address * Requires the existance of ws-a interceptors on dispatch path to provide access * to the ws-a headers * @param contextMap the current invocation or message context * @return the id from the reference parameters of the ws-a-to address or null if not found * @see org.apache.cxf.transport.MultiplexDestination#getId(java.util.Map) */ public String getId(Map<String, Object> contextMap) { String markedParam = null; AddressingProperties maps = (AddressingProperties)contextMap .get(ADDRESSING_PROPERTIES_INBOUND); if (null != maps) { EndpointReferenceType toEpr = maps.getToEndpointReference(); if (null != toEpr) { markedParam = extractStringElementFromAny(MULTIPLEX_ID_QNAME, toEpr); } } return markedParam; }
/** * Obtain id from reference parameters of the ws-a to address * Requires the existance of ws-a interceptors on dispatch path to provide access * to the ws-a headers * @param contextMap the current invocation or message context * @return the id from the reference parameters of the ws-a-to address or null if not found * @see org.apache.cxf.transport.MultiplexDestination#getId(java.util.Map) */ public String getId(Map<String, Object> contextMap) { String markedParam = null; AddressingProperties maps = (AddressingProperties)contextMap .get(SERVER_ADDRESSING_PROPERTIES_INBOUND); if (null != maps) { EndpointReferenceType toEpr = maps.getToEndpointReference(); if (null != toEpr) { markedParam = extractStringElementFromAny(MULTIPLEX_ID_QNAME, toEpr); } } return markedParam; }
/** * Obtain id from reference parameters of the ws-a to address * Requires the existance of ws-a interceptors on dispatch path to provide access * to the ws-a headers * @param contextMap the current invocation or message context * @return the id from the reference parameters of the ws-a-to address or null if not found * @see org.apache.cxf.transport.MultiplexDestination#getId(java.util.Map) */ public String getId(Map<String, Object> contextMap) { String markedParam = null; AddressingProperties maps = (AddressingProperties)contextMap .get(SERVER_ADDRESSING_PROPERTIES_INBOUND); if (null != maps) { EndpointReferenceType toEpr = maps.getToEndpointReference(); if (null != toEpr) { markedParam = extractStringElementFromAny(MULTIPLEX_ID_QNAME, toEpr); } } return markedParam; }