You are viewing a plain text version of this content. The canonical link for it is here.
Posted to user@ode.apache.org by Anup Chandran <an...@3ds.com> on 2007/08/26 11:30:38 UTC

Using Instance and Process Management WebServices

hi all,

I tried invoking the processmgmt webservice using the following SOAP
request:

<soapenv:Envelope xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/"
xmlns:pmap="http://www.apache.org/ode/pmapi">
   <soapenv:Header/>
   <soapenv:Body>
      <pmap:listProcesses>
         <filter>?</filter>
         <orderKeys>?</orderKeys>
      </pmap:listProcesses>
   </soapenv:Body>
</soapenv:Envelope>

This is the console trace :

DEBUG - GeronimoLog.debug(66) | Checking for Service using target endpoint
address : http://localhost:8080/ode/services/
processmgmt
05:28:30,830 DEBUG [ODEAxisDispatcher] Checking for Service using target
endpoint address : http://localhost:8080/ode/se
rvices/processmgmt
WARN - GeronimoLog.warn(92) | No service has been found!
05:28:30,830 WARN  [ODEAxisDispatcher] No service has been found!


The Response is :

<soapenv:Envelope xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/">
   <soapenv:Body>
      <soapenv:Fault>
         <faultcode>soapenv:Client</faultcode>
         <faultstring>The service cannot be found for the endpoint reference
(EPR) http://localhost:8080/ode/services/processmgmt</faultstring>
         <detail/>
      </soapenv:Fault>
   </soapenv:Body>
</soapenv:Envelope>

Not sure if i have to do anything else to deploy these services.

Regards
Anup


-- 
View this message in context: http://www.nabble.com/Using-Instance-and-Process-Management-WebServices-tf4330566.html#a12333377
Sent from the Apache Ode User mailing list archive at Nabble.com.


Re: Using Instance and Process Management WebServices

Posted by Anup Chandran <an...@3ds.com>.
Alex,

Yes it works now... the url is 
http://localhost:8080/ode/processes/ProcessManagement
and 
http://localhost:8080/ode/processes/InstanceManagement

Thanks



Anup Chandran wrote:
> 
> 
> I changed the wsdl to have the correct urls...(Hope that is enough to
> invoke the services).
> The result was same:
> 
> DEBUG - GeronimoLog.debug(66) | Thread[pool-2-thread-5,5,main]:
> unlock(iid=274)
> 04:52:16,259 DEBUG [InstanceLockManager] Thread[pool-2-thread-5,5,main]:
> unlock(iid=274)
> DEBUG - GeronimoLog.debug(66) | Checking for Service using target endpoint
> address : http://localhost:8080/ode/services/
> ProcessManagement
> 04:52:36,939 DEBUG [ODEAxisDispatcher] Checking for Service using target
> endpoint address : http://localhost:8080/ode/se
> rvices/ProcessManagement
> WARN - GeronimoLog.warn(92) | No service has been found!
> 04:52:36,949 WARN  [ODEAxisDispatcher] No service has been found!
> 
> How are these services deployed? They are deployed when ode.war gets
> deployed on tomcat?
> 
> Anup
> 
> 
> 
> Alex Boisvert wrote:
>> 
>> The services are actually deployed at
>> 
>> http://localhost:8080/ode/services/ProcessManagement
>> and
>> http://localhost:8080/ode/services/InstanceManagement
>> 
>> There were inconsistencies between the code and the WSDL which I'm going
>> to
>> fix in SVN.
>> 
>> alex
>> 
>> 
>> On 8/26/07, Anup Chandran <an...@3ds.com> wrote:
>>>
>>>
>>> hi all,
>>>
>>> I tried invoking the processmgmt webservice using the following SOAP
>>> request:
>>>
>>> <soapenv:Envelope
>>> xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/
>>> "
>>> xmlns:pmap="http://www.apache.org/ode/pmapi">
>>>    <soapenv:Header/>
>>>    <soapenv:Body>
>>>       <pmap:listProcesses>
>>>          <filter>?</filter>
>>>          <orderKeys>?</orderKeys>
>>>       </pmap:listProcesses>
>>>    </soapenv:Body>
>>> </soapenv:Envelope>
>>>
>>> This is the console trace :
>>>
>>> DEBUG - GeronimoLog.debug(66) | Checking for Service using target
>>> endpoint
>>> address : http://localhost:8080/ode/services/
>>> processmgmt
>>> 05:28:30,830 DEBUG [ODEAxisDispatcher] Checking for Service using target
>>> endpoint address : http://localhost:8080/ode/se
>>> rvices/processmgmt
>>> WARN - GeronimoLog.warn(92) | No service has been found!
>>> 05:28:30,830 WARN  [ODEAxisDispatcher] No service has been found!
>>>
>>>
>>> The Response is :
>>>
>>> <soapenv:Envelope
>>> xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/
>>> ">
>>>    <soapenv:Body>
>>>       <soapenv:Fault>
>>>          <faultcode>soapenv:Client</faultcode>
>>>          <faultstring>The service cannot be found for the endpoint
>>> reference
>>> (EPR) http://localhost:8080/ode/services/processmgmt</faultstring>
>>>          <detail/>
>>>       </soapenv:Fault>
>>>    </soapenv:Body>
>>> </soapenv:Envelope>
>>>
>>> Not sure if i have to do anything else to deploy these services.
>>>
>>> Regards
>>> Anup
>>>
>>>
>>> --
>>> View this message in context:
>>> http://www.nabble.com/Using-Instance-and-Process-Management-WebServices-tf4330566.html#a12333377
>>> Sent from the Apache Ode User mailing list archive at Nabble.com.
>>>
>>>
>> 
>> 
> 
> 

