ode-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Tammo van Lessen <tvanles...@gmail.com>
Subject Re: how to use ODE instance management API getcommunication and replay
Date Tue, 30 Apr 2013 11:04:34 GMT
Hi Robin,

and there was a process instance with ID 1234?

Thanks,
  Tammo


On Sun, Apr 28, 2013 at 11:23 AM, Robin Tao <testforvln@gmail.com> wrote:

> Hi all, I'm new to the Apache ODE engine. I just got confused when I try to
> use the Management API to play with the engine which was deployed as war
> file.
>
> I came across the page where it told me to invoke pmap:getCommunication to
> get the restoreInstance,
> http://ode.apache.org/instance-replayer.html
> But I create a file getcommunication.soap:
>
> <?xml version="1.0" encoding="utf-8" ?>
> <SOAP-ENV:Envelope xmlns:SOAP-ENV="
> http://schemas.xmlsoap.org/soap/envelope/"
> xmlns:ns="http://www.apache.org/ode/pmapi/types/2006/08/02/" >
>   <SOAP-ENV:Body>
> <pmap:getCommunication >
>   <getCommunication>
>      <ns:iid>1234</ns:iid>
>   </getCommunication>
> </pmap:getCommunication>
>   </SOAP-ENV:Body>
> </SOAP-ENV:Envelope>
>
> then use "./sendsoap
> http://localhost:8080/ode/processes/InstanceManagementgetcommunication.soap
> "
> to invoke the ode management api.
>   I got response:
> <?xml version='1.0' encoding='UTF-8'?><soapenv:Envelope xmlns:soapenv="
> http://schemas.xmlsoap.org/soap/envelope/
> "><soapenv:Body><getCommunicationResponse><getCommunicationResponse
> /></getCommunicationResponse></soapenv:Body></soapenv:Envelope>
>
> It shows that I got no communication back.
>
> The file getcommunication.soap is a little different from the official
> guide in which I add SOAP-ENV attribute.
>
> Could you tell me why the management API return nothing and how I can get
> the right response?
>
> Thanks a lot
>



-- 
Tammo van Lessen - http://www.taval.de

Mime
  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message