|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectorg.apache.ode.axis2.service.ServiceClientUtil
public class ServiceClientUtil
Client utilities that can be used to invoke easily the deployment and management services with Axis2.
| Constructor Summary | |
|---|---|
ServiceClientUtil()
|
|
| Method Summary | |
|---|---|
org.apache.axiom.om.OMElement |
buildMessage(java.lang.String operation,
java.lang.String[] params,
java.lang.Object[] values)
Builds a message for the deployment and management API using simple parameter passing. |
org.apache.axiom.om.OMElement |
send(org.apache.axiom.om.OMElement msg,
java.lang.String url)
Sends the provided message to an Axis2 deployed service. |
org.apache.axiom.om.OMElement |
send(org.apache.axiom.om.OMElement msg,
java.lang.String url,
long timeout)
Sends the provided message to an Axis2 deployed service allowing to set a specific timeout (in ms). |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public ServiceClientUtil()
| Method Detail |
|---|
public org.apache.axiom.om.OMElement send(org.apache.axiom.om.OMElement msg,
java.lang.String url)
throws org.apache.axis2.AxisFault
msg - the message OMElement that will be included in the bodyurl - to send the message to
org.apache.axis2.AxisFault - when a problem occured during the call
public org.apache.axiom.om.OMElement send(org.apache.axiom.om.OMElement msg,
java.lang.String url,
long timeout)
throws org.apache.axis2.AxisFault
msg - the message OMElement that will be included in the bodyurl - to send the message totimeout - in milliseconds
org.apache.axis2.AxisFault - when a problem occured during the call
public org.apache.axiom.om.OMElement buildMessage(java.lang.String operation,
java.lang.String[] params,
java.lang.Object[] values)
buildMessage("listProcesses", new String[] {"filter", "orderKeys"},
new String[] {"name=DynPartnerResponder namespace=http://ode/bpel/responder " +
"deployed>=" + notSoLongAgoStr, ""});
operation - to callparams - list of the parameters for the operation as defined in the WSDL documentvalues - of the parameters
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||