Package org.jboss.wsf.stack.cxf.saaj
Class SOAPConnectionImpl
- java.lang.Object
-
- jakarta.xml.soap.SOAPConnection
-
- org.jboss.wsf.stack.cxf.saaj.SOAPConnectionImpl
-
- All Implemented Interfaces:
AutoCloseable
public class SOAPConnectionImpl extends SOAPConnection
-
-
Constructor Summary
Constructors Constructor Description SOAPConnectionImpl()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description SOAPMessagecall(SOAPMessage msgOut, Object addressObject)Sends the given message to the specified endpoint and blocks until it has returned the response.voidclose()Closes thisSOAPConnectionobject.SOAPMessageget(Object addressObject)Gets a message from a specific endpoint and blocks until it receives,-
Methods inherited from class jakarta.xml.soap.SOAPConnection
getConnectTimeout, getReadTimeout, setConnectTimeout, setReadTimeout
-
-
-
-
Method Detail
-
call
public SOAPMessage call(SOAPMessage msgOut, Object addressObject) throws SOAPException
Description copied from class:SOAPConnectionSends the given message to the specified endpoint and blocks until it has returned the response.- Specified by:
callin classSOAPConnection- Parameters:
msgOut- theSOAPMessageobject to be sentaddressObject- anObjectthat identifies where the message should be sent. It is required to support Objects of typejava.lang.Stringandjava.net.URL- Returns:
- the
SOAPMessageobject that is the response to the message that was sent - Throws:
SOAPException- if there is a SOAP error
-
get
public SOAPMessage get(Object addressObject) throws SOAPException
Description copied from class:SOAPConnectionGets a message from a specific endpoint and blocks until it receives,- Overrides:
getin classSOAPConnection- Parameters:
addressObject- anObjectthat identifies where the request should be sent. Objects of typejava.lang.Stringandjava.net.URLmust be supported.- Returns:
- the
SOAPMessageobject that is the response to the get message request - Throws:
SOAPException- if there is a SOAP error
-
close
public void close() throws SOAPExceptionDescription copied from class:SOAPConnectionCloses thisSOAPConnectionobject.- Specified by:
closein interfaceAutoCloseable- Specified by:
closein classSOAPConnection- Throws:
SOAPException- if there is a SOAP error
-
-