| 
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
public interface ServiceControl
Provides simplified access to web services. A Service control
 provides an interface between your application and
 a web service, which allows your application to invoke the methods and
 handle the callbacks of that web service. Using a Web Service control, you
 can connect to any web service for which a WSDL file is available, whether
 or not it was built using WebLogic Workshop.
 
 You typically use a Service control by creating the control from a
 WSDL file, or from a web service you created with WebLogic Workshop, then add the
 control to a design in your application. The target web service's operations
 are exposed as methods of the control.
 
 For more information on using the Service control, see
 Web Service Control.
 TODO: this package should be renamed to avoid conflict with WLW controls. We still need to decide whether
 TODO: WLW or WLI should rename it. WLW does not support the old 8.1 interface, so they should certainly fix it
 TODO: or rename their packages if they do not want to break 8.1 user code.
| Method Summary | |
|---|---|
 String | 
getConversationID()
Retrieves the conversation ID of the current conversation with this Service control instance.  | 
 URL | 
getEndPoint()
Gets the callback URL that the Service control instance will use as the base URL for callback invocations.  | 
 Element[] | 
getInputHeaders()
Retrieves the SOAP headers that were included in the most recent arriving callback from this Service control.  | 
 String | 
getPassword()
Retrieves the password string that was set by the most recent call to the setPassword method.  | 
 Protocol | 
getProtocol()
Returns a Protocol object representing the protocol to use when sending messages to the target web service.  | 
 String | 
getReliableMessageID()
Retrieves the message ID set for this invocation of the Service control.  | 
 int | 
getTimeout()
Gets the timeout for HttpURLConnection in milliseconds  | 
 String | 
getUsername()
Retrieves the username string that was set by the most recent call to setUsername  | 
 void | 
reset()
Clears all parameters that were set by previous calls to the setConversationID, setOutputHeaders, setPassword, or setUsername methods.  | 
 void | 
setClientCert(String alias,
              String password)
Sets the client certificate alias and password when using client certificates with Secure Sockets Layer (SSL).  | 
 void | 
setConversationID(String conversationID)
Sets the unique key that will be proposed as the conversation ID when initiating a conversation with the Web Service control.  | 
 void | 
setEndPoint(URL url)
Sets the callback URL that the Service control instance will use as the base URL for callback invocations.  | 
 void | 
setKeystore(String location,
            String password)
Specifies the keystore information to use when using client-certificates with Secure Sockets Layer (SSL).  | 
 void | 
setKeystore(String location,
            String password,
            String type)
Specifies the keystore information (including type) to use when using client-certificates with Secure Sockets Layer (SSL).  | 
 void | 
setOutputHeaders(Element[] headers)
Sets the SOAP headers that will be included in the next outgoing method invocation message to the Service control.  | 
 void | 
setPassword(String password)
Sets the password that will be sent with the next outgoing Service control method invocation.  | 
 void | 
setProtocol(Protocol protocol)
Specifies the protocol to use for messages sent to the target web service.  | 
 void | 
setReliableMessageID(String messageID)
Sets the message ID to use for reliable messaging.  | 
 void | 
setTimeout(int timeout)
Sets the timeout for HttpURLConnection in milliseconds  | 
 void | 
setUsername(String username)
Sets the username that will be sent with the next outgoing Service control method invocation.  | 
 void | 
useClientKeySSL(boolean b)
Specifies whether a client certificate should be used with Secure Sockets Layer (SSL).  | 
| Method Detail | 
|---|
void setEndPoint(URL url)
url - The new destination for callbacks.URL getEndPoint()
void setConversationID(String conversationID)
conversationID - The new value for the conversation ID.String getConversationID()
void setProtocol(Protocol protocol)
protocol - The protocol to use.Protocol getProtocol()
void setReliableMessageID(String messageID)
messageID - The unique ID to use.String getReliableMessageID()
void setUsername(String username)
username - The username to send for authentication.void setPassword(String password)
password - The password to send for authentication.String getUsername()
String getPassword()
void useClientKeySSL(boolean b)
b - true to use a client certificate;
 otherwise, false.
void setKeystore(String location,
                 String password,
                 String type)
location - The path to the keystore (JKS) file.password - The password for the keystore.type - The type of keystore to use.
void setKeystore(String location,
                 String password)
location - The path to the keystore (JKS) file.password - The password for the keystore.
void setClientCert(String alias,
                   String password)
alias - The client certficate alias.password - The client certificate password.Element[] getInputHeaders()
void setOutputHeaders(Element[] headers)
headers - An array of the new SOAP output header
 elements.void reset()
void setTimeout(int timeout)
timeout - int getTimeout()
  | 
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||