ode-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Paul Polydoras <p.polydo...@di.uoa.gr>
Subject Use of External Services
Date Fri, 21 Dec 2007 15:49:57 GMT

Hi all,

I've created a process which employs an external service with the
following namespace:
http://myproject.org/searchservice/AddService

When I try to deploy it, I get the following error:

DEBUG - GeronimoLog.debug(66) | Process store event:
{ProcessStoreEvent#DEPLOYED:{http://mpeproject.org/searchservice/mpeprocess}BPELMPEProcessJAXB-18}
16:16:22,410 DEBUG [ODEServer] Process store event:
{ProcessStoreEvent#DEPLOYED:{http://mpeproject.org/searchservice/mpeprocess}BPELMPEProcessJAXB-18}
DEBUG - GeronimoLog.debug(66) | Ignoring store event:
{ProcessStoreEvent#DEPLOYED:{http://mpeproject.org/searchservice/mpeprocess}BPELMPEProcessJAXB-18}
16:16:22,412 DEBUG [ODEServer] Ignoring store event:
{ProcessStoreEvent#DEPLOYED:{http://mpeproject.org/searchservice/mpeprocess}BPELMPEProcessJAXB-18}
DEBUG - GeronimoLog.debug(66) | Process store event:
{ProcessStoreEvent#ACTVIATED:{http://mpeproject.org/searchservice/mpeprocess}BPELMPEProcessJAXB-18}
16:16:22,415 DEBUG [ODEServer] Process store event:
{ProcessStoreEvent#ACTVIATED:{http://mpeproject.org/searchservice/mpeprocess}BPELMPEProcessJAXB-18}
DEBUG - GeronimoLog.trace(54) | unregister:
{http://mpeproject.org/searchservice/mpeprocess}BPELMPEProcessJAXB-18
16:16:22,416 DEBUG [BpelServerImpl] unregister:
{http://mpeproject.org/searchservice/mpeprocess}BPELMPEProcessJAXB-18
INFO - GeronimoLog.info(79) | Process
{http://mpeproject.org/searchservice/mpeprocess}BPELMPEProcessJAXB-18
has been unregistered.
16:16:22,418 INFO  [BpelServerImpl] Process
{http://mpeproject.org/searchservice/mpeprocess}BPELMPEProcessJAXB-18
has been unregistered.
DEBUG - GeronimoLog.debug(66) | register:
{http://mpeproject.org/searchservice/mpeprocess}BPELMPEProcessJAXB-18
16:16:22,426 DEBUG [BpelServerImpl] register:
{http://mpeproject.org/searchservice/mpeprocess}BPELMPEProcessJAXB-18
DEBUG - GeronimoLog.debug(66) | Registering process
{http://mpeproject.org/searchservice/mpeprocess}BPELMPEProcessJAXB-18
with server.
16:16:22,427 DEBUG [BpelServerImpl] Registering process
{http://mpeproject.org/searchservice/mpeprocess}BPELMPEProcessJAXB-18
with server.
DEBUG - GeronimoLog.debug(66) | Register process:
serviceId={http://mpeproject.org/searchservice/mpeprocess}MPEService:MPEPort, process=BpelProcess[{http://mpeproject.org/searchservice/mpeprocess}BPELMPEProcessJAXB-18]
16:16:22,448 DEBUG [BpelEngineImpl] Register process:
serviceId={http://mpeproject.org/searchservice/mpeprocess}MPEService:MPEPort, process=BpelProcess[{http://mpeproject.org/searchservice/mpeprocess}BPELMPEProcessJAXB-18]
DEBUG - GeronimoLog.debug(66) | Register process:
serviceId={http://myproject.org/searchservice/AddService}AddService:AddPortTypePort, process=BpelProcess[{http://mpeproject.org/searchservice/mpeprocess}BPELMPEProcessJAXB-18]
16:16:22,449 DEBUG [BpelEngineImpl] Register process:
serviceId={http://myproject.org/searchservice/AddService}AddService:AddPortTypePort, process=BpelProcess[{http://mpeproject.org/searchservice/mpeprocess}BPELMPEProcessJAXB-18]
DEBUG - GeronimoLog.debug(66) | Activating
{http://mpeproject.org/searchservice/mpeprocess}BPELMPEProcessJAXB-18
16:16:22,450 DEBUG [BpelProcess] Activating
{http://mpeproject.org/searchservice/mpeprocess}BPELMPEProcessJAXB-18
DEBUG - GeronimoLog.debug(66) | Destroying service
{http://myproject.org/searchservice/AddService}AddService port
AddPortTypePort
16:16:22,535 DEBUG [ODEServer] Destroying service
{http://myproject.org/searchservice/AddService}AddService port
AddPortTypePort
DEBUG - GeronimoLog.debug(66) | Couldn't find service
{http://myproject.org/searchservice/AddService}AddService port
AddPortTypePort to destroy.
16:16:22,536 DEBUG [ODEServer] Couldn't find service
{http://myproject.org/searchservice/AddService}AddService port
AddPortTypePort to destroy.
DEBUG - GeronimoLog.debug(66) | Process store event:
{ProcessStoreEvent#UNDEPLOYED:{http://mpeproject.org/searchservice/mpeprocess}BPELMPEProcessJAXB-18}
16:16:22,574 DEBUG [ODEServer] Process store event:
{ProcessStoreEvent#UNDEPLOYED:{http://mpeproject.org/searchservice/mpeprocess}BPELMPEProcessJAXB-18}
DEBUG - GeronimoLog.trace(54) | unregister:
{http://mpeproject.org/searchservice/mpeprocess}BPELMPEProcessJAXB-18
16:16:22,575 DEBUG [BpelServerImpl] unregister:
{http://mpeproject.org/searchservice/mpeprocess}BPELMPEProcessJAXB-18
DEBUG - GeronimoLog.debug(66) | Deactivating process
{http://mpeproject.org/searchservice/mpeprocess}BPELMPEProcessJAXB-18
16:16:22,576 DEBUG [BpelEngineImpl] Deactivating process
{http://mpeproject.org/searchservice/mpeprocess}BPELMPEProcessJAXB-18
INFO - GeronimoLog.info(79) | Process
{http://mpeproject.org/searchservice/mpeprocess}BPELMPEProcessJAXB-18
has been unregistered.
16:16:22,577 INFO  [BpelServerImpl] Process
{http://mpeproject.org/searchservice/mpeprocess}BPELMPEProcessJAXB-18
has been unregistered.
ERROR - GeronimoLog.error(108) | Deployment of toBeDeployed failed,
aborting for now.
org.apache.ode.bpel.iapi.ContextException: Could not activate endpoint
for service {http://myproject.org/searchservice/AddService}AddService
and port AddPortTypePort
        at
org.apache.ode.axis2.BindingContextImpl.activateMyRoleEndpoint(BindingContextImpl.java:62)
        at
org.apache.ode.bpel.engine.BpelProcess.activate(BpelProcess.java:442)
        at
org.apache.ode.bpel.engine.BpelEngineImpl.registerProcess(BpelEngineImpl.java:221)
        at
org.apache.ode.bpel.engine.BpelServerImpl.register(BpelServerImpl.java:275)
        at
org.apache.ode.axis2.ODEServer.handleEvent(ODEServer.java:526)
        at org.apache.ode.axis2.ODEServer.access$100(ODEServer.java:70)
        at org.apache.ode.axis2.ODEServer
$ProcessStoreListenerImpl.onProcessStoreEvent(ODEServer.java:512)
        at
org.apache.ode.store.ProcessStoreImpl.fireEvent(ProcessStoreImpl.java:501)
        at
org.apache.ode.store.ProcessStoreImpl.fireStateChange(ProcessStoreImpl.java:507)
        at
org.apache.ode.store.ProcessStoreImpl.deploy(ProcessStoreImpl.java:284)
        at
org.apache.ode.axis2.deploy.DeploymentPoller.check(DeploymentPoller.java:144)
        at org.apache.ode.axis2.deploy.DeploymentPoller.access
$300(DeploymentPoller.java:55)
        at org.apache.ode.axis2.deploy.DeploymentPoller
$PollingThread.run(DeploymentPoller.java:188)
Caused by: org.apache.ode.axis2.OdeFault: The soap:address used for
service WSDL definition
{http://myproject.org/searchservice/AddService}AddService and port
AddPortTypePort should be of the form
http://hostname:port/ode/processes/myProcessEndpointName
        at
org.apache.ode.axis2.hooks.ODEAxisService.extractServiceName(ODEAxisService.java:138)
        at
org.apache.ode.axis2.hooks.ODEAxisService.createService(ODEAxisService.java:60)
        at
org.apache.ode.axis2.ODEServer.createService(ODEServer.java:299)
        at
org.apache.ode.axis2.BindingContextImpl.activateMyRoleEndpoint(BindingContextImpl.java:59)
        ... 12 more
16:16:22,577 ERROR [DeploymentPoller] Deployment of toBeDeployed failed,
aborting for now.
org.apache.ode.bpel.iapi.ContextException: Could not activate endpoint
for service {http://myproject.org/searchservice/AddService}AddService
and port AddPortTypePort
        at
org.apache.ode.axis2.BindingContextImpl.activateMyRoleEndpoint(BindingContextImpl.java:62)
        at
org.apache.ode.bpel.engine.BpelProcess.activate(BpelProcess.java:442)
        at
org.apache.ode.bpel.engine.BpelEngineImpl.registerProcess(BpelEngineImpl.java:221)
        at
org.apache.ode.bpel.engine.BpelServerImpl.register(BpelServerImpl.java:275)
        at
org.apache.ode.axis2.ODEServer.handleEvent(ODEServer.java:526)
        at org.apache.ode.axis2.ODEServer.access$100(ODEServer.java:70)
        at org.apache.ode.axis2.ODEServer
$ProcessStoreListenerImpl.onProcessStoreEvent(ODEServer.java:512)
        at
org.apache.ode.store.ProcessStoreImpl.fireEvent(ProcessStoreImpl.java:501)
        at
org.apache.ode.store.ProcessStoreImpl.fireStateChange(ProcessStoreImpl.java:507)
        at
org.apache.ode.store.ProcessStoreImpl.deploy(ProcessStoreImpl.java:284)
        at
org.apache.ode.axis2.deploy.DeploymentPoller.check(DeploymentPoller.java:144)
        at org.apache.ode.axis2.deploy.DeploymentPoller.access
$300(DeploymentPoller.java:55)
        at org.apache.ode.axis2.deploy.DeploymentPoller
$PollingThread.run(DeploymentPoller.java:188)
Caused by: org.apache.ode.axis2.OdeFault: The soap:address used for
service WSDL definition
{http://myproject.org/searchservice/AddService}AddService and port
AddPortTypePort should be of the form
http://hostname:port/ode/processes/myProcessEndpointName
        at
org.apache.ode.axis2.hooks.ODEAxisService.extractServiceName(ODEAxisService.java:138)
        at
org.apache.ode.axis2.hooks.ODEAxisService.createService(ODEAxisService.java:60)
        at
org.apache.ode.axis2.ODEServer.createService(ODEServer.java:299)
        at
org.apache.ode.axis2.BindingContextImpl.activateMyRoleEndpoint(BindingContextImpl.java:59)
        ... 12 more


Judging from this error message, I should rename the namespaces of all
my services according to this scheme:
http://myhostname:myport/ode/processes/myProcessEndpointName

However, I do not control the service itself (it's not developed by me),
so I cannot rename it.
Is there any way to fix this?

Also, I saw that ODE does not support wsdl import statements which use
URLs. Is their any plan to fix it in the near future?


Thank you in advance,
 Paul.




Mime
View raw message