-- 
View this message in context: http://www.nabble.com/Using-Instance-and-Process-Management-WebServices-tf4330566.html#a12343980
Sent from the Apache Ode User mailing list archive at Nabble.com.


Re: Using Instance and Process Management WebServices

Posted by Anup Chandran <an...@3ds.com>.
Alex,

Yes it works now... the url is 
http://localhost:8080/ode/processes/ProcessManagement
and 
http://localhost:8080/ode/processes/InstanceManagement

Thanks



Anup Chandran wrote:
> 
> 
> I changed the wsdl to have the correct urls...(Hope that is enough to
> invoke the services).
> The result was same:
> 
> DEBUG - GeronimoLog.debug(66) | Thread[pool-2-thread-5,5,main]:
> unlock(iid=274)
> 04:52:16,259 DEBUG [InstanceLockManager] Thread[pool-2-thread-5,5,main]:
> unlock(iid=274)
> DEBUG - GeronimoLog.debug(66) | Checking for Service using target endpoint
> address : http://localhost:8080/ode/services/
> ProcessManagement
> 04:52:36,939 DEBUG [ODEAxisDispatcher] Checking for Service using target
> endpoint address : http://localhost:8080/ode/se
> rvices/ProcessManagement
> WARN - GeronimoLog.warn(92) | No service has been found!
> 04:52:36,949 WARN  [ODEAxisDispatcher] No service has been found!
> 
> How are these services deployed? They are deployed when ode.war gets
> deployed on tomcat?
> 
> Anup
> 
> 
> 
> Alex Boisvert wrote:
>> 
>> The services are actually deployed at
>> 
>> http://localhost:8080/ode/services/ProcessManagement
>> and
>> http://localhost:8080/ode/services/InstanceManagement
>> 
>> There were inconsistencies between the code and the WSDL which I'm going
>> to
>> fix in SVN.
>> 
>> alex
>> 
>> 
>> On 8/26/07, Anup Chandran <an...@3ds.com> wrote:
>>>
>>>
>>> hi all,
>>>
>>> I tried invoking the processmgmt webservice using the following SOAP
>>> request:
>>>
>>> <soapenv:Envelope
>>> xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/
>>> "
>>> xmlns:pmap="http://www.apache.org/ode/pmapi">
>>>    <soapenv:Header/>
>>>    <soapenv:Body>
>>>       <pmap:listProcesses>
>>>          <filter>?</filter>
>>>          <orderKeys>?</orderKeys>
>>>       </pmap:listProcesses>
>>>    </soapenv:Body>
>>> </soapenv:Envelope>
>>>
>>> This is the console trace :
>>>
>>> DEBUG - GeronimoLog.debug(66) | Checking for Service using target
>>> endpoint
>>> address : http://localhost:8080/ode/services/
>>> processmgmt
>>> 05:28:30,830 DEBUG [ODEAxisDispatcher] Checking for Service using target
>>> endpoint address : http://localhost:8080/ode/se
>>> rvices/processmgmt
>>> WARN - GeronimoLog.warn(92) | No service has been found!
>>> 05:28:30,830 WARN  [ODEAxisDispatcher] No service has been found!
>>>
>>>
>>> The Response is :
>>>
>>> <soapenv:Envelope
>>> xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/
>>> ">
>>>    <soapenv:Body>
>>>       <soapenv:Fault>
>>>          <faultcode>soapenv:Client</faultcode>
>>>          <faultstring>The service cannot be found for the endpoint
>>> reference
>>> (EPR) http://localhost:8080/ode/services/processmgmt</faultstring>
>>>          <detail/>
>>>       </soapenv:Fault>
>>>    </soapenv:Body>
>>> </soapenv:Envelope>
>>>
>>> Not sure if i have to do anything else to deploy these services.
>>>
>>> Regards
>>> Anup
>>>
>>>
>>> --
>>> View this message in context:
>>> http://www.nabble.com/Using-Instance-and-Process-Management-WebServices-tf4330566.html#a12333377
>>> Sent from the Apache Ode User mailing list archive at Nabble.com.
>>>
>>>
>> 
>> 
> 
> 

