I think the mapper in use (there are several message mappers in Ode)
expects the wsdl messages to be something like

   <message name="getCreditScoreRequest">
       <part name="payload" element="tns:getCreditScoreRequest" />
   </message>

if the part is not mapped to an Element, i guess that you may see this
exception.
Else you can try to use the ServiceMixMapper by changing the ode.propertiesfile
in the Ode installer and repackage.

On 5/18/07, sdan <[EMAIL PROTECTED]> wrote:


I think the following line in my bpel code is causing the problem.

<bpws:invoke inputVariable="tomcatPartnerLinkRequest" name="Invoke"
operation="sayHello" outputVariable="tomcatPartnerLinkResponse"
partnerLink="tomcatPartnerLink" portType="tomcat:Hello"/>

Following is the part of the error message that might be useful.
According to java org.apache.ode.utils.DOMUtils has the following method

public static org.w3c.dom.Element findChildByName(org.w3c.dom.Element
parent,

javax.xml.namespace.QName
name)

Any idea how to fix the problem?
Thanks.
-Dan



01:33:52,296 | ERROR | pool-2-thread-1 | JacobVPU                 |
b.vpu.JacobVPU$JacobThreadImpl  463 | Method "run" in class
"org.apache.ode.bpel.runtime.INVOKE" threw an unexpected exception.
java.lang.IllegalArgumentException: null name
        at org.apache.ode.utils.DOMUtils.findChildByName(DOMUtils.java
:742)
        at org.apache.ode.utils.DOMUtils.findChildByName(DOMUtils.java
:735)
        at org.apache.ode.jbi.msgmap.DocLitMapper.toNMS(DocLitMapper.java
:113)
        at org.apache.ode.jbi.OdeConsumer.invokePartner(OdeConsumer.java
:131)
        at
org.apache.ode.jbi.MessageExchangeContextImpl.invokePartner(
MessageExchangeContextImpl.java:60)
        at
org.apache.ode.bpel.engine.BpelRuntimeContextImpl.invoke(
BpelRuntimeContextImpl.java:775)
        at org.apache.ode.bpel.runtime.INVOKE.run(INVOKE.java:94)
        at sun.reflect.GeneratedMethodAccessor57.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:817)
        at
org.apache.ode.bpel.engine.PartnerLinkMyRoleImpl.invokeMyRole(
PartnerLinkMyRoleImpl.java:193)
        at
org.apache.ode.bpel.engine.BpelProcess.invokeProcess(BpelProcess.java:153)
        at
org.apache.ode.bpel.engine.BpelProcess.handleWorkEvent(BpelProcess.java
:280)
        at
org.apache.ode.bpel.engine.BpelEngineImpl.onScheduledJob(
BpelEngineImpl.java:311)
        at
org.apache.ode.bpel.engine.BpelServerImpl.onScheduledJob(
BpelServerImpl.java:384)
        at
org.apache.ode.bpel.scheduler.quartz.QuartzSchedulerImpl.doExecute(
QuartzSchedulerImpl.java:351)
        at
org.apache.ode.bpel.scheduler.quartz.QuartzSchedulerImpl.execute(
QuartzSchedulerImpl.java:367)
        at org.apache.ode.bpel.scheduler.quartz.JobImpl.execute(
JobImpl.java:32)
        at org.quartz.core.JobRunShell.run(JobRunShell.java:203)
        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)
--
View this message in context:
http://www.nabble.com/Exception-thrown-by-org.apache.ode.bpel.runtime.INVOKE-tf3775069s12049.html#a10674559
Sent from the ServiceMix - User mailing list archive at Nabble.com.




--
Cheers,
Guillaume Nodet
------------------------
Principal Engineer, IONA
Blog: http://gnodet.blogspot.com/

Reply via email to