Author: vanto
Date: Fri Dec 28 13:34:10 2012
New Revision: 1426510

URL: http://svn.apache.org/viewvc?rev=1426510&view=rev
Log:
fix formatting.

Modified:
    ode/site/trunk/content/management-api.mdtext

Modified: ode/site/trunk/content/management-api.mdtext
URL: 
http://svn.apache.org/viewvc/ode/site/trunk/content/management-api.mdtext?rev=1426510&r1=1426509&r2=1426510&view=diff
==============================================================================
--- ode/site/trunk/content/management-api.mdtext (original)
+++ ode/site/trunk/content/management-api.mdtext Fri Dec 28 13:34:10 2012
@@ -6,9 +6,10 @@ ODE has a complete management API to che
 These two interfaces are available as web services on the Axis2-based 
distribution. The corresponding WSDL can be found 
[here](http://svn.apache.org/repos/asf/ode/trunk/axis2/src/main/wsdl/pmapi.wsdl).
  
 To invoke these two services, any web service client should work (in a perfect 
interoperable world). To ease the invocation when using an Axis2 client, a 
helper class is bundled in ode-axis2.jar: 
[ServiceClientUtil](http://ode.apache.org/javadoc/axis2/org/apache/ode/axis2/service/ServiceClientUtil.html).
 Usage examples are also available in test classes 
[InstanceManagementTest](http://svn.apache.org/repos/asf/ode/trunk/axis2/src/test/java/org/apache/ode/axis2/management/InstanceManagementTest.java)
 and 
[ProcessManagementTest](http://svn.apache.org/repos/asf/ode/trunk/axis2/src/test/java/org/apache/ode/axis2/management/ProcessManagementTest.java).
 Here is a short example demonstrating the invocation of the _listAllProcesses_ 
operation:
+
        :::java
        ServiceClientUtil client = new ServiceClientUtil();
-       OMElement root = client.buildMessage("listAllProcesses", new 
String[](.html) {}, new String[] {});
+       OMElement root = client.buildMessage("listAllProcesses", new String[] 
{}, new String[] {});
        OMElement result = client.send(msg, 
"http://localhost:8080/ode/processes/ProcessManagement";);
 
 We're using [XMLBeans](http://xmlbeans.apache.org/) to serialize and 
deserialize the returned values from/to XML so in the previous example. So if 
you'd like to have objects instead of an 
[Axiom](http://ws.apache.org/commons/axiom/index.html) structure in the 
previous example, just add the following lines of code:


Reply via email to