/** * Sets the actor associated with this <CODE> SOAPHeaderElement</CODE> object to the specified * actor. The default value of an actor is: <CODE> SOAPConstants.URI_SOAP_ACTOR_NEXT</CODE> * * @param actorURI a <CODE>String</CODE> giving the URI of the actor to set * @throws IllegalArgumentException * if there is a problem in setting the actor. * @see #getActor() getActor() */ public void setActor(String actorURI) { this.omTarget.setRole(actorURI); }
/** * Sets the actor associated with this <CODE> SOAPHeaderElement</CODE> object to the specified * actor. The default value of an actor is: <CODE> SOAPConstants.URI_SOAP_ACTOR_NEXT</CODE> * * @param actorURI a <CODE>String</CODE> giving the URI of the actor to set * @throws IllegalArgumentException * if there is a problem in setting the actor. * @see #getActor() getActor() */ public void setActor(String actorURI) { this.omTarget.setRole(actorURI); }
private void addRoleToHeader(SOAPHeaderBlock header){ if(addressingRole == null || addressingRole.length()==0){ return; } header.setRole(addressingRole); } }
@Override public void setActorOrRole(String role) { getAxiomHeaderBlock().setRole(role); }
@Override public void setActorOrRole(String role) { getAxiomHeaderBlock().setRole(role); }
@Override public void setActorOrRole(String role) { getAxiomHeaderBlock().setRole(role); }
public void setActorOrRole(String role) { getAxiomHeaderBlock().setRole(role); }
/** * Sets the Role associated with this SOAPHeaderElement object to the specified Role. * * @param uri - the URI of the Role * @throws SOAPException - if there is an error in setting the role java.lang.UnsupportedOperationException * - if this message does not support the SOAP 1.2 concept of Fault Role. */ public void setRole(String uri) throws SOAPException { if (((SOAPFactory)this.omTarget.getOMFactory()).getSOAPVersion() == SOAPVersion.SOAP11) { throw new UnsupportedOperationException(); } else { this.omTarget.setRole(uri); } }
/** * Sets the Role associated with this SOAPHeaderElement object to the specified Role. * * @param uri - the URI of the Role * @throws SOAPException - if there is an error in setting the role java.lang.UnsupportedOperationException * - if this message does not support the SOAP 1.2 concept of Fault Role. */ public void setRole(String uri) throws SOAPException { if (((SOAPFactory)this.omTarget.getOMFactory()).getSOAPVersion() == SOAP11Version.getSingleton()) { throw new UnsupportedOperationException(); } else { this.omTarget.setRole(uri); } }
ebHeader.setRole(MultiHopConstants.NEXT_MSH_TARGET);