|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
public interface Transport
A Transport is used to make calls on a remote GRIA service. Normally, you don't want to
use this interface directly; instead, use
Conversation objects, which use this
interface internally.
| Method Summary | |
|---|---|
Parser |
fetchWSDL(URL url)
Download and parse a WSDL file. |
X509Certificate |
getIssuerCert()
Return the certificate of the issuer of the certificate we use for signing messages. |
char[] |
getKeyPassword()
Get the password for the single private key in the keystore. |
KeyStore |
getKeyStore()
Get the keystore, which contains a single private key. |
Key |
getPrivateKey()
Get the private key from the keystore. |
X509Certificate |
getSubjectCert()
Return the certificate we use for signing messages. |
Object |
invokeService(RemoteBoundMethod method,
String serviceProviderRef,
SOAPHeaderElement[] extraHeaders,
Object[] argValues)
Invoke a SOAP method on a remote server. |
InputStream |
openURL(URL url)
Fetch 'url' using the Apache commons httpclient, using our configured keystore. |
| Method Detail |
|---|
Object invokeService(RemoteBoundMethod method,
String serviceProviderRef,
SOAPHeaderElement[] extraHeaders,
Object[] argValues)
throws RemoteException
The clientRef, serviceProviderRef and version fields of the request are filled in automatically.
method - the service to invokeserviceProviderRef - the server-assigned ID for the conversationextraHeaders - additional SOAP headers to add to the messageargValues - the values of the input arguments
RemoteExceptionX509Certificate getSubjectCert()
X509Certificate getIssuerCert()
KeyStore getKeyStore()
Key getPrivateKey()
char[] getKeyPassword()
InputStream openURL(URL url)
throws IOException
url - the URL of the HTTP or HTTPS resource
IOException
Parser fetchWSDL(URL url)
throws IOException,
SAXException,
javax.wsdl.WSDLException
url - the URL of the WSDL file
IOException
SAXException
javax.wsdl.WSDLException
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||