ode-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Yijie Shen <henry.yijies...@gmail.com>
Subject Re: Invoke an external Web Service
Date Tue, 12 Oct 2010 09:42:15 GMT
Thank you for all your advices~

I have tried them out in a new project(move the import statement up and
import the wsdl by it's path in folder ), and that works(no red 'x' any
more). When I deployed the new project into ode server, some new error
messages occur, but I have no idea with the error messages:

DEBUG - GeronimoLog.debug(66) | Process store event:
{ProcessStoreEvent#DEPLOYED:{http://Henry.com/Test}InvokeProcess-26}
DEBUG - GeronimoLog.debug(66) | Ignoring store event:
{ProcessStoreEvent#DEPLOYED:{http://Henry.com/Test}InvokeProcess-26}
DEBUG - GeronimoLog.debug(66) | Process store event:
{ProcessStoreEvent#ACTVIATED:{http://Henry.com/Test}InvokeProcess-26}
DEBUG - GeronimoLog.debug(66) | Unregister process: serviceId={
http://Henry.com/Test}InvokeProcess-26, process=null
DEBUG - GeronimoLog.debug(66) | register: {
http://Henry.com/Test}InvokeProcess-26
DEBUG - GeronimoLog.debug(66) | Registering process {
http://Henry.com/Test}InvokeProcess-26 with server.
DEBUG - GeronimoLog.debug(66) | Register process: serviceId={
http://Henry.com/Test}InvokeProcessService:InvokeProcessPort,
process=BpelProcess[{http://Henry.com/Test}InvokeProcess-26]
DEBUG - GeronimoLog.debug(66) | Activating {
http://Henry.com/Test}InvokeProcess-26
DEBUG - GeronimoLog.debug(66) | Create AxisService: service={
http://Henry.com/Test}InvokeProcessService port=InvokeProcessPort
WSDL=InvokeProcessArtifacts.wsdl BPEL=InvokeProcess.bpel
DEBUG - GeronimoLog.debug(66) | Get import:
import=file:/Users/henry/sklse/J2EEWorkspace/DerivedWorkspace/GetANumber.wsdl
parent=file:/Users/henry/sklse/tomcat_5.5.31/webapps/ode/WEB-INF/processes/Test/InvokeProcessArtifacts.wsdl
DEBUG - GeronimoLog.debug(66) | Looking for Axis2 service configuration
file:
file:/Users/henry/sklse/tomcat_5.5.31/webapps/ode/WEB-INF/processes/Test/InvokeProcessService.axis2
DEBUG - GeronimoLog.debug(66) | Axis2 service configuration not found:
file:/Users/henry/sklse/tomcat_5.5.31/webapps/ode/WEB-INF/processes/Test/InvokeProcessService.axis2
DEBUG - GeronimoLog.debug(66) | Destroying service {
http://Henry.com/Test}InvokeProcessService port InvokeProcessPort
DEBUG - GeronimoLog.debug(66) | Couldn't find service {
http://Henry.com/Test}InvokeProcessService port InvokeProcessPort to
destroy.
DEBUG - GeronimoLog.debug(66) | Created Axis2 service {
http://Henry.com/Test}InvokeProcessService
DEBUG - GeronimoLog.debug(66) | Activated {
http://Henry.com/Test}InvokeProcess-26 myrole client: EPR is
org.apache.ode.bpel.epr.WSAEndpoint@2857a293
DEBUG - GeronimoLog.debug(66) | Activated {
http://Henry.com/Test}InvokeProcess-26
DEBUG - GeronimoLog.debug(66) | Rehydrating process {
http://Henry.com/Test}InvokeProcess-26
DEBUG - GeronimoLog.debug(66) | Processing <invoke> element for process {
http://Henry.com/Test}InvokeProcess-26: partnerlink NumberGetPL --> {
http://firstsend}GetANumber:GetANumberHttpPort
ERROR - GeronimoLog.error(104) | Latch error, was releasing for state 1 but
actually in -1
WARN - GeronimoLog.warn(92) | Deployment failed within the engine, store
undeploying process.
DEBUG - GeronimoLog.debug(66) | Process store event:
{ProcessStoreEvent#UNDEPLOYED:{http://Henry.com/Test}InvokeProcess-26}
DEBUG - GeronimoLog.debug(66) | Unregister process: serviceId={
http://Henry.com/Test}InvokeProcess-26, process=BpelProcess[{
http://Henry.com/Test}InvokeProcess-26]
DEBUG - GeronimoLog.debug(66) | Deactivating process {
http://Henry.com/Test}InvokeProcess-26
DEBUG - GeronimoLog.debug(66) | deactivating non-shared endpoint {
http://Henry.com/Test}InvokeProcessService:InvokeProcessPort
DEBUG - GeronimoLog.debug(66) | Destroying service {
http://Henry.com/Test}InvokeProcessService port InvokeProcessPort
INFO - GeronimoLog.info(79) | Unregistered process {
http://Henry.com/Test}InvokeProcess-26.
ERROR - GeronimoLog.error(108) | Deployment of Test failed, aborting for
now.
org.apache.ode.bpel.iapi.ContextException: Cannot find definition for
service {http://firstsend}GetANumber in the context of process {
http://Henry.com/Test}InvokeProcess-26

Here I saw Cannot find definition for service {http://firstsend}GetANumber
in the context of process {http://Henry.com/Test}InvokeProcess-26, does it
mean that I still cannot reach the wsdl here?



    at
org.apache.ode.axis2.BindingContextImpl.createPartnerRoleChannel(BindingContextImpl.java:101)
    at
org.apache.ode.bpel.engine.BpelProcess$HydrationLatch.doHydrate(BpelProcess.java:868)
    at
org.apache.ode.bpel.engine.BpelProcess$HydrationLatch.access$100(BpelProcess.java:777)
    at
org.apache.ode.bpel.engine.BpelProcess$HydrationLatch$2.run(BpelProcess.java:787)
    at org.apache.ode.bpel.engine.NStateLatch.latch(NStateLatch.java:89)
    at org.apache.ode.bpel.engine.BpelProcess.hydrate(BpelProcess.java:688)
    at
org.apache.ode.bpel.engine.BpelServerImpl.register(BpelServerImpl.java:314)
    at org.apache.ode.axis2.ODEServer.handleEvent(ODEServer.java:553)
    at org.apache.ode.axis2.ODEServer.access$100(ODEServer.java:79)
    at
org.apache.ode.axis2.ODEServer$ProcessStoreListenerImpl.onProcessStoreEvent(ODEServer.java:540)
    at
org.apache.ode.store.ProcessStoreImpl.fireEvent(ProcessStoreImpl.java:516)
    at
org.apache.ode.store.ProcessStoreImpl.fireStateChange(ProcessStoreImpl.java:522)
    at
org.apache.ode.store.ProcessStoreImpl.deploy(ProcessStoreImpl.java:294)
    at
org.apache.ode.axis2.deploy.DeploymentPoller.check(DeploymentPoller.java:145)
    at
org.apache.ode.axis2.deploy.DeploymentPoller.access$300(DeploymentPoller.java:55)
    at
org.apache.ode.axis2.deploy.DeploymentPoller$PollingThread.run(DeploymentPoller.java:190)

(The project and files I used above are all attached below)

Mime
View raw message