I fixed something related to this recently on the JBI side;  for Axis2 I'm
not aware of any issue.

alex

On 4/13/07, René Bos <[EMAIL PROTECTED]> wrote:

That brought me on the wrong way of searching for the problem! Now I was
able to fix the error.
I'm using an old SVN version from arround 26 of march, shall I still raise
an issue in Jira or is the problem perhaps fixed at this time?

Thanks!
   René

-----Original Message-----
From: Alex Boisvert [mailto:[EMAIL PROTECTED]
Sent: woensdag 11 april 2007 17:43
To: [EMAIL PROTECTED]
Subject: Re: Can't use 'return' as part of a message


Looks like Ode is trying to map a standard BPEL fault (selectionFailure)
into your WSDL operation, which doesn't seem right.

Can you raise an issue in Jira?

In the mean time, you should check your assignments to see where the
selectionFailure happens.

thanks,
alex


On 4/11/07, René Bos <[EMAIL PROTECTED]> wrote:
>
> When I use 'return' as a part of a message as below:
>
> <message name="createWorkResponse">
>         <part name="return" type="xsd:string" />
> </message>
>
> my process compiles well, but when I execute it I get the following
error:
>
> DEBUG - ODEService.onResponse(219) | Generated FAULT response message: {
> http://schemas.xmlsoap.org/ws/2004/03/business-process/}selectionFailure
> ERROR - ODEService.onAxisMessageExchange(179) | Error processing
response
> for MEX {MyRoleMex#5 [Client -bpgd3nvdqfl8vsrcfvvn26] calling {
> http://ode/bpel/unit-te
> st.wsdl}TesterService.testIt(...)}
> org.apache.ode.axis2.OdeFault: Undefined fault: service {
> http://ode/bpel/unit-test.wsdl}TesterService port TesterPort operation
> testIt fault {http://schemas.xml
> soap.org/ws/2004/03/business-process/}selectionFailure.; nested
exception
> is:
>         java.lang.IllegalArgumentException: Undefined fault: service {
> http://ode/bpel/unit-test.wsdl}TesterService port TesterPort operation
> testIt fault {http:
> //schemas.xmlsoap.org/ws/2004/03/business-process/}selectionFailure.
>         at
org.apache.ode.axis2.util.SoapMessageConverter.createSoapFault(
> SoapMessageConverter.java:229)
>         at org.apache.ode.axis2.ODEService.onResponse(ODEService.java
:221)
>         at org.apache.ode.axis2.ODEService.onAxisMessageExchange(
> ODEService.java:176)
>         at
> org.apache.ode.axis2.hooks.ODEMessageReceiver.invokeBusinessLogic(
> ODEMessageReceiver.java:78)
>         at org.apache.ode.axis2.hooks.ODEMessageReceiver.receive(
> ODEMessageReceiver.java:53)
>         at org.apache.axis2.engine.AxisEngine.receive(AxisEngine.java
:493)
>         at
>
org.apache.axis2.transport.http.HTTPTransportUtils.processHTTPPostRequest(
> HTTPTransportUtils.java:319)
>         at org.apache.axis2.transport.http.AxisServlet.doPost(
> AxisServlet.java:247)
>         at javax.servlet.http.HttpServlet.service(HttpServlet.java:709)
>         at javax.servlet.http.HttpServlet.service(HttpServlet.java:802)
>         at
> org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(
> ApplicationFilterChain.java:252)
>         at org.apache.catalina.core.ApplicationFilterChain.doFilter(
> ApplicationFilterChain.java:173)
>         at org.apache.catalina.core.StandardWrapperValve.invoke(
> StandardWrapperValve.java:213)
>         at org.apache.catalina.core.StandardContextValve.invoke(
> StandardContextValve.java:178)
>         at org.apache.catalina.core.StandardHostValve.invoke(
> StandardHostValve.java:126)
>         at org.apache.catalina.valves.ErrorReportValve.invoke(
> ErrorReportValve.java:105)
>         at org.apache.catalina.core.StandardEngineValve.invoke(
> StandardEngineValve.java:107)
>         at org.apache.catalina.connector.CoyoteAdapter.service(
> CoyoteAdapter.java:148)
>         at org.apache.coyote.http11.Http11Processor.process(
> Http11Processor.java:869)
>         at
>
org.apache.coyote.http11.Http11BaseProtocol$Http11ConnectionHandler.processConnection
> (Http11BaseProtocol.java:664)
>         at org.apache.tomcat.util.net.PoolTcpEndpoint.processSocket(
> PoolTcpEndpoint.java:527)
>         at org.apache.tomcat.util.net.LeaderFollowerWorkerThread.runIt(
> LeaderFollowerWorkerThread.java:80)
>         at org.apache.tomcat.util.threads.ThreadPool$ControlRunnable.run
(
> ThreadPool.java:684)
>         at java.lang.Thread.run(Thread.java:595)
> Caused by: java.lang.IllegalArgumentException: Undefined fault: service
{
> http://ode/bpel/unit-test.wsdl}TesterService port TesterPort operation
> testIt fault {ht
> tp://schemas.xmlsoap.org/ws/2004/03/business-process/}selectionFailure.
>         at org.apache.ode.axis2.Messages.msgUndefinedFault(Messages.java
> :223)
>         ... 24 more
> DEBUG - ODEService.onAxisMessageExchange(188) | Comitting transaction.
>
> When I change "return' to something else; like "returnaa" it runs well.
>
> Is this wrong WSDL or is it an error in Ode/some library?
>
> René
>
>
>
>

Reply via email to