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
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptioncall(SOAPMessage msgOut, Object addressObject) Sends the given message to the specified endpoint and blocks until it has returned the response.voidclose()Closes thisSOAPConnectionobject.Gets a message from a specific endpoint and blocks until it receives,Methods inherited from class jakarta.xml.soap.SOAPConnection
getConnectTimeout, getReadTimeout, setConnectTimeout, setReadTimeout
-
Constructor Details
-
SOAPConnectionImpl
public SOAPConnectionImpl()
-
-
Method Details
-
call
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
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
Description copied from class:SOAPConnectionCloses thisSOAPConnectionobject.- Specified by:
closein interfaceAutoCloseable- Specified by:
closein classSOAPConnection- Throws:
SOAPException- if there is a SOAP error
-