Thanks Tammo.

You saved my life.

On Tue, Jan 25, 2011 at 6:09 PM, Tammo van Lessen <[email protected]> wrote:
> Hi Rafal,
>
> good catch, there is indeed a problem with the WSDL in this case. The
> order of the parameters is wrong, it should be the other way around,
> first the pid and second the boolean value. Also, the pid QName needs to
> be written in the form nsx:ProcessID and nsx needs to be bound to the
> qname's namespace.
>
> eg:
>
> <soapenv:Envelope
> xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/";
> xmlns:pmap="http://www.apache.org/ode/pmapi";>
>   <soapenv:Header/>
>   <soapenv:Body>
>      <pmap:setRetired>
>         <pid xmlns:ns1="http://ode/bpel/unit-test";>ns1:HelloWorld2-9</pid>
>         <retired>false</retired>
>      </pmap:setRetired>
>   </soapenv:Body>
> </soapenv:Envelope>
>
> I'll open a defect for the wrong ordering of the parameters.
>
> Tammo
>
> On 24.01.2011 12:49, Rafal Perkowski wrote:
>> Hi,
>> I use apache ode 1.3.4. I can not set process to RETIRED. When I call
>> method setRetired from webservice ProcessManagement I get error:
>> java.lang.StringIndexOutOfBoundsException: String index out of range:
>> -1[object Element]. Does anybody know how to pause process?
>> I can set manually status to RETIRED in database, but how can I
>> "refresh" engine after that. At this moment I need to restart engine
>> to apply this change.
>>
>> Thanks,
>>
>> Rafal
>
> --
> Tammo van Lessen - http://www.taval.de
>

Reply via email to