|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object org.ws4d.java.client.InvokeUtil
public class InvokeUtil
This utility class allows the invocation of a Web Service action without WSDL parsing or discovery.
Constructor Summary | |
---|---|
InvokeUtil()
|
Method Summary | |
---|---|
static ParameterValue |
invoke(URI address,
java.lang.String actionUri,
ParameterValue value)
Invokes the operation of a Web Service with given address and input action URI. |
static ParameterValue |
invokeAny(java.lang.String actionUri,
ParameterValue value)
Invokes the operation of a Web Service with given input action URI. |
static void |
invokeAnyOneWay(java.lang.String actionUri,
ParameterValue value)
Invokes the one-way operation of a Web Service with given input action URI. |
static void |
invokeOneWay(URI address,
java.lang.String actionUri,
ParameterValue value)
Invokes the one-way operation of a Web Service with given address and input action URI. |
Methods inherited from class java.lang.Object |
---|
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public InvokeUtil()
Method Detail |
---|
public static void invokeAnyOneWay(java.lang.String actionUri, ParameterValue value)
This method tries to discover the Web Service. The first service which matches the port type is used. The port type is to be extracted from the input action URI.
actionUri
- the input action URI of the operationvalue
- the request value for the operationpublic static ParameterValue invokeAny(java.lang.String actionUri, ParameterValue value) throws InvocationException, TimeoutException
This method tries to discover the Web Service. The first service which matches the port type is to be used. The port type is to be extracted from the input action URI.
actionUri
- the input action URI of the operationvalue
- the request value for the operation
InvocationException
TimeoutException
public static void invokeOneWay(URI address, java.lang.String actionUri, ParameterValue value)
actionUri
- the input action URI of the operationvalue
- the request value for the operation
InvocationException
TimeoutException
public static ParameterValue invoke(URI address, java.lang.String actionUri, ParameterValue value) throws InvocationException, TimeoutException
actionUri
- the input action URI of the operationvalue
- the request value for the operation
InvocationException
TimeoutException
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |