ode-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Myunghwa Hwang <mhwa...@gmail.com>
Subject axis2ns177:selectionFailure and org.apache.ode.axis2.OdeFault: An exception occured when invoking ODE.
Date Fri, 03 Jul 2009 03:29:04 GMT
Hi, list!
I am a newbie in Apace ODE.
I tried to deploy and access a bpel process that invokes one external web
service.
The process and its partner are synchronous services.
In my bpel, which is in the attached zip file, there is a part to initialize
a variable for an outgoing message for the external service:
            <bpel:copy>
                <bpel:from>
                    <bpel:literal>
<ns:getCntyOperation xmlns:ns="
http://localhost:8080/getCntyBnd/getCntyBnd?wsdl">
<ns:stateName></ns:stateName>
</ns:getCntyOperation>
</bpel:literal>
                </bpel:from>
                <bpel:to variable="getCntyBndRequest"
part="parameters"></bpel:to>
            </bpel:copy>

In the above segment, if I skip <ns:stateName/>, when I make a request to
the process service,
the returning message is the following:
<soapenv:Envelope xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/">
   <soapenv:Body>
      <soapenv:Fault>
         <faultcode>soapenv:Server</faultcode>
         <faultstring xmlns:axis2ns177="
http://docs.oasis-open.org/wsbpel/2.0/process/executable
">axis2ns177:selectionFailure</faultstring>
         <detail/>
      </soapenv:Fault>
   </soapenv:Body>
</soapenv:Envelope>

On the other hand, if I include it (I think this is the right way), I got
the following error response message:
<soapenv:Envelope xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/">
   <soapenv:Body>
      <soapenv:Fault xmlns:java="java:package java.lang, Java Platform API
Specification, version 1.5">
         <faultcode>java:java.lang.NullPointerException</faultcode>
         <faultstring>An exception occured when invoking ODE.</faultstring>
         <detail>
            <Exception>org.apache.ode.axis2.OdeFault: An exception occured
when invoking ODE.
    at
org.apache.ode.axis2.ODEService.onAxisMessageExchange(ODEService.java:195)
    at
org.apache.ode.axis2.hooks.ODEMessageReceiver.invokeBusinessLogic(ODEMessageReceiver.java:67)
    at
org.apache.ode.axis2.hooks.ODEMessageReceiver.invokeBusinessLogic(ODEMessageReceiver.java:50)
    at
org.apache.axis2.receivers.AbstractMessageReceiver.receive(AbstractMessageReceiver.java:96)
    at org.apache.axis2.engine.AxisEngine.receive(AxisEngine.java:145)
    at
org.apache.axis2.transport.http.HTTPTransportUtils.processHTTPPostRequest(HTTPTransportUtils.java:275)
    at
org.apache.axis2.transport.http.AxisServlet.doPost(AxisServlet.java:120)
    at javax.servlet.http.HttpServlet.service(HttpServlet.java:637)
    at javax.servlet.http.HttpServlet.service(HttpServlet.java:717)
    at
org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:290)
    at
org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)
    at
org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:233)
    at
org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:191)
    at
org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:128)
    at
org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:102)
    at
org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:109)
    at
org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:286)
    at
org.apache.coyote.http11.Http11Processor.process(Http11Processor.java:845)
    at
org.apache.coyote.http11.Http11Protocol$Http11ConnectionHandler.process(Http11Protocol.java:583)
    at
org.apache.tomcat.util.net.JIoEndpoint$Worker.run(JIoEndpoint.java:447)
    at java.lang.Thread.run(Thread.java:613)
Caused by: java.lang.NullPointerException
    at
org.apache.ode.bpel.engine.MessageImpl.getMessage(MessageImpl.java:104)
    at
org.apache.ode.axis2.util.SoapMessageConverter.createOdeFault(SoapMessageConverter.java:559)
    at org.apache.ode.axis2.ODEService.onResponse(ODEService.java:271)
    at
org.apache.ode.axis2.ODEService.onAxisMessageExchange(ODEService.java:187)
    ... 20 more</Exception>
         </detail>
      </soapenv:Fault>
   </soapenv:Body>
</soapenv:Envelope>

What do the error messages mean? Are there anything wrong in my bpel?
How can I resolve the errors?
Also, where can I find the log messages? (I am also new to Java ;;).

Thanks,

from Myunghwa Hwang

-- 
Myunghwa Hwang
GeoDa Center
School of Geographical Sciences and Urban Planning
Arizona State University
mhwang4@gmail.com or Myunghwa.Hwang@asu.edu

Mime
View raw message