|
BEA Systems, Inc. | |||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
Provides simplified access to web services. A Web 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.
The target web service's operations
are exposed as methods of the control.
Nested Class Summary | |
static interface |
ServiceControl.Conversation
The Conversation annotation specifies the conversational phase of the method. |
static interface |
ServiceControl.HttpSoapProtocol
The HttpSoapProtocol annotation specifies that a particular Web Service control supports SOAP over HTTP. |
static interface |
ServiceControl.Location
The Location annotation provides the location URL for target service. |
static interface |
ServiceControl.OperationName
The OperationName annotation is only used when the target WSDL defines operations with names that are invalid as Java method names. |
static interface |
ServiceControl.SOAPBinding
The SOAPBinding annotation indicates the SOAP style, use, and wrapped attributes. |
static interface |
ServiceControl.TypesJarName
The TypesJarName annotation is an optional annotation indicating the path to the jar containing the complex types. |
static interface |
ServiceControl.WSDL
The WSDL annotation specifies the path to the WSDL file. |
Method Summary | |
String |
getConversationID()
Retrieves the conversation ID of the current conversation with this Web Service control instance. |
URL |
getEndPoint()
Gets the URL that the Service control instance will use as the base URL. |
Element[] |
getInputHeaders()
Retrieves the SOAP headers that were included in the most recent arriving callback from this Web Service control. |
String |
getPassword()
Retrieves the password string that was set by the most recent call to the setPassword method. |
weblogic.wsee.jws.Protocol |
getProtocol()
Deprecated. |
int |
getTimeout()
Gets the timeout that has been set by setTimeout() for the underlying HttpURLConnection, in milliseconds. |
String |
getUsername()
Retrieves the username string that was set by the most recent call to setUsername. |
QName |
getWsdlPort()
Returns the QName of the port that will be used by the Service Control to call the webservice. |
void |
reset()
Clears all parameters that were set by previous calls to the setOutputHeaders, setPassword, or setUsername methods. |
void |
setClientCert(String alias,
String password)
Specifies the information to look up the client certificate when using 2-way 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)
Provides manual control over URL of the target service. |
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 Web Service control. |
void |
setPassword(String password)
Sets the password that will be sent with the next outgoing Web Service control method invocation. |
void |
setProtocol(weblogic.wsee.jws.Protocol protocol)
Deprecated. |
void |
setTimeout(int timeout)
Sets the timeout for the underlying HttpURLConnection in milliseconds. |
void |
setTruststore(String location,
String password,
String type)
Set the trust-store to use to validate the server using SSL. |
void |
setUsername(String username)
Sets the username that will be sent with the next outgoing Web Service control method invocation. |
void |
setWsdlPort(QName wsdlPortName)
Specifies the QName for the port within the WSDL which the Service Control should use. |
void |
useClientKeySSL(boolean b)
Specifies whether a client certificate should be used with Secure Sockets Layer (SSL). |
Method Detail |
public String getConversationID()
public URL getEndPoint()
public Element[] getInputHeaders()
public String getPassword()
public weblogic.wsee.jws.Protocol getProtocol()
public int getTimeout()
public String getUsername()
public QName getWsdlPort()
public void reset()
public void setClientCert(String alias, String password)
alias
- The path to the keystore (JKS) file.password
- The password for the keystore.public void setConversationID(String conversationID)
conversationID
- The new value for the conversation ID.public void setEndPoint(URL url)
url
- The new destination for callbacks.public 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.public void setOutputHeaders(Element[] headers)
headers
- An array of the new SOAP output header elements.public void setPassword(String password)
password
- The password to send for authentication.public void setProtocol(weblogic.wsee.jws.Protocol protocol)
protocol
- The protocol to use.public void setTimeout(int timeout)
public void setTruststore(String location, String password, String type)
location
- The file path to the trust-store file.password
- The trust-store password.type
- The type of trust-store. Default is JKS.public void setUsername(String username)
username
- The username to send for authentication.public void setWsdlPort(QName wsdlPortName)
wsdlPortName
- The QName of the port to use.public void useClientKeySSL(boolean b)
b
- true
to use a client certificate;
otherwise, false
.
|
Documentation is available at http://download.oracle.com/docs/cd/E13222_01/wls/docs90 Copyright 2005 BEA Systems Inc. |
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |