Note that there are some explanatory texts on larger screens.

plurals
  1. POApache-ODE ProcessManagement
    primarykey
    data
    text
    <p>I can access this API/WS through<br> <code>http://localhost:8080/ode/processes/ProcessManagement?wsdl</code>.</p> <ol> <li><p>I would like to get the Process Info of a Process through this service and active it.<br> The serivce has the matching operations <code>getProcessInfo</code> and activate.<br> With <code>listAllProcesses</code> I get all Processes of a delpoyed package.<br> For <code>getProcessInfo/activate</code> I need the Process <code>pid</code>.<br> I get a <code>&lt;ns:pid&gt;</code>, using this gets me a load of Exceptions.<br> Using the name of the process and other stuff I receive earlier doesn't work either.<br> The <code>pid</code> is of type <code>QName</code>, perhaps thats the root of the problem.<br> However I don't now how to typecast here.<br> (Tried all with the eclipse Web Services Explorer and soapUI)</p> <p><strong>question:</strong> How does a proper request for both Operations look like? </p></li> <li><p>When I try to consume the webservice with axi2 via eclipse, there is a undeclared variable <code>local</code> in the AnySimpleType class. I'm not keen on using the service this way. But since I'm already writing a Client for the DeploymentService I thought about this approach.</p> <p><strong>question:</strong> How do I properly access the ProcessManagement?</p></li> </ol> <p>EDIT: I have a simular problem with the <a href="https://stackoverflow.com/questions/13621738/apache-ode-bpel-deployment-with-a-webservice-file-transfer">DeploymentService</a> and the <code>undeploy</code> Operation.<br> EDIT2: I figured the Problem with the DeploymentService <code>undeploy</code> out.<br> I had to get the Packagename as String. Then a made a javax.xml.namespace.QName out of it. Then I used the <code>setPackageName</code> of said <code>undeploy</code> operation.</p> <p><strong>Answer</strong> to question number 1: soapUI with listAllProcesses returns<br> <code>&lt;ns:pid&gt;{ode/bpel/unit-test}HelloWorld2-1&lt;/ns:pid&gt;</code><br> getProcessInfo wants</p> <pre><code>&lt;pmap:getProcessInfo&gt; &lt;pid&gt;?&lt;/pid&gt; &lt;/pmap:getProcessInfo&gt; </code></pre> <p>Now I replaced <code>&lt;pid&gt;?&lt;/pid&gt;</code> with<br> <code>&lt;pid xmlns:odetest="http://ode/bpel/unit-test"&gt;odetest:HelloWorld2-1&lt;/pid&gt;</code> and it worked like a charm.</p>
    singulars
    1. This table or related slice is empty.
    plurals
    1. This table or related slice is empty.
    1. This table or related slice is empty.
 

Querying!

 
Guidance

SQuiL has stopped working due to an internal error.

If you are curious you may find further information in the browser console, which is accessible through the devtools (F12).

Reload