-- 
View this message in context: http://www.nabble.com/Using-Instance-and-Process-Management-WebServices-tf4330566.html#a12343826
Sent from the Apache Ode User mailing list archive at Nabble.com.


Re: Using Instance and Process Management WebServices

Posted by Anup Chandran <an...@3ds.com>.

I changed the wsdl to have the correct urls...(Hope that is enough to invoke
the services).
The result was same:

DEBUG - GeronimoLog.debug(66) | Thread[pool-2-thread-5,5,main]:
unlock(iid=274)
04:52:16,259 DEBUG [InstanceLockManager] Thread[pool-2-thread-5,5,main]:
unlock(iid=274)
DEBUG - GeronimoLog.debug(66) | Checking for Service using target endpoint
address : http://localhost:8080/ode/services/
ProcessManagement
04:52:36,939 DEBUG [ODEAxisDispatcher] Checking for Service using target
endpoint address : http://localhost:8080/ode/se
rvices/ProcessManagement
WARN - GeronimoLog.warn(92) | No service has been found!
04:52:36,949 WARN  [ODEAxisDispatcher] No service has been found!

How are these services deployed? They are deployed when ode.war gets
deployed on tomcat?

Anup



Alex Boisvert wrote:
> 
> The services are actually deployed at
> 
> http://localhost:8080/ode/services/ProcessManagement
> and
> http://localhost:8080/ode/services/InstanceManagement
> 
> There were inconsistencies between the code and the WSDL which I'm going
> to
> fix in SVN.
> 
> alex
> 
> 
> On 8/26/07, Anup Chandran <an...@3ds.com> wrote:
>>
>>
>> hi all,
>>
>> I tried invoking the processmgmt webservice using the following SOAP
>> request:
>>
>> <soapenv:Envelope
>> xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/
>> "
>> xmlns:pmap="http://www.apache.org/ode/pmapi">
>>    <soapenv:Header/>
>>    <soapenv:Body>
>>       <pmap:listProcesses>
>>          <filter>?</filter>
>>          <orderKeys>?</orderKeys>
>>       </pmap:listProcesses>
>>    </soapenv:Body>
>> </soapenv:Envelope>
>>
>> This is the console trace :
>>
>> DEBUG - GeronimoLog.debug(66) | Checking for Service using target
>> endpoint
>> address : http://localhost:8080/ode/services/
>> processmgmt
>> 05:28:30,830 DEBUG [ODEAxisDispatcher] Checking for Service using target
>> endpoint address : http://localhost:8080/ode/se
>> rvices/processmgmt
>> WARN - GeronimoLog.warn(92) | No service has been found!
>> 05:28:30,830 WARN  [ODEAxisDispatcher] No service has been found!
>>
>>
>> The Response is :
>>
>> <soapenv:Envelope
>> xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/
>> ">
>>    <soapenv:Body>
>>       <soapenv:Fault>
>>          <faultcode>soapenv:Client</faultcode>
>>          <faultstring>The service cannot be found for the endpoint
>> reference
>> (EPR) http://localhost:8080/ode/services/processmgmt</faultstring>
>>          <detail/>
>>       </soapenv:Fault>
>>    </soapenv:Body>
>> </soapenv:Envelope>
>>
>> Not sure if i have to do anything else to deploy these services.
>>
>> Regards
>> Anup
>>
>>
>> --
>> View this message in context:
>> http://www.nabble.com/Using-Instance-and-Process-Management-WebServices-tf4330566.html#a12333377
>> Sent from the Apache Ode User mailing list archive at Nabble.com.
>>
>>
> 
> 

