ode-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Alexis Midon (JIRA)" <j...@apache.org>
Subject [jira] Commented: (ODE-614) ClassCastException: org.apache.ode.jbi.JbiEndpointReference
Date Wed, 02 Sep 2009 19:02:33 GMT

    [ https://issues.apache.org/jira/browse/ODE-614?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12750616#action_12750616
] 

Alexis Midon commented on ODE-614:
----------------------------------

Hi Ian,

I looked into your SOAP version issue and it seems that Axis2 throws an exception because
of the content-type of your request.
The Content-Type for SOAP 1.2 (http://www.w3.org/2003/05/soap-envelope) should be application/soap+xml.
test/xml is used for SOAP 1.1 (http://schemas.xmlsoap.org/soap/envelope/). 

I got this information from Axis2 mailing list:
http://markmail.org/message/pqavnvygu2qsnjbk

I hope this will unlock your situation and let you validate your patch. Actually could you
provide a test case?

Alexis

> ClassCastException: org.apache.ode.jbi.JbiEndpointReference
> -----------------------------------------------------------
>
>                 Key: ODE-614
>                 URL: https://issues.apache.org/jira/browse/ODE-614
>             Project: ODE
>          Issue Type: Bug
>          Components: JBI Integration
>    Affects Versions: 1.3.2
>            Reporter: Alexis Midon
>            Assignee: Alexis Midon
>         Attachments: ODE-614.potential.patch
>
>
> Im trying to invoke an external axis2 web service from a ODE BPEL project deployed inside
a ServiceMix JBI container but every time i try to invoke i get the following errors.
> java.lang.ClassCastException: org.apache.ode.jbi.JbiEndpointReference
>        at org.apache.ode.jbi.EndpointReferenceContextImpl.getConfigLookup(EndpointReferenceContextImpl.java:116)
>        at org.apache.ode.store.ProcessConfImpl.getEndpointProperties(ProcessConfImpl.java:417)
>        at org.apache.ode.bpel.engine.BpelProcess.getTimeout(BpelProcess.java:1089)
>        at org.apache.ode.bpel.engine.BpelRuntimeContextImpl.scheduleInvokeCheck(BpelRuntimeContextImpl.java:839)
>        at org.apache.ode.bpel.engine.BpelRuntimeContextImpl.invoke(BpelRuntimeContextImpl.java:777)
>        at org.apache.ode.bpel.runtime.INVOKE.run(INVOKE.java:100)
>        at sun.reflect.GeneratedMethodAccessor61.invoke(Unknown Source)
>        at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
>        at java.lang.reflect.Method.invoke(Method.java:585)
>        at org.apache.ode.jacob.vpu.JacobVPU$JacobThreadImpl.run(JacobVPU.java:451)
>        at org.apache.ode.jacob.vpu.JacobVPU.execute(JacobVPU.java:139)
>        at org.apache.ode.bpel.engine.BpelRuntimeContextImpl.execute(BpelRuntimeContextImpl.java:870)
>        at org.apache.ode.bpel.engine.PartnerLinkMyRoleImpl.invokeNewInstance(PartnerLinkMyRoleImpl.java:206)
>        at org.apache.ode.bpel.engine.BpelProcess.invokeProcess(BpelProcess.java:237)
>        at org.apache.ode.bpel.engine.BpelProcess.handleWorkEvent(BpelProcess.java:408)
>        at org.apache.ode.bpel.engine.BpelEngineImpl.onScheduledJob(BpelEngineImpl.java:439)
>        at org.apache.ode.bpel.engine.BpelServerImpl.onScheduledJob(BpelServerImpl.java:441)
>        at org.apache.ode.scheduler.simple.SimpleScheduler$4$1.call(SimpleScheduler.java:411)
>        at org.apache.ode.scheduler.simple.SimpleScheduler$4$1.call(SimpleScheduler.java:405)
>        at org.apache.ode.scheduler.simple.SimpleScheduler.execTransaction(SimpleScheduler.java:218)
>        at org.apache.ode.scheduler.simple.SimpleScheduler$4.call(SimpleScheduler.java:404)
>        at org.apache.ode.scheduler.simple.SimpleScheduler$4.call(SimpleScheduler.java:401)
>        at java.util.concurrent.FutureTask$Sync.innerRun(FutureTask.java:269)
>        at java.util.concurrent.FutureTask.run(FutureTask.java:123)
>        at java.util.concurrent.ThreadPoolExecutor$Worker.runTask(ThreadPoolExecutor.java:650)
>        at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:675)
>        at java.lang.Thread.run(Thread.java:595)

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


Mime
View raw message