|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface WebServiceAction
Invokes an operation on a Web service. The operation name and input arguments to the Web service are specified using the DynamicMethod interface.
This action supports invoking Web services that are secured using usernames and passwords, as defined in the Web Services Security UsernameToken Profile. The Web Service Action returns its result in the flow context variable "RESULT". The following table contains more information on accessing and using the result.Flow Context Variable | Field | Java Type | Description |
---|---|---|---|
RESULT | result | java.lang.Object | The result returned by the Web service, which is not a Flux persistent object and may be a simple object like a string or an integer or a more complex object like an object array whose types are defined by the WSDL.
The exact type of result depends entirely on the WSDL. Consult the WSDL for the exact return type. |
Nested Class Summary | |
---|---|
static class |
WebServiceAction.WebServiceActionResult
The result returned by the Web service, which is not a Flux persistent object and may be a single result object or multi-valued result object, which is returned as an object array whose types are defined by the WSDL. |
Method Summary | |
---|---|
java.lang.String |
getPassword()
Returns the optional password used to access the Web service, assuming the Web service is secured. |
WebServiceActionPasswordType |
getPasswordType()
Returns the kind of password used to authenticate a secure Web service. |
java.lang.String |
getUsername()
Returns the optional username used to access the Web service, assuming the web service is secured. |
java.net.URL |
getWsdl()
Returns the WSDL location that defines how the Web service is accessed and used. |
boolean |
isAddressingEnabled()
Indicates whether the WS-Addressing flag on the Web service request is enabled. |
void |
setAddressingEnabled(boolean enabled)
Indicates whether the WS-Addressing flag on the Web service request is enabled. |
void |
setPassword(java.lang.String password)
Sets the optional password used to access the Web service, assuming the Web service is secured. |
void |
setPasswordType(WebServiceActionPasswordType passwordType)
Sets the kind of password used to authenticate a secure Web service. |
void |
setUsername(java.lang.String username)
Sets the optional username used to access the Web service, assuming the Web service is secured. |
void |
setWsdl(java.net.URL wsdl)
Sets the WSDL location that defines how the Web service is accessed and used. |
Methods inherited from interface flux.DynamicMethod |
---|
getArgument, getArgumentCount, getArgumentType, getListenerSignature, setArgument, setArgument, setArgument, setArgument, setArgument, setArgument, setArgument, setArgument, setArgument, setArgument, setArgument, setArgument, setArgument, setArgument, setArgument, setArgument, setArgument, setArgument, setArgument, setListenerSignature |
Methods inherited from interface flux.runtimedatamap.RuntimeDataMap |
---|
getRuntimeDataMap, setRuntimeDataMap |
Method Detail |
---|
java.lang.String getPassword()
WebServiceActionPasswordType getPasswordType()
java.lang.String getUsername()
java.net.URL getWsdl()
boolean isAddressingEnabled()
void setAddressingEnabled(boolean enabled)
enabled
- Whether the WS-Addressing flag on the Web service request is
enabled.void setPassword(java.lang.String password)
password
- The optional password used to access the Web service. The
password must be in clear text. May be null.void setPasswordType(WebServiceActionPasswordType passwordType)
passwordType
- The kind of password used to authenticate a secure Web
service.
java.lang.IllegalArgumentException
- If passwordType is null.void setUsername(java.lang.String username)
username
- The optional username used to access the Web service. May
be null.void setWsdl(java.net.URL wsdl)
wsdl
- The WSDL location that defines how the Web service is accessed
and used.
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |