|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectcom.sun.identity.liberty.ws.soapbinding.Client
public class Client
The Client class provides web service clients with a method to
send requests using SOAP connection to web service servers.
| Method Summary | |
|---|---|
static Message |
sendRequest(Message req,
String connectTo)
Sends a request to a SOAP endpoint and returns the response. |
static Message |
sendRequest(Message req,
String connectTo,
String certAlias)
Sends a request to a SOAP endpoint and returns the response. |
static Message |
sendRequest(Message req,
String connectTo,
String certAlias,
String soapAction)
Sends a request to a SOAP endpoint and returns the response. |
| Method Detail |
|---|
public static Message sendRequest(Message req,
String connectTo)
throws SOAPBindingException,
SOAPFaultException
req - the requestconnectTo - the SOAP endpoint URL
SOAPBindingException - if an error occurs while sending the
message
SOAPFaultException - if the response is a SOAP Fault
public static Message sendRequest(Message req,
String connectTo,
String certAlias)
throws SOAPBindingException,
SOAPFaultException
req - the request message.connectTo - the SOAP endpoint URLcertAlias - the cert alias of a client certificate being used in
SSL
SOAPBindingException - if an error occurs while sending the
message
SOAPFaultException - if the response is a SOAP Fault
public static Message sendRequest(Message req,
String connectTo,
String certAlias,
String soapAction)
throws SOAPBindingException,
SOAPFaultException
req - the request message.connectTo - the SOAP endpoint URLcertAlias - the cert alias of a client certificatesoapAction - the SOAPAction header
SOAPFaultException - if a SOAP Fault occurs
SOAPBindingException - if a error occurs while processing,
sending or receiving Message
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||