/** * Returns the uri of the actor associated with this <CODE> SOAPHeaderElement</CODE> object. * * @return a <CODE>String</CODE> giving the URI of the actor * @see #setActor(String) setActor(java.lang.String) */ public String getActor() { return this.omTarget.getRole(); }
/** * Returns the uri of the actor associated with this <CODE> SOAPHeaderElement</CODE> object. * * @return a <CODE>String</CODE> giving the URI of the actor * @see #setActor(String) setActor(java.lang.String) */ public String getActor() { return this.omTarget.getRole(); }
public boolean checkHeader(SOAPHeaderBlock header) { if (role == null) { return true; } String thisRole = header.getRole(); return (role.equals(thisRole)); } }
public boolean checkHeader(SOAPHeaderBlock header) { if (role == null) { return true; } String thisRole = header.getRole(); return (role.equals(thisRole)); } }
public boolean checkHeader(SOAPHeaderBlock header) { if (role == null) { return true; } String thisRole = header.getRole(); return (role.equals(thisRole)); } }
@Override public String getActorOrRole() { return getAxiomHeaderBlock().getRole(); }
@Override public String getActorOrRole() { return getAxiomHeaderBlock().getRole(); }
public String getActorOrRole() { return getAxiomHeaderBlock().getRole(); }
@Override public String getActorOrRole() { return getAxiomHeaderBlock().getRole(); }
public String getRole() { if (((SOAPFactory)this.omTarget.getOMFactory()).getSOAPVersion() == SOAPVersion.SOAP11) { throw new UnsupportedOperationException(); } else { return this.omTarget.getRole(); } }
/** * Returns an <code>Iterator</code> over all the <code>SOAPHeaderBlock</code> objects in this * <code>SOAPHeader</code> object that have the specified actor and that have a MustUnderstand * attribute whose value is equivalent to <code>true</code>. * * @param actor a <code>String</code> giving the URI of the actor for which to search * @return an <code>Iterator</code> object over all the <code>SOAPHeaderBlock</code> objects * that contain the specified actor and are marked as MustUnderstand */ public Iterator examineMustUnderstandHeaderBlocks(String actor) { Iterator headerBlocksIter = this.getChildren(); ArrayList mustUnderstandHeadersWithGivenActor = new ArrayList(); while (headerBlocksIter.hasNext()) { Object o = headerBlocksIter.next(); if (o instanceof SOAPHeaderBlock) { SOAPHeaderBlock soapHeaderBlock = (SOAPHeaderBlock) o; String role = soapHeaderBlock.getRole(); boolean mustUnderstand = soapHeaderBlock.getMustUnderstand(); if ((role != null) && role.equals(actor) && mustUnderstand) { mustUnderstandHeadersWithGivenActor.add(soapHeaderBlock); } } } return mustUnderstandHeadersWithGivenActor.iterator(); }
public String getRole() { if (((SOAPFactory)this.omTarget.getOMFactory()).getSOAPVersion() == SOAP11Version.getSingleton()) { throw new UnsupportedOperationException(); } else { return this.omTarget.getRole(); } }
String role = header.getRole(); SOAPVersion version = header.getVersion();
@Override protected InvocationResponse doProcessing(final MessageContext mc) throws Exception { // First get the ebMS header block, that is the eb:Messaging element final SOAPHeaderBlock messaging = Messaging.getElement(mc.getEnvelope()); if (messaging != null) { // Check if the message was received through I-Cloud, i.e. if eb:Messaging header was targeted to // nextMSH SOAP role/actor final boolean isMultiHop = MultiHopConstants.NEXT_MSH_TARGET.equalsIgnoreCase(messaging.getRole()); if (isMultiHop) { log.debug("Message received through I-Cloud, update message units"); StorageManager updateManager = HolodeckB2BCore.getStorageManager(); for (final IMessageUnitEntity mu : MessageContextUtils.getReceivedMessageUnits(mc)) updateManager.setMultiHop(mu, isMultiHop); } } return InvocationResponse.CONTINUE; }
String role = header.getRole(); SOAPVersion version = header.getVersion();
String role = header.getRole(); SOAPVersion version = header.getVersion();
if (h.getRole() == null) defHeader = h;
for(Iterator iter=addressingHeaders.iterator();iter.hasNext();){ SOAPHeaderBlock oe = (SOAPHeaderBlock)iter.next(); if(addressingRole == null || addressingRole.length() ==0 || addressingRole.equals(oe.getRole())){ existingWSAHeaders.add(oe.getLocalName());
.getPrefix(), attrQName.getNamespaceURI()), attr.getAttributeValue()); final String role = hb.getRole(); if (role != null) { headerEle.setActor(role);