-- 
View this message in context: http://www.nabble.com/Using-Instance-and-Process-Management-WebServices-tf4330566.html#a12343625
Sent from the Apache Ode User mailing list archive at Nabble.com.


Re: Using Instance and Process Management WebServices

Posted by Alex Boisvert <bo...@intalio.com>.
The services are actually deployed at

http://localhost:8080/ode/services/ProcessManagement
and
http://localhost:8080/ode/services/InstanceManagement

There were inconsistencies between the code and the WSDL which I'm going to
fix in SVN.

alex


On 8/26/07, Anup Chandran <an...@3ds.com> wrote:
>
>
> hi all,
>
> I tried invoking the processmgmt webservice using the following SOAP
> request:
>
> <soapenv:Envelope xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/
> "
> xmlns:pmap="http://www.apache.org/ode/pmapi">
>    <soapenv:Header/>
>    <soapenv:Body>
>       <pmap:listProcesses>
>          <filter>?</filter>
>          <orderKeys>?</orderKeys>
>       </pmap:listProcesses>
>    </soapenv:Body>
> </soapenv:Envelope>
>
> This is the console trace :
>
> DEBUG - GeronimoLog.debug(66) | Checking for Service using target endpoint
> address : http://localhost:8080/ode/services/
> processmgmt
> 05:28:30,830 DEBUG [ODEAxisDispatcher] Checking for Service using target
> endpoint address : http://localhost:8080/ode/se
> rvices/processmgmt
> WARN - GeronimoLog.warn(92) | No service has been found!
> 05:28:30,830 WARN  [ODEAxisDispatcher] No service has been found!
>
>
> The Response is :
>
> <soapenv:Envelope xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/
> ">
>    <soapenv:Body>
>       <soapenv:Fault>
>          <faultcode>soapenv:Client</faultcode>
>          <faultstring>The service cannot be found for the endpoint
> reference
> (EPR) http://localhost:8080/ode/services/processmgmt</faultstring>
>          <detail/>
>       </soapenv:Fault>
>    </soapenv:Body>
> </soapenv:Envelope>
>
> Not sure if i have to do anything else to deploy these services.
>
> Regards
> Anup
>
>
> --
> View this message in context:
> http://www.nabble.com/Using-Instance-and-Process-Management-WebServices-tf4330566.html#a12333377
> Sent from the Apache Ode User mailing list archive at Nabble.com.
>
>