ode-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From cinyoung hur <hur...@gmail.com>
Subject ODE and HTTP binding extension test
Date Fri, 22 Oct 2010 12:22:19 GMT
Hello,

I'm testing Restful web services with a simple wsdl.
I got wsdl file from seekda.com web site.
http://webservices.seekda.com/providers/xignite.com/XigniteEnergy

I followed the document that describes Restful services.

In the bpel designer, there was no syntax errors.
I published it into the ODE container, however I got error messages in the
following.
If I made the wsdl port with HTTP, the endpoint address should be extracted
in a http:address, isn't it?
What should I do if I call Restful web services with ODE?
Please give me your advice.

Thanks in advance.


This is my service definition.
<definitions
....
    xmlns:http="http://schemas.xmlsoap.org/wsdl/http/"
....
    <service name="Caller">
     <port name="CallerPort" binding="tns:CallerBinding">
            <http:address location="
http://localhost:8080/ode/processes/Rest2"/>
        </port>
    </service>

This is the error messages.
========================================================================
DEBUG - DeploymentPoller - ODEServer.handleEvent(636) | Process store event:
{ProcessStoreEvent#DEPLOYED:{http://RestTest}Caller-32}
DEBUG - DeploymentPoller - ODEServer.handleEvent(699) | (Re)scheduling cron
scheduled jobs on store event: {ProcessStoreEvent#DEPLOYED:{http://RestTest
}Caller-32}
INFO - DeploymentPoller - CronScheduler.cancelProcessCronJobs(93) |
Cancelling PROCESS CRON jobs for: {http://RestTest}Caller-32
INFO - DeploymentPoller - CronScheduler.scheduleProcessCronJobs(125) |
Scheduling PROCESS CRON jobs for: {http://RestTest}Caller-32
DEBUG - DeploymentPoller - ODEServer.handleEvent(636) | Process store event:
{ProcessStoreEvent#ACTVIATED:{http://RestTest}Caller-32}
DEBUG - DeploymentPoller - BpelEngineImpl.unregisterProcess(277) |
Unregister process: serviceId={http://RestTest}Caller-32, process=null
DEBUG - DeploymentPoller - BpelServerImpl.register(298) | register: {
http://RestTest}Caller-32
DEBUG - DeploymentPoller - BpelServerImpl.register(316) | Registering
process {http://RestTest}Caller-32 with server.
DEBUG - DeploymentPoller - BpelEngineImpl.registerProcess(318) | Register
process: serviceId={http://RestTest}Caller:CallerPort, process=BpelProcess[{
http://RestTest}Caller-32]
DEBUG - DeploymentPoller - BpelProcess.activate(570) | Activating {
http://RestTest}Caller-32
DEBUG - DeploymentPoller - ODEAxisService.createService(72) | Create
AxisService: service={http://RestTest}Caller port=CallerPort
WSDL=CallerArtifacts.wsdl BPEL=Caller.bpel
WARN - DeploymentPoller - ProcessStoreImpl.deploy(311) | Deployment failed
within the engine, store undeploying process.
org.apache.ode.bpel.iapi.ContextException: Could not activate endpoint for
service {http://RestTest}Caller and port CallerPort
at
org.apache.ode.axis2.BindingContextImpl.activateMyRoleEndpoint(BindingContextImpl.java:82)
at org.apache.ode.bpel.engine.BpelProcess.activate(BpelProcess.java:588)
at
org.apache.ode.bpel.engine.BpelEngineImpl.registerProcess(BpelEngineImpl.java:346)
at
org.apache.ode.bpel.engine.BpelServerImpl.register(BpelServerImpl.java:321)
at org.apache.ode.axis2.ODEServer.handleEvent(ODEServer.java:654)
at org.apache.ode.axis2.ODEServer.access$100(ODEServer.java:88)
at
org.apache.ode.axis2.ODEServer$ProcessStoreListenerImpl.onProcessStoreEvent(ODEServer.java:630)
at
org.apache.ode.store.ProcessStoreImpl.fireEvent(ProcessStoreImpl.java:570)
at
org.apache.ode.store.ProcessStoreImpl.fireStateChange(ProcessStoreImpl.java:576)
at org.apache.ode.store.ProcessStoreImpl.deploy(ProcessStoreImpl.java:307)
at org.apache.ode.store.ProcessStoreImpl.deploy(ProcessStoreImpl.java:168)
at
org.apache.ode.axis2.deploy.DeploymentPoller.check(DeploymentPoller.java:160)
at
org.apache.ode.axis2.deploy.DeploymentPoller.access$300(DeploymentPoller.java:60)
at
org.apache.ode.axis2.deploy.DeploymentPoller$PollingThread.run(DeploymentPoller.java:251)
Caused by: org.apache.ode.axis2.OdeFault: Could not extract any soap:address
from service WSDL definition {http://RestTest}Caller (necessary to establish
the process target address)!
at
org.apache.ode.axis2.hooks.ODEAxisService.extractEndpointUri(ODEAxisService.java:208)
at
org.apache.ode.axis2.hooks.ODEAxisService.extractServiceName(ODEAxisService.java:222)
at
org.apache.ode.axis2.hooks.ODEAxisService.createService(ODEAxisService.java:86)
at
org.apache.ode.axis2.BindingContextImpl.createService(BindingContextImpl.java:119)
at
org.apache.ode.axis2.BindingContextImpl.activateMyRoleEndpoint(BindingContextImpl.java:77)
... 13 more
DEBUG - DeploymentPoller - ODEServer.handleEvent(636) | Process store event:
{ProcessStoreEvent#UNDEPLOYED:{http://RestTest}Caller-32}
DEBUG - DeploymentPoller - BpelEngineImpl.unregisterProcess(277) |
Unregister process: serviceId={http://RestTest}Caller-32,
process=BpelProcess[{http://RestTest}Caller-32]
DEBUG - DeploymentPoller - BpelEngineImpl.unregisterProcess(280) |
Deactivating process {http://RestTest}Caller-32
INFO - DeploymentPoller - BpelServerImpl.unregister(369) | Unregistered
process {http://RestTest}Caller-32.
DEBUG - DeploymentPoller - ODEServer.handleEvent(694) | Cancelling all cron
scheduled jobs on store event: {ProcessStoreEvent#UNDEPLOYED:{
http://RestTest}Caller-32}
INFO - DeploymentPoller - CronScheduler.cancelProcessCronJobs(93) |
Cancelling PROCESS CRON jobs for: {http://RestTest}Caller-32
DEBUG - DeploymentPoller - ODEServer.handleEvent(699) | (Re)scheduling cron
scheduled jobs on store event: {ProcessStoreEvent#UNDEPLOYED:{
http://RestTest}Caller-32}
ERROR - DeploymentPoller - DeploymentPoller.check(163) | Deployment of Rest2
failed, aborting for now.
==================================================================


Cinyoung Hur.

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