Hi all,

I am trying to use ODE deployment web service to deploy and undeploy
processes. I am using an commons HttpClient to invoke the deployment
service. I tested the deployment web service of both ode-1.2 and ode -2.0.
In ode-2.0 I was successful in deploying the service. But when i invoke the
undeploy operation a strange thing happen. The process repository directory
gets deleted altogether resulting in nullpointer exception in undeployment
codes (ode successfully dispacthes to the undeploy operation in this case as
well).

When i try to deploy the process using the same logic (with same SOAPMessage
body and service URLs etc.) ode-1.2 doesnot correctly dispatch to the
service operation. But in this case the problem occurs at Axis2 transport
before going to ODE engine. (error message indicates that EPR for operation
cannot be found.)

The SOAPBody is roughly in the following format

<pmapi:deploy xmlns:pmapi="http://www.apache.org/ode/pmapi"; xmlns:dep="
http://www.apache.org/ode/deployapi"; xmlns:xmlmime="
http://www.w3.org/2005/05/xmlmime";>
      <dep:name>xxx</dep:name>
      <dep:package>
               <dep:zip
xmlmime:contentType="application/zip">base64encodedzip</dep:zip>
      </dep:package>
</pmapi:deploy>

I greatly appreciate any help or comment in this regard. I want to know any
changes present in those two ODE versions regarding process deployment, as
well.(like changes in WSDL etc)

Thanks
Chamith

Reply via email to