Javax.xml.soap.SOAPConnection Class



Introduction

The javax.xml.soap.SOAPConnection class is a point-to-point connection that a client can use for sending messages directly to a remote party (represented by a URL, for example).

Class declaration

Following is the declaration for javax.xml.soap.SOAPConnection class:

public abstract class SOAPConnection
  extends Object

Class constructors

S.N. Constructor & Description
1 SOAPConnection()

Single Constructor.

Class methods

S.N. Method & Description
1 abstract SOAPMessage call(SOAPMessage request, Object to)

This method sends the given message to the specified endpoint and blocks until it has returned the response.

2 abstract void close()

This method closes this SOAPConnection object.

3 SOAPMessage get(Object to)

This method gets a message from a specific endpoint and blocks until it receives.

Methods inherited

This class inherits methods from the following classes −

java.lang.Object

Advertisements