xsul.ws_addressing
Class WsaInvoker
java.lang.Object
xsul.ws_addressing.WsaInvoker
- All Implemented Interfaces:
- MessageInvoker
- public class WsaInvoker
- extends java.lang.Object
- implements MessageInvoker
Invoker that will use WSA headers to decide where to send message (wsa:To) and
will use WSA processing node to indicate where to send replies.
NOTE: this is class is not multi-thread safe and MUST be proected if used concurently!
- Version:
- $Revision: 1.9 $
- Author:
- Aleksander Slominski
| Methods inherited from class java.lang.Object |
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
WsaInvoker
public WsaInvoker()
setUseHttpKeepAlive
public void setUseHttpKeepAlive(boolean useHttpKeepAlive)
isUseHttpKeepAlive
public boolean isUseHttpKeepAlive()
setIndent
public void setIndent(java.lang.String indent)
getIndent
public java.lang.String getIndent()
setTargetEPR
public void setTargetEPR(WsaEndpointReference targetEPR)
getTargetEPR
public WsaEndpointReference getTargetEPR()
setMessageId
public void setMessageId(java.net.URI messageId)
getMessageId
public java.net.URI getMessageId()
setDefaultAction
public void setDefaultAction(java.net.URI action)
getDefaultAction
public java.net.URI getDefaultAction()
getSoapFragrance
public SoapUtil getSoapFragrance()
setSoapFragrance
public void setSoapFragrance(SoapUtil soapFragrance)
- Set what SOAP utility to use for wrapping message into SOAP Envelope Body
If itis null no wrapping is done.
setDefaultReplyTo
public void setDefaultReplyTo(WsaEndpointReference replyToEpr)
setDefaultFaultTo
public void setDefaultFaultTo(WsaEndpointReference faultToEpr)
invokeMessage
public XmlElement invokeMessage(XmlElement message)
throws DynamicInfosetInvokerException
- Description copied from interface:
MessageInvoker
- When invoking using this method the actual XML sent may be wrapped
(for exampel SOAP 1.1 invoker will put SOAP Envelope and Body around message
and extract back Body content from resposne message - if not oneway)
- Specified by:
invokeMessage in interface MessageInvoker
- Throws:
DynamicInfosetInvokerException
sendXml
public XmlDocument sendXml(XmlDocument doc)
throws XmlBuilderException,
DynamicInfosetInvokerException
- Throws:
XmlBuilderException
DynamicInfosetInvokerException
IU Extreme! Lab (http://www.extreme.indiana.edu)