You are viewing a plain text version of this content. The canonical link for it is here.
Posted to user@ode.apache.org by Adnan <ad...@yahoo.com> on 2010/05/21 17:34:35 UTC

Continously getting selectionFailure, help

Hi.

I think i have initialized the all variables and using document literal binding. I have a separate schema file that uses another schema file, which contains the types. I am pasting my process here. Will appreciate the reply. 

I am getting the following reply from there server.

  
    soapenv:Server'>http://schemas.xmlsoap.org/soap/envelope/">soapenv:Server  
    <faultstring>axis2ns2:selectionFailure</faultstring>  
    <detail/> 
</SOAP-ENV:Fault>

 
thank you.

----
AL



      

Re: getting Message exchange failure , help

Posted by Rafal Rusin <ra...@intalio.com>.
The problem with 'Transport out has not been set' can be resolved, like
here: http://markmail.org/thread/ukbmzox4nzq7ey2n
I think this one may be similar.

On Sat, May 29, 2010 at 4:53 AM, LeeMike <me...@163.com> wrote:

>
> I also had the same problem,How to solve this problem?thanks!
>
> --
> View this message in context:
> http://old.nabble.com/Continously-getting-selectionFailure%2C-help-tp28635479p28712876.html
> Sent from the Apache Ode User mailing list archive at Nabble.com.
>
>
-- 
Regards,
RafaƂ Rusin
http://rrusin.blogspot.com

Re: getting Message exchange failure , help

Posted by Adnan <ad...@yahoo.com>.
wat exactly the problem is? wat kind of message failure, you can see in this thread, i pasted 3-4 kind of failure. make sure the other service is up and if you are initializing the partners then make aure that there should not any space before or after the end point. 
 --
al




________________________________
From: LeeMike <me...@163.com>
To: user@ode.apache.org
Sent: Sat, 29 May, 2010 4:53:24
Subject: Re: getting Message exchange failure , help


I also had the same problem,How to solve this problem?thanks!

-- 
View this message in context: http://old.nabble.com/Continously-getting-selectionFailure%2C-help-tp28635479p28712876.html
Sent from the Apache Ode User mailing list archive at Nabble.com.


      

Re: getting Message exchange failure , help

Posted by LeeMike <me...@163.com>.
I also had the same problem,How to solve this problem?thanks!

-- 
View this message in context: http://old.nabble.com/Continously-getting-selectionFailure%2C-help-tp28635479p28712876.html
Sent from the Apache Ode User mailing list archive at Nabble.com.


Re: getting Message exchange failure , help

Posted by Adnan <ad...@yahoo.com>.
Hello.

Did any 1 figure it out? 
plz 

 thx
----
AL




________________________________
From: Adnan <ad...@yahoo.com>
To: user@ode.apache.org
Sent: Mon, 24 May, 2010 2:45:29
Subject: Re: getting Message exchange failure , help


Hi, 
I am still getting message exchange failure but now it is slightly different. Checked with ode2, ode134rc and ode133. Attached are files including required logs :p

In ode2 :
ERROR - GeronimoLog.error(104) | The system cannot infer the transport information from the  URL.
ERROR - GeronimoLog.error(108) | Error sending message to Axis2 for ODE mex {PartnerRoleMex#hqejbhcnphr5as0x83qdv1 [PID null] calling org.apache.ode.il.epr.URLEndpoint@6344b0b7.AddOperation(...)}
org.apache.axis2.AxisFault: The system cannot infer the transport information from the  URL.

In ode134rc and ode133 it is similar almost:
ERROR - ODEServer-2 - SoapExternalService$1$1.call(219) | Error sending message (mex={PartnerRoleMex#hqejbhcnphr5as43vc56td [PID {http://SocoTestWsdl/}SocoTestProc-1] calling org.apache.ode.bpel.epr.URLEndpoint@48a10780.AddOperation(...) Status ASYNC}): Transport out has not been set
org.apache.axis2.AxisFault: Transport out has not been set
....................

52:28-WARN  [ODEService] MEX produced a fault {MyRoleMex#hqejbhcnphr5as4gus8lat [Client hqejbhcnphr5as4gus8las] calling {http://SocoTestWsdl/}SocoTest.SocoTestWsdlOPT(...)}
org.apache.ode.axis2.OdeFault: Message exchange failure due to: Error sending message (mex={PartnerRoleMex#hqejbhcnphr5as4gus8law [PID {http://SocoTestWsdl/}SocoTestProc-1] calling org.apache.ode.bpel.epr.URLEndpoint@29bf1f29.AddOperation(...)}): Transport out has not been set

-------------------

I googled and found that it could be because of some jars files are not on the classpath but i think i am all the required jar on classpath (ode libs dir.).

 
any work around? plz
thx


----
AL




________________________________
From: Song Thuy Nguyen <pr...@biaqua.de>
To: user@ode.apache.org
Sent: Sun, 23 May, 2010 1:25:52
Subject: RE: getting Message exchange failure , help

Hello Adnan,

are you observing the message exchange with a tool like SOAP monitor or TCP monitor? I had a similar issue once when I tried to call a wsdl of a web service with SOAPUI while I was proxy the communication of SOAPUI to a monitoring tool. Somehow the wsdl request would fail, but SOAP messages would be delivered just fine by the monitoring tool.



Greetings,



Thuy



From: Adnan [mailto:adnust@yahoo.com] 
Sent: Saturday, May 22, 2010 6:32 PM
To: user@ode.apache.org
Subject: Re: getting Message exchange failure , help



Hi Tammo.
Thank you. 

Problem is still there. I don't know why. What I am doing is that I have couple of partner services running on same machine in separate container (axis2), Ode could not get definition thru URL (http://....?wsdl) while processing (posted the problem but did nt get any reply yet) so downloaded the wsdl definitions on same directory as bpel process has. I am sure the partner services are up and running and tested those as well. But it still timing out... 
The process+services+log is attached.

plz.
thank you

----
AL





  _____  

From: Tammo van Lessen <tv...@gmail.com>
To: user@ode.apache.org
Sent: Sat, 22 May, 2010 16:42:31
Subject: Re: getting Message exchange failure , help

Hi,

the first error does not contain any information about the reason, the
second and third error indicated some network troubles (no route to
host, please make sure that all services are available). The fourth
error is a but in ODE 1.3.3, please give our release candidate for 1.3.4
a try: http://people.apache.org/~rr/ode/ <http://people.apache.org/%7Err/ode/> 

Best,
  Tammo

On 22.05.2010 15:10, Adnan wrote:
> thank you.
> 
> If you don't mind would please look into the following error as well...
> I got this after fixing the previous.
> When I send the soap request I am getting 3 similar responses... seems
> to be of endpoint but could not sort out...
> 
> 58:53-DEBUG [MyRoleMessageExchangeImpl] Received myrole mex response
> callback
> 58:53-WARN  [ODEService] MEX produced a fault
> {MyRoleMex#hqejbhcnphr5anefnsakft [Client hqejbhcnphr5anefnsakfs]
> calling {http://test123Proc}test123Wsdl.test123WsdlOPT
> <http://test123Proc%7Dtest123Wsdl.test123WsdlOPT>(...)}
> org.apache.ode.axis2.OdeFault: Message exchange failure due to: Error
> sending message to Axis2 for ODE mex
> {PartnerRoleMex#hqejbhcnphr5anefnsakfw [PID
> {http://test123Proc}test123Proc-18
> <http://test123Proc%7Dtest123Proc-18>] calling null.addOperation(...)}
>    at
> org.apache.ode.axis2.util.SoapMessageConverter.createOdeFault(SoapMessageConverter.java:570)
>    ......
> 
> 03:57-DEBUG [MyRoleMessageExchangeImpl] Received myrole mex response
> callback
> 03:57-WARN  [ODEService] MEX produced a fault
> {MyRoleMex#hqejbhcnphr5anefnsakg1 [Client hqejbhcnphr5anefnsakg0]
> calling {http://test123Proc}test123Wsdl.test123WsdlOPT
> <http://test123Proc%7Dtest123Wsdl.test123WsdlOPT>(...)}
> org.apache.ode.axis2.OdeFault: Message exchange failure due to: Error
> sending message (mex={PartnerRoleMex#hqejbhcnphr5anefnsakg4 [PID
> {http://test123Proc}test123Proc-18
> <http://test123Proc%7Dtest123Proc-18>] calling
> org.apache.ode.bpel.epr.WSAEndpoint@3bf32230.addOperation(...)}): The
> host did not accept the connection within timeout of 60000 ms
>    at
> org.apache.ode.axis2.util.SoapMessageConverter.createOdeFault(SoapMessageConverter.java:570)
>    ......
> 
> 58:15-DEBUG [MyRoleMessageExchangeImpl] Received myrole mex response
> callback
> 58:15-WARN  [ODEService] MEX produced a fault
> {MyRoleMex#hqejbhcnphr5anefnsakfl [Client hqejbhcnphr5anefnsakfk]
> calling {http://test123Proc}test123Wsdl.test123WsdlOPT
> <http://test123Proc%7Dtest123Wsdl.test123WsdlOPT>(...)}
> org.apache.ode.axis2.OdeFault: Message exchange failure due to: Error
> sending message (mex={PartnerRoleMex#hqejbhcnphr5anefnsakfo [PID
> {http://test123Proc}test123Proc-18
> <http://test123Proc%7Dtest123Proc-18>] calling
> org.apache.ode.bpel.epr.WSAEndpoint@7aa68180.addOperation(...)}): No
> route to host
>    at
> org.apache.ode.axis2.util.SoapMessageConverter.createOdeFault(SoapMessageConverter.java:570)
>    .....
> 58:53-DEBUG [MessageExchangeImpl] SET MEX property invokeCheckJobId =
> hqejbhcnphr5anefnsakfx
> 58:53-ERROR [ExternalService] Error sending message to Axis2 for ODE mex
> {PartnerRoleMex#hqejbhcnphr5anefnsakfw [PID
> {http://test123Proc}test123Proc-18
> <http://test123Proc%7Dtest123Proc-18>] calling null.addOperation(...)}
> org.apache.axis2.AxisFault: Two services cannot have same name.  A
> service with the
> axis_service_for_{http://add.soco}Add#AddHttpSoap11Endpoint_hqejbhcnphr5anefnsakfb
> <http://add.soco%7DAdd#AddHttpSoap11Endpoint_hqejbhcnphr5anefnsakfb>
> name already exists in the system.
>    at
> org.apache.axis2.client.ServiceClient.configureServiceClient(ServiceClient.java:172)
>    .....
> 
> any idea...
> thx
> 
> *----
> AL*
> 
> 
> ------------------------------------------------------------------------
> *From:* Tammo van Lessen <tv...@gmail.com>
> *To:* user@ode.apache.org
> *Sent:* Fri, 21 May, 2010 18:23:47
> *Subject:* Re: Continously getting selectionFailure, help
> 
> Hi,
> 
> looks like your overriding the "input" variable with
> 
>>                <bpel:from>
>>                    <bpel:literal xml:space="preserve">
>>
>>
> xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
>>                          <aComp />
>>                          <bComp />
>>                        </p:add>
>>                    </bpel:literal>
>>                </bpel:from>
>>                <bpel:to part="parameters" variable="input"/>
> 
> and later you are trying to access
> 
>>                <bpel:from> $input.parameters/xsd:aComp  </bpel:from>
> 
> If the 'xsd' namespace is not equal to the default name space, this is
> most likely causing the selectionFailure. If not, please check the
> logfiles. They should contain line number information where the
> selection failure happens. If not, please increase the loglevel to debug.
> 
> HTH,
>  Tammo
> 
> 
> On 21.05.2010 17:37, Adnan wrote:
>> Sorry did not attach. The process
>> ------------
>>
>>    suppressJoinFailure="yes" xmlns:tns="http://test123Proc"
>>    xmlns:bpel="http://docs.oasis-open.org/wsbpel/2.0/process/executable"
>>    xmlns:wsdl2="http://add.soco" xmlns:wsdl3="http://inv.soco"
> xmlns:xsd="http://test123Sch/" >
>>
>>  
>>        importType="http://schemas.xmlsoap.org/wsdl/" />
>>  
>>        importType="http://schemas.xmlsoap.org/wsdl/" />
>>    <bpel:import location="test123ProcArtifacts.wsdl"
>>        namespace="http://test123Proc"
> importType="http://schemas.xmlsoap.org/wsdl/" />
>>
>>    <bpel:partnerLinks>
>>        <!-- The 'client' role represents the requester of this
> service. -->
>>        <bpel:partnerLink name="test123WsdlPLT"
>>            partnerLinkType="tns:test123Proc" myRole="test123ProcRole" />
>>        <bpel:partnerLink name="InversePLT_PL"
>>            partnerLinkType="tns:InversePLT" partnerRole="InverseRole" />
>>        <bpel:partnerLink name="addPLT_PL" partnerLinkType="tns:addPLT"
>>            partnerRole="addRole" />
>>    </bpel:partnerLinks>
>>
>>    <bpel:variables>
>>        <!-- Reference to the message passed as input during initiation -->
>>        <bpel:variable name="input" messageType="tns:test123WsdlInput_" />
>>        <bpel:variable name="output"
> messageType="tns:test123WsdlOutput_" />
>>        <bpel:variable name="addRequestIn"
> messageType="wsdl2:addRequest" />
>>        <bpel:variable name="addResponseOut"
> messageType="wsdl2:addResponse" />
>>        <bpel:variable name="InverseSignRequestIn"
> messageType="wsdl3:InverseSignRequest" />
>>        <bpel:variable name="InverseSignResponseOut"
>>            messageType="wsdl3:InverseSignResponse" />
>>    </bpel:variables>
>>
>>    <bpel:sequence name="main">
>>
>>        <!--
>>            Receive input from requester. Note: This maps to operation
> defined in
>>            test123Proc.wsdl
>>        -->
>>        <bpel:receive name="receiveInput" partnerLink="test123WsdlPLT"
>>            portType="tns:test123WsdlPT" createInstance="yes"
> operation="test123WsdlOPT"
>>            variable="input" />
>>
>>        <!-- Generate reply to synchronous request -->
>>        <bpel:assign validate="no" name="addAssign">
>>
>>            <bpel:copy>
>>              
>>                <bpel:from>
>>                    <bpel:literal xml:space="preserve">
>>                      
>>                      
> xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
>>                          <aComp />
>>                          <bComp />
>>                        </p:add>
>>                    </bpel:literal>
>>                </bpel:from>
>>                <bpel:to part="parameters" variable="input"/>
>>              
>>            </bpel:copy>
>>            <bpel:copy>
>>                <bpel:from>
>>                    <bpel:literal xml:space="preserve"><ns:addResponse
>>                        xmlns:ns="http://add.soco"
> xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" />
>>
>>                    </bpel:literal>
>>                </bpel:from>
>>                <bpel:to part="parameters" variable="addResponseOut"/>
>>            </bpel:copy>
>>          
>>            <bpel:copy>
>>                <bpel:from>
>>                    <bpel:literal
> xml:space="preserve"><ns:InverseSignResponse
>>                        xmlns:ns="http://inv.soco"
> xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" />
>>
>>                    </bpel:literal>
>>                </bpel:from>
>>                <bpel:to variable="InverseSignResponseOut"
> part="parameters" />
>>            </bpel:copy>
>>          
>>          
>>            <bpel:copy>
>>                <bpel:from>
>>                    <bpel:literal xml:space="preserve"><ns:InverseSign
>>                        xmlns:ns="http://inv.soco"
> xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" />
>>
>>                    </bpel:literal>
>>                </bpel:from>
>>                <bpel:to variable="InverseSignRequestIn"
> part="parameters" />
>>            </bpel:copy>
>>          
>>            <bpel:copy>
>>                <bpel:from>
>>                    <bpel:literal xml:space="preserve">
>>                  
>>                      
> xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" />
>>
>>                    </bpel:literal>
>>                </bpel:from>
>>                <bpel:to part="parameters" variable="addRequestIn" />
>>            </bpel:copy>
>>          
>>            <bpel:copy keepSrcElementName="no" ignoreMissingFromData="no">
>>                <bpel:from> $input.parameters/xsd:aComp  </bpel:from>
>>                <bpel:to> $addRequestIn.parameters/a  </bpel:to>
>>            </bpel:copy>
>>            <bpel:copy keepSrcElementName="no" ignoreMissingFromData="no">
>>                <bpel:from> $input.parameters/xsd:bComp  </bpel:from>
>>                <bpel:to> $addRequestIn.parameters/b  </bpel:to>
>>            </bpel:copy>
>>
>>          
>>        </bpel:assign>
>>
>>        <bpel:invoke partnerLink="addPLT_PL" name="addInvoke"
>>            suppressJoinFailure="yes" operation="add"
> portType="wsdl2:AddPortType"
>>            inputVariable="addRequestIn" outputVariable="addResponseOut" />
>>
>>        <bpel:assign validate="no" name="InverseAssign"
>>            suppressJoinFailure="yes">
>>            <bpel:copy keepSrcElementName="no" ignoreMissingFromData="no">
>>                <bpel:from> $addResponseOut.parameters/return  </bpel:from>
>>                <bpel:to> $InverseSignRequestIn.parameters/a  </bpel:to>
>>            </bpel:copy>
>>        </bpel:assign>
>>
>>        <bpel:invoke partnerLink="InversePLT_PL"
> portType="wsdl3:InversePortType"
>>            operation="InverseSign" name="InverseInvoke"
> suppressJoinFailure="yes"
>>            inputVariable="InverseSignRequestIn"
> outputVariable="InverseSignResponseOut" />
>>
>>        <bpel:assign validate="no" name="InverseAssign2"
>>            suppressJoinFailure="yes">
>>            <bpel:copy>
>>                <bpel:from>
>>                    <bpel:literal xml:space="preserve">
>>                      
>>                              <returnComp></returnComp>
>>                        </p:InverseSignResponse>
>>                    </bpel:literal>
>>                </bpel:from>
>>                <bpel:to variable="output" part="parameters"></bpel:to>
>>            </bpel:copy>
>>            <bpel:copy keepSrcElementName="no" ignoreMissingFromData="no">
>>                <bpel:from> $InverseSignResponseOut.parameters/return 
> </bpel:from>
>>                <bpel:to> $output.parameters/xsd:returnComp  </bpel:to>
>>            </bpel:copy>
>>          
>>        </bpel:assign>
>>
>>        <bpel:reply name="replyOutput" partnerLink="test123WsdlPLT"
>>            operation="test123WsdlOPT" portType="tns:test123WsdlPT"
> variable="output" />
>>
>>    </bpel:sequence>
>> </bpel:process>
>>
>>
>>
>>
>>
>>
>>
>> 
>> ----
>> AL
>>
>>
>>
>>
>> ________________________________
>> From: Adnan <adnust@yahoo.com <ma...@yahoo.com>>
>> To: Apache ODE Forum <user@ode.apache.org <ma...@ode.apache.org>>
>> Sent: Fri, 21 May, 2010 17:34:35
>> Subject: Continously getting selectionFailure, help
>>
>>
>> Hi.
>>
>> I think i have initialized the all variables and using document
> literal binding. I have a separate schema file that uses another schema
> file, which contains the types. I am pasting my process here. Will
> appreciate the reply.
>>
>> I am getting the following reply from there server.
>>
>> 
>>  
> soapenv:Server'>http://schemas.xmlsoap.org/soap/envelope/">soapenv:Server 
>>    <faultstring>axis2ns2:selectionFailure</faultstring> 
>>    <detail/>
>> </SOAP-ENV:Fault>
>>
>> 
>> thank you.
>>
>> ----
>> AL
>>
>>
>>    
> 
> -- 
> Tammo van Lessen - http://www.taval.de
> 

-- 
Tammo van Lessen - http://www.taval.de


      

Re: getting Message exchange failure , help

Posted by Adnan <ad...@yahoo.com>.
Hi, 
I am still getting message exchange failure but now it is slightly different. Checked with ode2, ode134rc and ode133. Attached are files including required logs :p

In ode2 :
ERROR - GeronimoLog.error(104) | The system cannot infer the transport information from the  URL.
ERROR - GeronimoLog.error(108) | Error sending message to Axis2 for ODE mex {PartnerRoleMex#hqejbhcnphr5as0x83qdv1 [PID null] calling org.apache.ode.il.epr.URLEndpoint@6344b0b7.AddOperation(...)}
org.apache.axis2.AxisFault: The system cannot infer the transport information from the  URL.

In ode134rc and ode133 it is similar almost:
ERROR - ODEServer-2 - SoapExternalService$1$1.call(219) | Error sending message (mex={PartnerRoleMex#hqejbhcnphr5as43vc56td [PID {http://SocoTestWsdl/}SocoTestProc-1] calling org.apache.ode.bpel.epr.URLEndpoint@48a10780.AddOperation(...) Status ASYNC}): Transport out has not been set
org.apache.axis2.AxisFault: Transport out has not been set
....................

52:28-WARN  [ODEService] MEX produced a fault {MyRoleMex#hqejbhcnphr5as4gus8lat [Client hqejbhcnphr5as4gus8las] calling {http://SocoTestWsdl/}SocoTest.SocoTestWsdlOPT(...)}
org.apache.ode.axis2.OdeFault: Message exchange failure due to: Error sending message (mex={PartnerRoleMex#hqejbhcnphr5as4gus8law [PID {http://SocoTestWsdl/}SocoTestProc-1] calling org.apache.ode.bpel.epr.URLEndpoint@29bf1f29.AddOperation(...)}): Transport out has not been set

-------------------

I googled and found that it could be because of some jars files are not on the classpath but i think i am all the required jar on classpath (ode libs dir.).

 
any work around? plz
thx


----
AL




________________________________
From: Song Thuy Nguyen <pr...@biaqua.de>
To: user@ode.apache.org
Sent: Sun, 23 May, 2010 1:25:52
Subject: RE: getting Message exchange failure , help

Hello Adnan,

are you observing the message exchange with a tool like SOAP monitor or TCP monitor? I had a similar issue once when I tried to call a wsdl of a web service with SOAPUI while I was proxy the communication of SOAPUI to a monitoring tool. Somehow the wsdl request would fail, but SOAP messages would be delivered just fine by the monitoring tool.



Greetings,



Thuy



From: Adnan [mailto:adnust@yahoo.com] 
Sent: Saturday, May 22, 2010 6:32 PM
To: user@ode.apache.org
Subject: Re: getting Message exchange failure , help



Hi Tammo.
Thank you. 

Problem is still there. I don't know why. What I am doing is that I have couple of partner services running on same machine in separate container (axis2), Ode could not get definition thru URL (http://....?wsdl) while processing (posted the problem but did nt get any reply yet) so downloaded the wsdl definitions on same directory as bpel process has. I am sure the partner services are up and running and tested those as well. But it still timing out... 
The process+services+log is attached.

plz.
thank you

----
AL





  _____  

From: Tammo van Lessen <tv...@gmail.com>
To: user@ode.apache.org
Sent: Sat, 22 May, 2010 16:42:31
Subject: Re: getting Message exchange failure , help

Hi,

the first error does not contain any information about the reason, the
second and third error indicated some network troubles (no route to
host, please make sure that all services are available). The fourth
error is a but in ODE 1.3.3, please give our release candidate for 1.3.4
a try: http://people.apache.org/~rr/ode/ <http://people.apache.org/%7Err/ode/> 

Best,
  Tammo

On 22.05.2010 15:10, Adnan wrote:
> thank you.
> 
> If you don't mind would please look into the following error as well...
> I got this after fixing the previous.
> When I send the soap request I am getting 3 similar responses... seems
> to be of endpoint but could not sort out...
> 
> 58:53-DEBUG [MyRoleMessageExchangeImpl] Received myrole mex response
> callback
> 58:53-WARN  [ODEService] MEX produced a fault
> {MyRoleMex#hqejbhcnphr5anefnsakft [Client hqejbhcnphr5anefnsakfs]
> calling {http://test123Proc}test123Wsdl.test123WsdlOPT
> <http://test123Proc%7Dtest123Wsdl.test123WsdlOPT>(...)}
> org.apache.ode.axis2.OdeFault: Message exchange failure due to: Error
> sending message to Axis2 for ODE mex
> {PartnerRoleMex#hqejbhcnphr5anefnsakfw [PID
> {http://test123Proc}test123Proc-18
> <http://test123Proc%7Dtest123Proc-18>] calling null.addOperation(...)}
>    at
> org.apache.ode.axis2.util.SoapMessageConverter.createOdeFault(SoapMessageConverter.java:570)
>    ......
> 
> 03:57-DEBUG [MyRoleMessageExchangeImpl] Received myrole mex response
> callback
> 03:57-WARN  [ODEService] MEX produced a fault
> {MyRoleMex#hqejbhcnphr5anefnsakg1 [Client hqejbhcnphr5anefnsakg0]
> calling {http://test123Proc}test123Wsdl.test123WsdlOPT
> <http://test123Proc%7Dtest123Wsdl.test123WsdlOPT>(...)}
> org.apache.ode.axis2.OdeFault: Message exchange failure due to: Error
> sending message (mex={PartnerRoleMex#hqejbhcnphr5anefnsakg4 [PID
> {http://test123Proc}test123Proc-18
> <http://test123Proc%7Dtest123Proc-18>] calling
> org.apache.ode.bpel.epr.WSAEndpoint@3bf32230.addOperation(...)}): The
> host did not accept the connection within timeout of 60000 ms
>    at
> org.apache.ode.axis2.util.SoapMessageConverter.createOdeFault(SoapMessageConverter.java:570)
>    ......
> 
> 58:15-DEBUG [MyRoleMessageExchangeImpl] Received myrole mex response
> callback
> 58:15-WARN  [ODEService] MEX produced a fault
> {MyRoleMex#hqejbhcnphr5anefnsakfl [Client hqejbhcnphr5anefnsakfk]
> calling {http://test123Proc}test123Wsdl.test123WsdlOPT
> <http://test123Proc%7Dtest123Wsdl.test123WsdlOPT>(...)}
> org.apache.ode.axis2.OdeFault: Message exchange failure due to: Error
> sending message (mex={PartnerRoleMex#hqejbhcnphr5anefnsakfo [PID
> {http://test123Proc}test123Proc-18
> <http://test123Proc%7Dtest123Proc-18>] calling
> org.apache.ode.bpel.epr.WSAEndpoint@7aa68180.addOperation(...)}): No
> route to host
>    at
> org.apache.ode.axis2.util.SoapMessageConverter.createOdeFault(SoapMessageConverter.java:570)
>    .....
> 58:53-DEBUG [MessageExchangeImpl] SET MEX property invokeCheckJobId =
> hqejbhcnphr5anefnsakfx
> 58:53-ERROR [ExternalService] Error sending message to Axis2 for ODE mex
> {PartnerRoleMex#hqejbhcnphr5anefnsakfw [PID
> {http://test123Proc}test123Proc-18
> <http://test123Proc%7Dtest123Proc-18>] calling null.addOperation(...)}
> org.apache.axis2.AxisFault: Two services cannot have same name.  A
> service with the
> axis_service_for_{http://add.soco}Add#AddHttpSoap11Endpoint_hqejbhcnphr5anefnsakfb
> <http://add.soco%7DAdd#AddHttpSoap11Endpoint_hqejbhcnphr5anefnsakfb>
> name already exists in the system.
>    at
> org.apache.axis2.client.ServiceClient.configureServiceClient(ServiceClient.java:172)
>    .....
> 
> any idea...
> thx
> 
> *----
> AL*
> 
> 
> ------------------------------------------------------------------------
> *From:* Tammo van Lessen <tv...@gmail.com>
> *To:* user@ode.apache.org
> *Sent:* Fri, 21 May, 2010 18:23:47
> *Subject:* Re: Continously getting selectionFailure, help
> 
> Hi,
> 
> looks like your overriding the "input" variable with
> 
>>                <bpel:from>
>>                    <bpel:literal xml:space="preserve">
>>
>>
> xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
>>                          <aComp />
>>                          <bComp />
>>                        </p:add>
>>                    </bpel:literal>
>>                </bpel:from>
>>                <bpel:to part="parameters" variable="input"/>
> 
> and later you are trying to access
> 
>>                <bpel:from> $input.parameters/xsd:aComp  </bpel:from>
> 
> If the 'xsd' namespace is not equal to the default name space, this is
> most likely causing the selectionFailure. If not, please check the
> logfiles. They should contain line number information where the
> selection failure happens. If not, please increase the loglevel to debug.
> 
> HTH,
>  Tammo
> 
> 
> On 21.05.2010 17:37, Adnan wrote:
>> Sorry did not attach. The process
>> ------------
>>
>>    suppressJoinFailure="yes" xmlns:tns="http://test123Proc"
>>    xmlns:bpel="http://docs.oasis-open.org/wsbpel/2.0/process/executable"
>>    xmlns:wsdl2="http://add.soco" xmlns:wsdl3="http://inv.soco"
> xmlns:xsd="http://test123Sch/" >
>>
>>  
>>        importType="http://schemas.xmlsoap.org/wsdl/" />
>>  
>>        importType="http://schemas.xmlsoap.org/wsdl/" />
>>    <bpel:import location="test123ProcArtifacts.wsdl"
>>        namespace="http://test123Proc"
> importType="http://schemas.xmlsoap.org/wsdl/" />
>>
>>    <bpel:partnerLinks>
>>        <!-- The 'client' role represents the requester of this
> service. -->
>>        <bpel:partnerLink name="test123WsdlPLT"
>>            partnerLinkType="tns:test123Proc" myRole="test123ProcRole" />
>>        <bpel:partnerLink name="InversePLT_PL"
>>            partnerLinkType="tns:InversePLT" partnerRole="InverseRole" />
>>        <bpel:partnerLink name="addPLT_PL" partnerLinkType="tns:addPLT"
>>            partnerRole="addRole" />
>>    </bpel:partnerLinks>
>>
>>    <bpel:variables>
>>        <!-- Reference to the message passed as input during initiation -->
>>        <bpel:variable name="input" messageType="tns:test123WsdlInput_" />
>>        <bpel:variable name="output"
> messageType="tns:test123WsdlOutput_" />
>>        <bpel:variable name="addRequestIn"
> messageType="wsdl2:addRequest" />
>>        <bpel:variable name="addResponseOut"
> messageType="wsdl2:addResponse" />
>>        <bpel:variable name="InverseSignRequestIn"
> messageType="wsdl3:InverseSignRequest" />
>>        <bpel:variable name="InverseSignResponseOut"
>>            messageType="wsdl3:InverseSignResponse" />
>>    </bpel:variables>
>>
>>    <bpel:sequence name="main">
>>
>>        <!--
>>            Receive input from requester. Note: This maps to operation
> defined in
>>            test123Proc.wsdl
>>        -->
>>        <bpel:receive name="receiveInput" partnerLink="test123WsdlPLT"
>>            portType="tns:test123WsdlPT" createInstance="yes"
> operation="test123WsdlOPT"
>>            variable="input" />
>>
>>        <!-- Generate reply to synchronous request -->
>>        <bpel:assign validate="no" name="addAssign">
>>
>>            <bpel:copy>
>>              
>>                <bpel:from>
>>                    <bpel:literal xml:space="preserve">
>>                      
>>                      
> xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
>>                          <aComp />
>>                          <bComp />
>>                        </p:add>
>>                    </bpel:literal>
>>                </bpel:from>
>>                <bpel:to part="parameters" variable="input"/>
>>              
>>            </bpel:copy>
>>            <bpel:copy>
>>                <bpel:from>
>>                    <bpel:literal xml:space="preserve"><ns:addResponse
>>                        xmlns:ns="http://add.soco"
> xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" />
>>
>>                    </bpel:literal>
>>                </bpel:from>
>>                <bpel:to part="parameters" variable="addResponseOut"/>
>>            </bpel:copy>
>>          
>>            <bpel:copy>
>>                <bpel:from>
>>                    <bpel:literal
> xml:space="preserve"><ns:InverseSignResponse
>>                        xmlns:ns="http://inv.soco"
> xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" />
>>
>>                    </bpel:literal>
>>                </bpel:from>
>>                <bpel:to variable="InverseSignResponseOut"
> part="parameters" />
>>            </bpel:copy>
>>          
>>          
>>            <bpel:copy>
>>                <bpel:from>
>>                    <bpel:literal xml:space="preserve"><ns:InverseSign
>>                        xmlns:ns="http://inv.soco"
> xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" />
>>
>>                    </bpel:literal>
>>                </bpel:from>
>>                <bpel:to variable="InverseSignRequestIn"
> part="parameters" />
>>            </bpel:copy>
>>          
>>            <bpel:copy>
>>                <bpel:from>
>>                    <bpel:literal xml:space="preserve">
>>                  
>>                      
> xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" />
>>
>>                    </bpel:literal>
>>                </bpel:from>
>>                <bpel:to part="parameters" variable="addRequestIn" />
>>            </bpel:copy>
>>          
>>            <bpel:copy keepSrcElementName="no" ignoreMissingFromData="no">
>>                <bpel:from> $input.parameters/xsd:aComp  </bpel:from>
>>                <bpel:to> $addRequestIn.parameters/a  </bpel:to>
>>            </bpel:copy>
>>            <bpel:copy keepSrcElementName="no" ignoreMissingFromData="no">
>>                <bpel:from> $input.parameters/xsd:bComp  </bpel:from>
>>                <bpel:to> $addRequestIn.parameters/b  </bpel:to>
>>            </bpel:copy>
>>
>>          
>>        </bpel:assign>
>>
>>        <bpel:invoke partnerLink="addPLT_PL" name="addInvoke"
>>            suppressJoinFailure="yes" operation="add"
> portType="wsdl2:AddPortType"
>>            inputVariable="addRequestIn" outputVariable="addResponseOut" />
>>
>>        <bpel:assign validate="no" name="InverseAssign"
>>            suppressJoinFailure="yes">
>>            <bpel:copy keepSrcElementName="no" ignoreMissingFromData="no">
>>                <bpel:from> $addResponseOut.parameters/return  </bpel:from>
>>                <bpel:to> $InverseSignRequestIn.parameters/a  </bpel:to>
>>            </bpel:copy>
>>        </bpel:assign>
>>
>>        <bpel:invoke partnerLink="InversePLT_PL"
> portType="wsdl3:InversePortType"
>>            operation="InverseSign" name="InverseInvoke"
> suppressJoinFailure="yes"
>>            inputVariable="InverseSignRequestIn"
> outputVariable="InverseSignResponseOut" />
>>
>>        <bpel:assign validate="no" name="InverseAssign2"
>>            suppressJoinFailure="yes">
>>            <bpel:copy>
>>                <bpel:from>
>>                    <bpel:literal xml:space="preserve">
>>                      
>>                              <returnComp></returnComp>
>>                        </p:InverseSignResponse>
>>                    </bpel:literal>
>>                </bpel:from>
>>                <bpel:to variable="output" part="parameters"></bpel:to>
>>            </bpel:copy>
>>            <bpel:copy keepSrcElementName="no" ignoreMissingFromData="no">
>>                <bpel:from> $InverseSignResponseOut.parameters/return 
> </bpel:from>
>>                <bpel:to> $output.parameters/xsd:returnComp  </bpel:to>
>>            </bpel:copy>
>>          
>>        </bpel:assign>
>>
>>        <bpel:reply name="replyOutput" partnerLink="test123WsdlPLT"
>>            operation="test123WsdlOPT" portType="tns:test123WsdlPT"
> variable="output" />
>>
>>    </bpel:sequence>
>> </bpel:process>
>>
>>
>>
>>
>>
>>
>>
>> 
>> ----
>> AL
>>
>>
>>
>>
>> ________________________________
>> From: Adnan <adnust@yahoo.com <ma...@yahoo.com>>
>> To: Apache ODE Forum <user@ode.apache.org <ma...@ode.apache.org>>
>> Sent: Fri, 21 May, 2010 17:34:35
>> Subject: Continously getting selectionFailure, help
>>
>>
>> Hi.
>>
>> I think i have initialized the all variables and using document
> literal binding. I have a separate schema file that uses another schema
> file, which contains the types. I am pasting my process here. Will
> appreciate the reply.
>>
>> I am getting the following reply from there server.
>>
>> 
>>  
> soapenv:Server'>http://schemas.xmlsoap.org/soap/envelope/">soapenv:Server 
>>    <faultstring>axis2ns2:selectionFailure</faultstring> 
>>    <detail/>
>> </SOAP-ENV:Fault>
>>
>> 
>> thank you.
>>
>> ----
>> AL
>>
>>
>>    
> 
> -- 
> Tammo van Lessen - http://www.taval.de
> 

-- 
Tammo van Lessen - http://www.taval.de


      

RE: getting Message exchange failure , help

Posted by Song Thuy Nguyen <pr...@biaqua.de>.
Hello Adnan,

are you observing the message exchange with a tool like SOAP monitor or TCP monitor? I had a similar issue once when I tried to call a wsdl of a web service with SOAPUI while I was proxy the communication of SOAPUI to a monitoring tool. Somehow the wsdl request would fail, but SOAP messages would be delivered just fine by the monitoring tool.

 

Greetings,

 

Thuy

 

From: Adnan [mailto:adnust@yahoo.com] 
Sent: Saturday, May 22, 2010 6:32 PM
To: user@ode.apache.org
Subject: Re: getting Message exchange failure , help

 

Hi Tammo.
Thank you. 

Problem is still there. I don't know why. What I am doing is that I have couple of partner services running on same machine in separate container (axis2), Ode could not get definition thru URL (http://....?wsdl) while processing (posted the problem but did nt get any reply yet) so downloaded the wsdl definitions on same directory as bpel process has. I am sure the partner services are up and running and tested those as well. But it still timing out... 
The process+services+log is attached.

 plz.
thank you

----
AL

 

 

  _____  

From: Tammo van Lessen <tv...@gmail.com>
To: user@ode.apache.org
Sent: Sat, 22 May, 2010 16:42:31
Subject: Re: getting Message exchange failure , help

Hi,

the first error does not contain any information about the reason, the
second and third error indicated some network troubles (no route to
host, please make sure that all services are available). The fourth
error is a but in ODE 1.3.3, please give our release candidate for 1.3.4
a try: http://people.apache.org/~rr/ode/ <http://people.apache.org/%7Err/ode/> 

Best,
  Tammo

On 22.05.2010 15:10, Adnan wrote:
> thank you.
> 
> If you don't mind would please look into the following error as well...
> I got this after fixing the previous.
> When I send the soap request I am getting 3 similar responses... seems
> to be of endpoint but could not sort out...
> 
> 58:53-DEBUG [MyRoleMessageExchangeImpl] Received myrole mex response
> callback
> 58:53-WARN  [ODEService] MEX produced a fault
> {MyRoleMex#hqejbhcnphr5anefnsakft [Client hqejbhcnphr5anefnsakfs]
> calling {http://test123Proc}test123Wsdl.test123WsdlOPT
> <http://test123Proc%7Dtest123Wsdl.test123WsdlOPT>(...)}
> org.apache.ode.axis2.OdeFault: Message exchange failure due to: Error
> sending message to Axis2 for ODE mex
> {PartnerRoleMex#hqejbhcnphr5anefnsakfw [PID
> {http://test123Proc}test123Proc-18
> <http://test123Proc%7Dtest123Proc-18>] calling null.addOperation(...)}
>    at
> org.apache.ode.axis2.util.SoapMessageConverter.createOdeFault(SoapMessageConverter.java:570)
>    ......
> 
> 03:57-DEBUG [MyRoleMessageExchangeImpl] Received myrole mex response
> callback
> 03:57-WARN  [ODEService] MEX produced a fault
> {MyRoleMex#hqejbhcnphr5anefnsakg1 [Client hqejbhcnphr5anefnsakg0]
> calling {http://test123Proc}test123Wsdl.test123WsdlOPT
> <http://test123Proc%7Dtest123Wsdl.test123WsdlOPT>(...)}
> org.apache.ode.axis2.OdeFault: Message exchange failure due to: Error
> sending message (mex={PartnerRoleMex#hqejbhcnphr5anefnsakg4 [PID
> {http://test123Proc}test123Proc-18
> <http://test123Proc%7Dtest123Proc-18>] calling
> org.apache.ode.bpel.epr.WSAEndpoint@3bf32230.addOperation(...)}): The
> host did not accept the connection within timeout of 60000 ms
>    at
> org.apache.ode.axis2.util.SoapMessageConverter.createOdeFault(SoapMessageConverter.java:570)
>    ......
> 
> 58:15-DEBUG [MyRoleMessageExchangeImpl] Received myrole mex response
> callback
> 58:15-WARN  [ODEService] MEX produced a fault
> {MyRoleMex#hqejbhcnphr5anefnsakfl [Client hqejbhcnphr5anefnsakfk]
> calling {http://test123Proc}test123Wsdl.test123WsdlOPT
> <http://test123Proc%7Dtest123Wsdl.test123WsdlOPT>(...)}
> org.apache.ode.axis2.OdeFault: Message exchange failure due to: Error
> sending message (mex={PartnerRoleMex#hqejbhcnphr5anefnsakfo [PID
> {http://test123Proc}test123Proc-18
> <http://test123Proc%7Dtest123Proc-18>] calling
> org.apache.ode.bpel.epr.WSAEndpoint@7aa68180.addOperation(...)}): No
> route to host
>    at
> org.apache.ode.axis2.util.SoapMessageConverter.createOdeFault(SoapMessageConverter.java:570)
>    .....
> 58:53-DEBUG [MessageExchangeImpl] SET MEX property invokeCheckJobId =
> hqejbhcnphr5anefnsakfx
> 58:53-ERROR [ExternalService] Error sending message to Axis2 for ODE mex
> {PartnerRoleMex#hqejbhcnphr5anefnsakfw [PID
> {http://test123Proc}test123Proc-18
> <http://test123Proc%7Dtest123Proc-18>] calling null.addOperation(...)}
> org.apache.axis2.AxisFault: Two services cannot have same name.  A
> service with the
> axis_service_for_{http://add.soco}Add#AddHttpSoap11Endpoint_hqejbhcnphr5anefnsakfb
> <http://add.soco%7DAdd#AddHttpSoap11Endpoint_hqejbhcnphr5anefnsakfb>
> name already exists in the system.
>    at
> org.apache.axis2.client.ServiceClient.configureServiceClient(ServiceClient.java:172)
>    .....
> 
> any idea...
> thx
> 
> *----
> AL*
> 
> 
> ------------------------------------------------------------------------
> *From:* Tammo van Lessen <tv...@gmail.com>
> *To:* user@ode.apache.org
> *Sent:* Fri, 21 May, 2010 18:23:47
> *Subject:* Re: Continously getting selectionFailure, help
> 
> Hi,
> 
> looks like your overriding the "input" variable with
> 
>>                <bpel:from>
>>                    <bpel:literal xml:space="preserve">
>>
>>
> xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
>>                          <aComp />
>>                          <bComp />
>>                        </p:add>
>>                    </bpel:literal>
>>                </bpel:from>
>>                <bpel:to part="parameters" variable="input"/>
> 
> and later you are trying to access
> 
>>                <bpel:from> $input.parameters/xsd:aComp  </bpel:from>
> 
> If the 'xsd' namespace is not equal to the default name space, this is
> most likely causing the selectionFailure. If not, please check the
> logfiles. They should contain line number information where the
> selection failure happens. If not, please increase the loglevel to debug.
> 
> HTH,
>  Tammo
> 
> 
> On 21.05.2010 17:37, Adnan wrote:
>> Sorry did not attach. The process
>> ------------
>>
>>    suppressJoinFailure="yes" xmlns:tns="http://test123Proc"
>>    xmlns:bpel="http://docs.oasis-open.org/wsbpel/2.0/process/executable"
>>    xmlns:wsdl2="http://add.soco" xmlns:wsdl3="http://inv.soco"
> xmlns:xsd="http://test123Sch/" >
>>
>>  
>>        importType="http://schemas.xmlsoap.org/wsdl/" />
>>  
>>        importType="http://schemas.xmlsoap.org/wsdl/" />
>>    <bpel:import location="test123ProcArtifacts.wsdl"
>>        namespace="http://test123Proc"
> importType="http://schemas.xmlsoap.org/wsdl/" />
>>
>>    <bpel:partnerLinks>
>>        <!-- The 'client' role represents the requester of this
> service. -->
>>        <bpel:partnerLink name="test123WsdlPLT"
>>            partnerLinkType="tns:test123Proc" myRole="test123ProcRole" />
>>        <bpel:partnerLink name="InversePLT_PL"
>>            partnerLinkType="tns:InversePLT" partnerRole="InverseRole" />
>>        <bpel:partnerLink name="addPLT_PL" partnerLinkType="tns:addPLT"
>>            partnerRole="addRole" />
>>    </bpel:partnerLinks>
>>
>>    <bpel:variables>
>>        <!-- Reference to the message passed as input during initiation -->
>>        <bpel:variable name="input" messageType="tns:test123WsdlInput_" />
>>        <bpel:variable name="output"
> messageType="tns:test123WsdlOutput_" />
>>        <bpel:variable name="addRequestIn"
> messageType="wsdl2:addRequest" />
>>        <bpel:variable name="addResponseOut"
> messageType="wsdl2:addResponse" />
>>        <bpel:variable name="InverseSignRequestIn"
> messageType="wsdl3:InverseSignRequest" />
>>        <bpel:variable name="InverseSignResponseOut"
>>            messageType="wsdl3:InverseSignResponse" />
>>    </bpel:variables>
>>
>>    <bpel:sequence name="main">
>>
>>        <!--
>>            Receive input from requester. Note: This maps to operation
> defined in
>>            test123Proc.wsdl
>>        -->
>>        <bpel:receive name="receiveInput" partnerLink="test123WsdlPLT"
>>            portType="tns:test123WsdlPT" createInstance="yes"
> operation="test123WsdlOPT"
>>            variable="input" />
>>
>>        <!-- Generate reply to synchronous request -->
>>        <bpel:assign validate="no" name="addAssign">
>>
>>            <bpel:copy>
>>              
>>                <bpel:from>
>>                    <bpel:literal xml:space="preserve">
>>                      
>>                      
> xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
>>                          <aComp />
>>                          <bComp />
>>                        </p:add>
>>                    </bpel:literal>
>>                </bpel:from>
>>                <bpel:to part="parameters" variable="input"/>
>>              
>>            </bpel:copy>
>>            <bpel:copy>
>>                <bpel:from>
>>                    <bpel:literal xml:space="preserve"><ns:addResponse
>>                        xmlns:ns="http://add.soco"
> xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" />
>>
>>                    </bpel:literal>
>>                </bpel:from>
>>                <bpel:to part="parameters" variable="addResponseOut"/>
>>            </bpel:copy>
>>          
>>            <bpel:copy>
>>                <bpel:from>
>>                    <bpel:literal
> xml:space="preserve"><ns:InverseSignResponse
>>                        xmlns:ns="http://inv.soco"
> xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" />
>>
>>                    </bpel:literal>
>>                </bpel:from>
>>                <bpel:to variable="InverseSignResponseOut"
> part="parameters" />
>>            </bpel:copy>
>>          
>>          
>>            <bpel:copy>
>>                <bpel:from>
>>                    <bpel:literal xml:space="preserve"><ns:InverseSign
>>                        xmlns:ns="http://inv.soco"
> xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" />
>>
>>                    </bpel:literal>
>>                </bpel:from>
>>                <bpel:to variable="InverseSignRequestIn"
> part="parameters" />
>>            </bpel:copy>
>>          
>>            <bpel:copy>
>>                <bpel:from>
>>                    <bpel:literal xml:space="preserve">
>>                  
>>                      
> xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" />
>>
>>                    </bpel:literal>
>>                </bpel:from>
>>                <bpel:to part="parameters" variable="addRequestIn" />
>>            </bpel:copy>
>>          
>>            <bpel:copy keepSrcElementName="no" ignoreMissingFromData="no">
>>                <bpel:from> $input.parameters/xsd:aComp  </bpel:from>
>>                <bpel:to> $addRequestIn.parameters/a  </bpel:to>
>>            </bpel:copy>
>>            <bpel:copy keepSrcElementName="no" ignoreMissingFromData="no">
>>                <bpel:from> $input.parameters/xsd:bComp  </bpel:from>
>>                <bpel:to> $addRequestIn.parameters/b  </bpel:to>
>>            </bpel:copy>
>>
>>          
>>        </bpel:assign>
>>
>>        <bpel:invoke partnerLink="addPLT_PL" name="addInvoke"
>>            suppressJoinFailure="yes" operation="add"
> portType="wsdl2:AddPortType"
>>            inputVariable="addRequestIn" outputVariable="addResponseOut" />
>>
>>        <bpel:assign validate="no" name="InverseAssign"
>>            suppressJoinFailure="yes">
>>            <bpel:copy keepSrcElementName="no" ignoreMissingFromData="no">
>>                <bpel:from> $addResponseOut.parameters/return  </bpel:from>
>>                <bpel:to> $InverseSignRequestIn.parameters/a  </bpel:to>
>>            </bpel:copy>
>>        </bpel:assign>
>>
>>        <bpel:invoke partnerLink="InversePLT_PL"
> portType="wsdl3:InversePortType"
>>            operation="InverseSign" name="InverseInvoke"
> suppressJoinFailure="yes"
>>            inputVariable="InverseSignRequestIn"
> outputVariable="InverseSignResponseOut" />
>>
>>        <bpel:assign validate="no" name="InverseAssign2"
>>            suppressJoinFailure="yes">
>>            <bpel:copy>
>>                <bpel:from>
>>                    <bpel:literal xml:space="preserve">
>>                      
>>                              <returnComp></returnComp>
>>                        </p:InverseSignResponse>
>>                    </bpel:literal>
>>                </bpel:from>
>>                <bpel:to variable="output" part="parameters"></bpel:to>
>>            </bpel:copy>
>>            <bpel:copy keepSrcElementName="no" ignoreMissingFromData="no">
>>                <bpel:from> $InverseSignResponseOut.parameters/return 
> </bpel:from>
>>                <bpel:to> $output.parameters/xsd:returnComp  </bpel:to>
>>            </bpel:copy>
>>          
>>        </bpel:assign>
>>
>>        <bpel:reply name="replyOutput" partnerLink="test123WsdlPLT"
>>            operation="test123WsdlOPT" portType="tns:test123WsdlPT"
> variable="output" />
>>
>>    </bpel:sequence>
>> </bpel:process>
>>
>>
>>
>>
>>
>>
>>
>> 
>> ----
>> AL
>>
>>
>>
>>
>> ________________________________
>> From: Adnan <adnust@yahoo.com <ma...@yahoo.com>>
>> To: Apache ODE Forum <user@ode.apache.org <ma...@ode.apache.org>>
>> Sent: Fri, 21 May, 2010 17:34:35
>> Subject: Continously getting selectionFailure, help
>>
>>
>> Hi.
>>
>> I think i have initialized the all variables and using document
> literal binding. I have a separate schema file that uses another schema
> file, which contains the types. I am pasting my process here. Will
> appreciate the reply.
>>
>> I am getting the following reply from there server.
>>
>> 
>>  
> soapenv:Server'>http://schemas.xmlsoap.org/soap/envelope/">soapenv:Server 
>>    <faultstring>axis2ns2:selectionFailure</faultstring> 
>>    <detail/>
>> </SOAP-ENV:Fault>
>>
>> 
>> thank you.
>>
>> ----
>> AL
>>
>>
>>    
> 
> -- 
> Tammo van Lessen - http://www.taval.de
> 

-- 
Tammo van Lessen - http://www.taval.de

 


Re: getting Message exchange failure , help

Posted by Adnan <ad...@yahoo.com>.
Hi Tammo.
Thank you. 

Problem is still there. I don't know why. What I am doing is that I have couple of partner services running on same machine in separate container (axis2), Ode could not get definition thru URL (http://....?wsdl) while processing (posted the problem but did nt get any reply yet) so downloaded the wsdl definitions on same directory as bpel process has. I am sure the partner services are up and running and tested those as well. But it still timing out... 
The process+services+log is attached.

 plz.
thank you

----
AL




________________________________
From: Tammo van Lessen <tv...@gmail.com>
To: user@ode.apache.org
Sent: Sat, 22 May, 2010 16:42:31
Subject: Re: getting Message exchange failure , help

Hi,

the first error does not contain any information about the reason, the
second and third error indicated some network troubles (no route to
host, please make sure that all services are available). The fourth
error is a but in ODE 1.3.3, please give our release candidate for 1.3.4
a try: http://people.apache.org/~rr/ode/

Best,
  Tammo

On 22.05.2010 15:10, Adnan wrote:
> thank you.
> 
> If you don't mind would please look into the following error as well...
> I got this after fixing the previous.
> When I send the soap request I am getting 3 similar responses... seems
> to be of endpoint but could not sort out...
> 
> 58:53-DEBUG [MyRoleMessageExchangeImpl] Received myrole mex response
> callback
> 58:53-WARN  [ODEService] MEX produced a fault
> {MyRoleMex#hqejbhcnphr5anefnsakft [Client hqejbhcnphr5anefnsakfs]
> calling {http://test123Proc}test123Wsdl.test123WsdlOPT
> <http://test123Proc%7Dtest123Wsdl.test123WsdlOPT>(...)}
> org.apache.ode.axis2.OdeFault: Message exchange failure due to: Error
> sending message to Axis2 for ODE mex
> {PartnerRoleMex#hqejbhcnphr5anefnsakfw [PID
> {http://test123Proc}test123Proc-18
> <http://test123Proc%7Dtest123Proc-18>] calling null.addOperation(...)}
>     at
> org.apache.ode.axis2.util.SoapMessageConverter.createOdeFault(SoapMessageConverter.java:570)
>     ......
> 
> 03:57-DEBUG [MyRoleMessageExchangeImpl] Received myrole mex response
> callback
> 03:57-WARN  [ODEService] MEX produced a fault
> {MyRoleMex#hqejbhcnphr5anefnsakg1 [Client hqejbhcnphr5anefnsakg0]
> calling {http://test123Proc}test123Wsdl.test123WsdlOPT
> <http://test123Proc%7Dtest123Wsdl.test123WsdlOPT>(...)}
> org.apache.ode.axis2.OdeFault: Message exchange failure due to: Error
> sending message (mex={PartnerRoleMex#hqejbhcnphr5anefnsakg4 [PID
> {http://test123Proc}test123Proc-18
> <http://test123Proc%7Dtest123Proc-18>] calling
> org.apache.ode.bpel.epr.WSAEndpoint@3bf32230.addOperation(...)}): The
> host did not accept the connection within timeout of 60000 ms
>     at
> org.apache.ode.axis2.util.SoapMessageConverter.createOdeFault(SoapMessageConverter.java:570)
>     ......
> 
> 58:15-DEBUG [MyRoleMessageExchangeImpl] Received myrole mex response
> callback
> 58:15-WARN  [ODEService] MEX produced a fault
> {MyRoleMex#hqejbhcnphr5anefnsakfl [Client hqejbhcnphr5anefnsakfk]
> calling {http://test123Proc}test123Wsdl.test123WsdlOPT
> <http://test123Proc%7Dtest123Wsdl.test123WsdlOPT>(...)}
> org.apache.ode.axis2.OdeFault: Message exchange failure due to: Error
> sending message (mex={PartnerRoleMex#hqejbhcnphr5anefnsakfo [PID
> {http://test123Proc}test123Proc-18
> <http://test123Proc%7Dtest123Proc-18>] calling
> org.apache.ode.bpel.epr.WSAEndpoint@7aa68180.addOperation(...)}): No
> route to host
>     at
> org.apache.ode.axis2.util.SoapMessageConverter.createOdeFault(SoapMessageConverter.java:570)
>     .....
> 58:53-DEBUG [MessageExchangeImpl] SET MEX property invokeCheckJobId =
> hqejbhcnphr5anefnsakfx
> 58:53-ERROR [ExternalService] Error sending message to Axis2 for ODE mex
> {PartnerRoleMex#hqejbhcnphr5anefnsakfw [PID
> {http://test123Proc}test123Proc-18
> <http://test123Proc%7Dtest123Proc-18>] calling null.addOperation(...)}
> org.apache.axis2.AxisFault: Two services cannot have same name.  A
> service with the
> axis_service_for_{http://add.soco}Add#AddHttpSoap11Endpoint_hqejbhcnphr5anefnsakfb
> <http://add.soco%7DAdd#AddHttpSoap11Endpoint_hqejbhcnphr5anefnsakfb>
> name already exists in the system.
>     at
> org.apache.axis2.client.ServiceClient.configureServiceClient(ServiceClient.java:172)
>     .....
> 
> any idea...
> thx
> 
> *----
> AL*
> 
> 
> ------------------------------------------------------------------------
> *From:* Tammo van Lessen <tv...@gmail.com>
> *To:* user@ode.apache.org
> *Sent:* Fri, 21 May, 2010 18:23:47
> *Subject:* Re: Continously getting selectionFailure, help
> 
> Hi,
> 
> looks like your overriding the "input" variable with
> 
>>                <bpel:from>
>>                    <bpel:literal xml:space="preserve">
>>
>>
> xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
>>                          <aComp />
>>                          <bComp />
>>                        </p:add>
>>                    </bpel:literal>
>>                </bpel:from>
>>                <bpel:to part="parameters" variable="input"/>
> 
> and later you are trying to access
> 
>>                <bpel:from> $input.parameters/xsd:aComp  </bpel:from>
> 
> If the 'xsd' namespace is not equal to the default name space, this is
> most likely causing the selectionFailure. If not, please check the
> logfiles. They should contain line number information where the
> selection failure happens. If not, please increase the loglevel to debug.
> 
> HTH,
>   Tammo
> 
> 
> On 21.05.2010 17:37, Adnan wrote:
>> Sorry did not attach. The process
>> ------------
>>
>>    suppressJoinFailure="yes" xmlns:tns="http://test123Proc"
>>    xmlns:bpel="http://docs.oasis-open.org/wsbpel/2.0/process/executable"
>>    xmlns:wsdl2="http://add.soco" xmlns:wsdl3="http://inv.soco"
> xmlns:xsd="http://test123Sch/" >
>>
>>  
>>        importType="http://schemas.xmlsoap.org/wsdl/" />
>>  
>>        importType="http://schemas.xmlsoap.org/wsdl/" />
>>    <bpel:import location="test123ProcArtifacts.wsdl"
>>        namespace="http://test123Proc"
> importType="http://schemas.xmlsoap.org/wsdl/" />
>>
>>    <bpel:partnerLinks>
>>        <!-- The 'client' role represents the requester of this
> service. -->
>>        <bpel:partnerLink name="test123WsdlPLT"
>>            partnerLinkType="tns:test123Proc" myRole="test123ProcRole" />
>>        <bpel:partnerLink name="InversePLT_PL"
>>            partnerLinkType="tns:InversePLT" partnerRole="InverseRole" />
>>        <bpel:partnerLink name="addPLT_PL" partnerLinkType="tns:addPLT"
>>            partnerRole="addRole" />
>>    </bpel:partnerLinks>
>>
>>    <bpel:variables>
>>        <!-- Reference to the message passed as input during initiation -->
>>        <bpel:variable name="input" messageType="tns:test123WsdlInput_" />
>>        <bpel:variable name="output"
> messageType="tns:test123WsdlOutput_" />
>>        <bpel:variable name="addRequestIn"
> messageType="wsdl2:addRequest" />
>>        <bpel:variable name="addResponseOut"
> messageType="wsdl2:addResponse" />
>>        <bpel:variable name="InverseSignRequestIn"
> messageType="wsdl3:InverseSignRequest" />
>>        <bpel:variable name="InverseSignResponseOut"
>>            messageType="wsdl3:InverseSignResponse" />
>>    </bpel:variables>
>>
>>    <bpel:sequence name="main">
>>
>>        <!--
>>            Receive input from requester. Note: This maps to operation
> defined in
>>            test123Proc.wsdl
>>        -->
>>        <bpel:receive name="receiveInput" partnerLink="test123WsdlPLT"
>>            portType="tns:test123WsdlPT" createInstance="yes"
> operation="test123WsdlOPT"
>>            variable="input" />
>>
>>        <!-- Generate reply to synchronous request -->
>>        <bpel:assign validate="no" name="addAssign">
>>
>>            <bpel:copy>
>>              
>>                <bpel:from>
>>                    <bpel:literal xml:space="preserve">
>>                      
>>                      
> xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
>>                          <aComp />
>>                          <bComp />
>>                        </p:add>
>>                    </bpel:literal>
>>                </bpel:from>
>>                <bpel:to part="parameters" variable="input"/>
>>              
>>            </bpel:copy>
>>            <bpel:copy>
>>                <bpel:from>
>>                    <bpel:literal xml:space="preserve"><ns:addResponse
>>                        xmlns:ns="http://add.soco"
> xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" />
>>
>>                    </bpel:literal>
>>                </bpel:from>
>>                <bpel:to part="parameters" variable="addResponseOut"/>
>>            </bpel:copy>
>>          
>>            <bpel:copy>
>>                <bpel:from>
>>                    <bpel:literal
> xml:space="preserve"><ns:InverseSignResponse
>>                        xmlns:ns="http://inv.soco"
> xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" />
>>
>>                    </bpel:literal>
>>                </bpel:from>
>>                <bpel:to variable="InverseSignResponseOut"
> part="parameters" />
>>            </bpel:copy>
>>          
>>          
>>            <bpel:copy>
>>                <bpel:from>
>>                    <bpel:literal xml:space="preserve"><ns:InverseSign
>>                        xmlns:ns="http://inv.soco"
> xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" />
>>
>>                    </bpel:literal>
>>                </bpel:from>
>>                <bpel:to variable="InverseSignRequestIn"
> part="parameters" />
>>            </bpel:copy>
>>          
>>            <bpel:copy>
>>                <bpel:from>
>>                    <bpel:literal xml:space="preserve">
>>                  
>>                      
> xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" />
>>
>>                    </bpel:literal>
>>                </bpel:from>
>>                <bpel:to part="parameters" variable="addRequestIn" />
>>            </bpel:copy>
>>          
>>            <bpel:copy keepSrcElementName="no" ignoreMissingFromData="no">
>>                <bpel:from> $input.parameters/xsd:aComp  </bpel:from>
>>                <bpel:to> $addRequestIn.parameters/a  </bpel:to>
>>            </bpel:copy>
>>            <bpel:copy keepSrcElementName="no" ignoreMissingFromData="no">
>>                <bpel:from> $input.parameters/xsd:bComp  </bpel:from>
>>                <bpel:to> $addRequestIn.parameters/b  </bpel:to>
>>            </bpel:copy>
>>
>>          
>>        </bpel:assign>
>>
>>        <bpel:invoke partnerLink="addPLT_PL" name="addInvoke"
>>            suppressJoinFailure="yes" operation="add"
> portType="wsdl2:AddPortType"
>>            inputVariable="addRequestIn" outputVariable="addResponseOut" />
>>
>>        <bpel:assign validate="no" name="InverseAssign"
>>            suppressJoinFailure="yes">
>>            <bpel:copy keepSrcElementName="no" ignoreMissingFromData="no">
>>                <bpel:from> $addResponseOut.parameters/return  </bpel:from>
>>                <bpel:to> $InverseSignRequestIn.parameters/a  </bpel:to>
>>            </bpel:copy>
>>        </bpel:assign>
>>
>>        <bpel:invoke partnerLink="InversePLT_PL"
> portType="wsdl3:InversePortType"
>>            operation="InverseSign" name="InverseInvoke"
> suppressJoinFailure="yes"
>>            inputVariable="InverseSignRequestIn"
> outputVariable="InverseSignResponseOut" />
>>
>>        <bpel:assign validate="no" name="InverseAssign2"
>>            suppressJoinFailure="yes">
>>            <bpel:copy>
>>                <bpel:from>
>>                    <bpel:literal xml:space="preserve">
>>                      
>>                              <returnComp></returnComp>
>>                        </p:InverseSignResponse>
>>                    </bpel:literal>
>>                </bpel:from>
>>                <bpel:to variable="output" part="parameters"></bpel:to>
>>            </bpel:copy>
>>            <bpel:copy keepSrcElementName="no" ignoreMissingFromData="no">
>>                <bpel:from> $InverseSignResponseOut.parameters/return 
> </bpel:from>
>>                <bpel:to> $output.parameters/xsd:returnComp  </bpel:to>
>>            </bpel:copy>
>>          
>>        </bpel:assign>
>>
>>        <bpel:reply name="replyOutput" partnerLink="test123WsdlPLT"
>>            operation="test123WsdlOPT" portType="tns:test123WsdlPT"
> variable="output" />
>>
>>    </bpel:sequence>
>> </bpel:process>
>>
>>
>>
>>
>>
>>
>>
>> 
>> ----
>> AL
>>
>>
>>
>>
>> ________________________________
>> From: Adnan <adnust@yahoo.com <ma...@yahoo.com>>
>> To: Apache ODE Forum <user@ode.apache.org <ma...@ode.apache.org>>
>> Sent: Fri, 21 May, 2010 17:34:35
>> Subject: Continously getting selectionFailure, help
>>
>>
>> Hi.
>>
>> I think i have initialized the all variables and using document
> literal binding. I have a separate schema file that uses another schema
> file, which contains the types. I am pasting my process here. Will
> appreciate the reply.
>>
>> I am getting the following reply from there server.
>>
>> 
>>  
> soapenv:Server'>http://schemas.xmlsoap.org/soap/envelope/">soapenv:Server 
>>    <faultstring>axis2ns2:selectionFailure</faultstring> 
>>    <detail/>
>> </SOAP-ENV:Fault>
>>
>> 
>> thank you.
>>
>> ----
>> AL
>>
>>
>>    
> 
> -- 
> Tammo van Lessen - http://www.taval.de
> 

-- 
Tammo van Lessen - http://www.taval.de



      

Re: getting Message exchange failure , help

Posted by Tammo van Lessen <tv...@gmail.com>.
Hi,

the first error does not contain any information about the reason, the
second and third error indicated some network troubles (no route to
host, please make sure that all services are available). The fourth
error is a but in ODE 1.3.3, please give our release candidate for 1.3.4
a try: http://people.apache.org/~rr/ode/

Best,
  Tammo

On 22.05.2010 15:10, Adnan wrote:
> thank you.
> 
> If you don't mind would please look into the following error as well...
> I got this after fixing the previous.
> When I send the soap request I am getting 3 similar responses... seems
> to be of endpoint but could not sort out...
> 
> 58:53-DEBUG [MyRoleMessageExchangeImpl] Received myrole mex response
> callback
> 58:53-WARN  [ODEService] MEX produced a fault
> {MyRoleMex#hqejbhcnphr5anefnsakft [Client hqejbhcnphr5anefnsakfs]
> calling {http://test123Proc}test123Wsdl.test123WsdlOPT
> <http://test123Proc%7Dtest123Wsdl.test123WsdlOPT>(...)}
> org.apache.ode.axis2.OdeFault: Message exchange failure due to: Error
> sending message to Axis2 for ODE mex
> {PartnerRoleMex#hqejbhcnphr5anefnsakfw [PID
> {http://test123Proc}test123Proc-18
> <http://test123Proc%7Dtest123Proc-18>] calling null.addOperation(...)}
>     at
> org.apache.ode.axis2.util.SoapMessageConverter.createOdeFault(SoapMessageConverter.java:570)
>     ......
> 
> 03:57-DEBUG [MyRoleMessageExchangeImpl] Received myrole mex response
> callback
> 03:57-WARN  [ODEService] MEX produced a fault
> {MyRoleMex#hqejbhcnphr5anefnsakg1 [Client hqejbhcnphr5anefnsakg0]
> calling {http://test123Proc}test123Wsdl.test123WsdlOPT
> <http://test123Proc%7Dtest123Wsdl.test123WsdlOPT>(...)}
> org.apache.ode.axis2.OdeFault: Message exchange failure due to: Error
> sending message (mex={PartnerRoleMex#hqejbhcnphr5anefnsakg4 [PID
> {http://test123Proc}test123Proc-18
> <http://test123Proc%7Dtest123Proc-18>] calling
> org.apache.ode.bpel.epr.WSAEndpoint@3bf32230.addOperation(...)}): The
> host did not accept the connection within timeout of 60000 ms
>     at
> org.apache.ode.axis2.util.SoapMessageConverter.createOdeFault(SoapMessageConverter.java:570)
>     ......
> 
> 58:15-DEBUG [MyRoleMessageExchangeImpl] Received myrole mex response
> callback
> 58:15-WARN  [ODEService] MEX produced a fault
> {MyRoleMex#hqejbhcnphr5anefnsakfl [Client hqejbhcnphr5anefnsakfk]
> calling {http://test123Proc}test123Wsdl.test123WsdlOPT
> <http://test123Proc%7Dtest123Wsdl.test123WsdlOPT>(...)}
> org.apache.ode.axis2.OdeFault: Message exchange failure due to: Error
> sending message (mex={PartnerRoleMex#hqejbhcnphr5anefnsakfo [PID
> {http://test123Proc}test123Proc-18
> <http://test123Proc%7Dtest123Proc-18>] calling
> org.apache.ode.bpel.epr.WSAEndpoint@7aa68180.addOperation(...)}): No
> route to host
>     at
> org.apache.ode.axis2.util.SoapMessageConverter.createOdeFault(SoapMessageConverter.java:570)
>     .....
> 58:53-DEBUG [MessageExchangeImpl] SET MEX property invokeCheckJobId =
> hqejbhcnphr5anefnsakfx
> 58:53-ERROR [ExternalService] Error sending message to Axis2 for ODE mex
> {PartnerRoleMex#hqejbhcnphr5anefnsakfw [PID
> {http://test123Proc}test123Proc-18
> <http://test123Proc%7Dtest123Proc-18>] calling null.addOperation(...)}
> org.apache.axis2.AxisFault: Two services cannot have same name.  A
> service with the
> axis_service_for_{http://add.soco}Add#AddHttpSoap11Endpoint_hqejbhcnphr5anefnsakfb
> <http://add.soco%7DAdd#AddHttpSoap11Endpoint_hqejbhcnphr5anefnsakfb>
> name already exists in the system.
>     at
> org.apache.axis2.client.ServiceClient.configureServiceClient(ServiceClient.java:172)
>     .....
> 
> any idea...
> thx
> 
> *----
> AL*
> 
> 
> ------------------------------------------------------------------------
> *From:* Tammo van Lessen <tv...@gmail.com>
> *To:* user@ode.apache.org
> *Sent:* Fri, 21 May, 2010 18:23:47
> *Subject:* Re: Continously getting selectionFailure, help
> 
> Hi,
> 
> looks like your overriding the "input" variable with
> 
>>                <bpel:from>
>>                    <bpel:literal xml:space="preserve">
>>
>>
> xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
>>                          <aComp />
>>                          <bComp />
>>                        </p:add>
>>                    </bpel:literal>
>>                </bpel:from>
>>                <bpel:to part="parameters" variable="input"/>
> 
> and later you are trying to access
> 
>>                <bpel:from> $input.parameters/xsd:aComp  </bpel:from>
> 
> If the 'xsd' namespace is not equal to the default name space, this is
> most likely causing the selectionFailure. If not, please check the
> logfiles. They should contain line number information where the
> selection failure happens. If not, please increase the loglevel to debug.
> 
> HTH,
>   Tammo
> 
> 
> On 21.05.2010 17:37, Adnan wrote:
>> Sorry did not attach. The process
>> ------------
>>
>>    suppressJoinFailure="yes" xmlns:tns="http://test123Proc"
>>    xmlns:bpel="http://docs.oasis-open.org/wsbpel/2.0/process/executable"
>>    xmlns:wsdl2="http://add.soco" xmlns:wsdl3="http://inv.soco"
> xmlns:xsd="http://test123Sch/" >
>>
>>   
>>        importType="http://schemas.xmlsoap.org/wsdl/" />
>>   
>>        importType="http://schemas.xmlsoap.org/wsdl/" />
>>    <bpel:import location="test123ProcArtifacts.wsdl"
>>        namespace="http://test123Proc"
> importType="http://schemas.xmlsoap.org/wsdl/" />
>>
>>    <bpel:partnerLinks>
>>        <!-- The 'client' role represents the requester of this
> service. -->
>>        <bpel:partnerLink name="test123WsdlPLT"
>>            partnerLinkType="tns:test123Proc" myRole="test123ProcRole" />
>>        <bpel:partnerLink name="InversePLT_PL"
>>            partnerLinkType="tns:InversePLT" partnerRole="InverseRole" />
>>        <bpel:partnerLink name="addPLT_PL" partnerLinkType="tns:addPLT"
>>            partnerRole="addRole" />
>>    </bpel:partnerLinks>
>>
>>    <bpel:variables>
>>        <!-- Reference to the message passed as input during initiation -->
>>        <bpel:variable name="input" messageType="tns:test123WsdlInput_" />
>>        <bpel:variable name="output"
> messageType="tns:test123WsdlOutput_" />
>>        <bpel:variable name="addRequestIn"
> messageType="wsdl2:addRequest" />
>>        <bpel:variable name="addResponseOut"
> messageType="wsdl2:addResponse" />
>>        <bpel:variable name="InverseSignRequestIn"
> messageType="wsdl3:InverseSignRequest" />
>>        <bpel:variable name="InverseSignResponseOut"
>>            messageType="wsdl3:InverseSignResponse" />
>>    </bpel:variables>
>>
>>    <bpel:sequence name="main">
>>
>>        <!--
>>            Receive input from requester. Note: This maps to operation
> defined in
>>            test123Proc.wsdl
>>        -->
>>        <bpel:receive name="receiveInput" partnerLink="test123WsdlPLT"
>>            portType="tns:test123WsdlPT" createInstance="yes"
> operation="test123WsdlOPT"
>>            variable="input" />
>>
>>        <!-- Generate reply to synchronous request -->
>>        <bpel:assign validate="no" name="addAssign">
>>
>>            <bpel:copy>
>>               
>>                <bpel:from>
>>                    <bpel:literal xml:space="preserve">
>>                       
>>                       
> xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
>>                          <aComp />
>>                          <bComp />
>>                        </p:add>
>>                    </bpel:literal>
>>                </bpel:from>
>>                <bpel:to part="parameters" variable="input"/>
>>               
>>            </bpel:copy>
>>            <bpel:copy>
>>                <bpel:from>
>>                    <bpel:literal xml:space="preserve"><ns:addResponse
>>                        xmlns:ns="http://add.soco"
> xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" />
>>
>>                    </bpel:literal>
>>                </bpel:from>
>>                <bpel:to part="parameters" variable="addResponseOut"/>
>>            </bpel:copy>
>>           
>>            <bpel:copy>
>>                <bpel:from>
>>                    <bpel:literal
> xml:space="preserve"><ns:InverseSignResponse
>>                        xmlns:ns="http://inv.soco"
> xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" />
>>
>>                    </bpel:literal>
>>                </bpel:from>
>>                <bpel:to variable="InverseSignResponseOut"
> part="parameters" />
>>            </bpel:copy>
>>           
>>           
>>            <bpel:copy>
>>                <bpel:from>
>>                    <bpel:literal xml:space="preserve"><ns:InverseSign
>>                        xmlns:ns="http://inv.soco"
> xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" />
>>
>>                    </bpel:literal>
>>                </bpel:from>
>>                <bpel:to variable="InverseSignRequestIn"
> part="parameters" />
>>            </bpel:copy>
>>           
>>            <bpel:copy>
>>                <bpel:from>
>>                    <bpel:literal xml:space="preserve">
>>                   
>>                       
> xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" />
>>
>>                    </bpel:literal>
>>                </bpel:from>
>>                <bpel:to part="parameters" variable="addRequestIn" />
>>            </bpel:copy>
>>           
>>            <bpel:copy keepSrcElementName="no" ignoreMissingFromData="no">
>>                <bpel:from> $input.parameters/xsd:aComp  </bpel:from>
>>                <bpel:to> $addRequestIn.parameters/a  </bpel:to>
>>            </bpel:copy>
>>            <bpel:copy keepSrcElementName="no" ignoreMissingFromData="no">
>>                <bpel:from> $input.parameters/xsd:bComp  </bpel:from>
>>                <bpel:to> $addRequestIn.parameters/b  </bpel:to>
>>            </bpel:copy>
>>
>>           
>>        </bpel:assign>
>>
>>        <bpel:invoke partnerLink="addPLT_PL" name="addInvoke"
>>            suppressJoinFailure="yes" operation="add"
> portType="wsdl2:AddPortType"
>>            inputVariable="addRequestIn" outputVariable="addResponseOut" />
>>
>>        <bpel:assign validate="no" name="InverseAssign"
>>            suppressJoinFailure="yes">
>>            <bpel:copy keepSrcElementName="no" ignoreMissingFromData="no">
>>                <bpel:from> $addResponseOut.parameters/return  </bpel:from>
>>                <bpel:to> $InverseSignRequestIn.parameters/a  </bpel:to>
>>            </bpel:copy>
>>        </bpel:assign>
>>
>>        <bpel:invoke partnerLink="InversePLT_PL"
> portType="wsdl3:InversePortType"
>>            operation="InverseSign" name="InverseInvoke"
> suppressJoinFailure="yes"
>>            inputVariable="InverseSignRequestIn"
> outputVariable="InverseSignResponseOut" />
>>
>>        <bpel:assign validate="no" name="InverseAssign2"
>>            suppressJoinFailure="yes">
>>            <bpel:copy>
>>                <bpel:from>
>>                    <bpel:literal xml:space="preserve">
>>                       
>>                              <returnComp></returnComp>
>>                        </p:InverseSignResponse>
>>                    </bpel:literal>
>>                </bpel:from>
>>                <bpel:to variable="output" part="parameters"></bpel:to>
>>            </bpel:copy>
>>            <bpel:copy keepSrcElementName="no" ignoreMissingFromData="no">
>>                <bpel:from> $InverseSignResponseOut.parameters/return 
> </bpel:from>
>>                <bpel:to> $output.parameters/xsd:returnComp  </bpel:to>
>>            </bpel:copy>
>>           
>>        </bpel:assign>
>>
>>        <bpel:reply name="replyOutput" partnerLink="test123WsdlPLT"
>>            operation="test123WsdlOPT" portType="tns:test123WsdlPT"
> variable="output" />
>>
>>    </bpel:sequence>
>> </bpel:process>
>>
>>
>>
>>
>>
>>
>>
>> 
>> ----
>> AL
>>
>>
>>
>>
>> ________________________________
>> From: Adnan <adnust@yahoo.com <ma...@yahoo.com>>
>> To: Apache ODE Forum <user@ode.apache.org <ma...@ode.apache.org>>
>> Sent: Fri, 21 May, 2010 17:34:35
>> Subject: Continously getting selectionFailure, help
>>
>>
>> Hi.
>>
>> I think i have initialized the all variables and using document
> literal binding. I have a separate schema file that uses another schema
> file, which contains the types. I am pasting my process here. Will
> appreciate the reply.
>>
>> I am getting the following reply from there server.
>>
>> 
>>   
> soapenv:Server'>http://schemas.xmlsoap.org/soap/envelope/">soapenv:Server 
>>    <faultstring>axis2ns2:selectionFailure</faultstring> 
>>    <detail/>
>> </SOAP-ENV:Fault>
>>
>> 
>> thank you.
>>
>> ----
>> AL
>>
>>
>>     
> 
> -- 
> Tammo van Lessen - http://www.taval.de
> 

-- 
Tammo van Lessen - http://www.taval.de

Re: getting Message exchange failure , help

Posted by Adnan <ad...@yahoo.com>.
thank you.

If you don't mind would please look into the following error as well... I got this after fixing the previous. 
When I send the soap request I am getting 3 similar responses... seems to be of endpoint but could not sort out... 

58:53-DEBUG [MyRoleMessageExchangeImpl] Received myrole mex response callback
58:53-WARN  [ODEService] MEX produced a fault {MyRoleMex#hqejbhcnphr5anefnsakft [Client hqejbhcnphr5anefnsakfs] calling {http://test123Proc}test123Wsdl.test123WsdlOPT(...)}
org.apache.ode.axis2.OdeFault: Message exchange failure due to: Error sending message to Axis2 for ODE mex {PartnerRoleMex#hqejbhcnphr5anefnsakfw [PID {http://test123Proc}test123Proc-18] calling null.addOperation(...)}
    at org.apache.ode.axis2.util.SoapMessageConverter.createOdeFault(SoapMessageConverter.java:570)
    ......

03:57-DEBUG [MyRoleMessageExchangeImpl] Received myrole mex response callback
03:57-WARN  [ODEService] MEX produced a fault {MyRoleMex#hqejbhcnphr5anefnsakg1 [Client hqejbhcnphr5anefnsakg0] calling {http://test123Proc}test123Wsdl.test123WsdlOPT(...)}
org.apache.ode.axis2.OdeFault: Message exchange failure due to: Error sending message (mex={PartnerRoleMex#hqejbhcnphr5anefnsakg4 [PID {http://test123Proc}test123Proc-18] calling org.apache.ode.bpel.epr.WSAEndpoint@3bf32230.addOperation(...)}): The host did not accept the connection within timeout of 60000 ms
    at org.apache.ode.axis2.util.SoapMessageConverter.createOdeFault(SoapMessageConverter.java:570)
    ......

58:15-DEBUG [MyRoleMessageExchangeImpl] Received myrole mex response callback
58:15-WARN  [ODEService] MEX produced a fault {MyRoleMex#hqejbhcnphr5anefnsakfl [Client hqejbhcnphr5anefnsakfk] calling {http://test123Proc}test123Wsdl.test123WsdlOPT(...)}
org.apache.ode.axis2.OdeFault: Message exchange failure due to: Error sending message (mex={PartnerRoleMex#hqejbhcnphr5anefnsakfo [PID {http://test123Proc}test123Proc-18] calling org.apache.ode.bpel.epr.WSAEndpoint@7aa68180.addOperation(...)}): No route to host
    at org.apache.ode.axis2.util.SoapMessageConverter.createOdeFault(SoapMessageConverter.java:570)
    .....
58:53-DEBUG [MessageExchangeImpl] SET MEX property invokeCheckJobId = hqejbhcnphr5anefnsakfx
58:53-ERROR [ExternalService] Error sending message to Axis2 for ODE mex {PartnerRoleMex#hqejbhcnphr5anefnsakfw [PID {http://test123Proc}test123Proc-18] calling null.addOperation(...)}
org.apache.axis2.AxisFault: Two services cannot have same name.  A service with the axis_service_for_{http://add.soco}Add#AddHttpSoap11Endpoint_hqejbhcnphr5anefnsakfb name already exists in the system.
    at org.apache.axis2.client.ServiceClient.configureServiceClient(ServiceClient.java:172)
    .....

any idea... 
thx


----
AL




________________________________
From: Tammo van Lessen <tv...@gmail.com>
To: user@ode.apache.org
Sent: Fri, 21 May, 2010 18:23:47
Subject: Re: Continously getting selectionFailure, help

Hi,

looks like your overriding the "input" variable with

>                 <bpel:from>
>                     <bpel:literal xml:space="preserve">
>
>
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
>                           <aComp />
>                           <bComp />
>                         </p:add>
>                     </bpel:literal>
>                 </bpel:from>
>                 <bpel:to part="parameters" variable="input"/>

and later you are trying to access

>                 <bpel:from> $input.parameters/xsd:aComp  </bpel:from>

If the 'xsd' namespace is not equal to the default name space, this is
most likely causing the selectionFailure. If not, please check the
logfiles. They should contain line number information where the
selection failure happens. If not, please increase the loglevel to debug.

HTH,
  Tammo


On 21.05.2010 17:37, Adnan wrote:
> Sorry did not attach. The process
> ------------
> 
>     suppressJoinFailure="yes" xmlns:tns="http://test123Proc"
>     xmlns:bpel="http://docs.oasis-open.org/wsbpel/2.0/process/executable"
>     xmlns:wsdl2="http://add.soco" xmlns:wsdl3="http://inv.soco" xmlns:xsd="http://test123Sch/" >
> 
>    
>         importType="http://schemas.xmlsoap.org/wsdl/" />
>    
>         importType="http://schemas.xmlsoap.org/wsdl/" />
>     <bpel:import location="test123ProcArtifacts.wsdl"
>         namespace="http://test123Proc" importType="http://schemas.xmlsoap.org/wsdl/" />
> 
>     <bpel:partnerLinks>
>         <!-- The 'client' role represents the requester of this service. -->
>         <bpel:partnerLink name="test123WsdlPLT"
>             partnerLinkType="tns:test123Proc" myRole="test123ProcRole" />
>         <bpel:partnerLink name="InversePLT_PL"
>             partnerLinkType="tns:InversePLT" partnerRole="InverseRole" />
>         <bpel:partnerLink name="addPLT_PL" partnerLinkType="tns:addPLT"
>             partnerRole="addRole" />
>     </bpel:partnerLinks>
> 
>     <bpel:variables>
>         <!-- Reference to the message passed as input during initiation -->
>         <bpel:variable name="input" messageType="tns:test123WsdlInput_" />
>         <bpel:variable name="output" messageType="tns:test123WsdlOutput_" />
>         <bpel:variable name="addRequestIn" messageType="wsdl2:addRequest" />
>         <bpel:variable name="addResponseOut" messageType="wsdl2:addResponse" />
>         <bpel:variable name="InverseSignRequestIn" messageType="wsdl3:InverseSignRequest" />
>         <bpel:variable name="InverseSignResponseOut"
>             messageType="wsdl3:InverseSignResponse" />
>     </bpel:variables>
> 
>     <bpel:sequence name="main">
> 
>         <!--
>             Receive input from requester. Note: This maps to operation defined in
>             test123Proc.wsdl
>         -->
>         <bpel:receive name="receiveInput" partnerLink="test123WsdlPLT"
>             portType="tns:test123WsdlPT" createInstance="yes" operation="test123WsdlOPT"
>             variable="input" />
> 
>         <!-- Generate reply to synchronous request -->
>         <bpel:assign validate="no" name="addAssign">
> 
>             <bpel:copy>
>                
>                 <bpel:from>
>                     <bpel:literal xml:space="preserve">
>                        
>                         xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
>                           <aComp />
>                           <bComp />
>                         </p:add>
>                     </bpel:literal>
>                 </bpel:from>
>                 <bpel:to part="parameters" variable="input"/>
>                
>             </bpel:copy>
>             <bpel:copy>
>                 <bpel:from>
>                     <bpel:literal xml:space="preserve"><ns:addResponse
>                         xmlns:ns="http://add.soco" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" />
> 
>                     </bpel:literal>
>                 </bpel:from>
>                 <bpel:to part="parameters" variable="addResponseOut"/>
>             </bpel:copy>
>            
>             <bpel:copy>
>                 <bpel:from>
>                     <bpel:literal xml:space="preserve"><ns:InverseSignResponse
>                         xmlns:ns="http://inv.soco" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" />
> 
>                     </bpel:literal>
>                 </bpel:from>
>                 <bpel:to variable="InverseSignResponseOut" part="parameters" />
>             </bpel:copy>
>            
>            
>             <bpel:copy>
>                 <bpel:from>
>                     <bpel:literal xml:space="preserve"><ns:InverseSign
>                         xmlns:ns="http://inv.soco" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" />
> 
>                     </bpel:literal>
>                 </bpel:from>
>                 <bpel:to variable="InverseSignRequestIn" part="parameters" />
>             </bpel:copy>
>            
>             <bpel:copy>
>                 <bpel:from>
>                     <bpel:literal xml:space="preserve">
>                    
>                         xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" />
> 
>                     </bpel:literal>
>                 </bpel:from>
>                 <bpel:to part="parameters" variable="addRequestIn" />
>             </bpel:copy>
>            
>             <bpel:copy keepSrcElementName="no" ignoreMissingFromData="no">
>                 <bpel:from> $input.parameters/xsd:aComp  </bpel:from>
>                 <bpel:to> $addRequestIn.parameters/a  </bpel:to>
>             </bpel:copy>
>             <bpel:copy keepSrcElementName="no" ignoreMissingFromData="no">
>                 <bpel:from> $input.parameters/xsd:bComp  </bpel:from>
>                 <bpel:to> $addRequestIn.parameters/b  </bpel:to>
>             </bpel:copy>
> 
>            
>         </bpel:assign>
> 
>         <bpel:invoke partnerLink="addPLT_PL" name="addInvoke"
>             suppressJoinFailure="yes" operation="add" portType="wsdl2:AddPortType"
>             inputVariable="addRequestIn" outputVariable="addResponseOut" />
> 
>         <bpel:assign validate="no" name="InverseAssign"
>             suppressJoinFailure="yes">
>             <bpel:copy keepSrcElementName="no" ignoreMissingFromData="no">
>                 <bpel:from> $addResponseOut.parameters/return  </bpel:from>
>                 <bpel:to> $InverseSignRequestIn.parameters/a  </bpel:to>
>             </bpel:copy>
>         </bpel:assign>
> 
>         <bpel:invoke partnerLink="InversePLT_PL" portType="wsdl3:InversePortType"
>             operation="InverseSign" name="InverseInvoke" suppressJoinFailure="yes"
>             inputVariable="InverseSignRequestIn" outputVariable="InverseSignResponseOut" />
> 
>         <bpel:assign validate="no" name="InverseAssign2"
>             suppressJoinFailure="yes">
>             <bpel:copy>
>                 <bpel:from>
>                     <bpel:literal xml:space="preserve">
>                        
>                               <returnComp></returnComp>
>                         </p:InverseSignResponse>
>                     </bpel:literal>
>                 </bpel:from>
>                 <bpel:to variable="output" part="parameters"></bpel:to>
>             </bpel:copy>
>             <bpel:copy keepSrcElementName="no" ignoreMissingFromData="no">
>                 <bpel:from> $InverseSignResponseOut.parameters/return  </bpel:from>
>                 <bpel:to> $output.parameters/xsd:returnComp  </bpel:to>
>             </bpel:copy>
>            
>         </bpel:assign>
> 
>         <bpel:reply name="replyOutput" partnerLink="test123WsdlPLT"
>             operation="test123WsdlOPT" portType="tns:test123WsdlPT" variable="output" />
> 
>     </bpel:sequence>
> </bpel:process>
> 
> 
> 
> 
> 
> 
> 
>  
> ----
> AL
> 
> 
> 
> 
> ________________________________
> From: Adnan <ad...@yahoo.com>
> To: Apache ODE Forum <us...@ode.apache.org>
> Sent: Fri, 21 May, 2010 17:34:35
> Subject: Continously getting selectionFailure, help
> 
> 
> Hi.
> 
> I think i have initialized the all variables and using document literal binding. I have a separate schema file that uses another schema file, which contains the types. I am pasting my process here. Will appreciate the reply. 
> 
> I am getting the following reply from there server.
> 
>  
>     soapenv:Server'>http://schemas.xmlsoap.org/soap/envelope/">soapenv:Server  
>     <faultstring>axis2ns2:selectionFailure</faultstring>  
>     <detail/> 
> </SOAP-ENV:Fault>
> 
>  
> thank you.
> 
> ----
> AL
> 
> 
>      

-- 
Tammo van Lessen - http://www.taval.de



      

Re: Continously getting selectionFailure, help

Posted by Tammo van Lessen <tv...@gmail.com>.
Hi,

looks like your overriding the "input" variable with

>                 <bpel:from>
>                     <bpel:literal xml:space="preserve">
>
>
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
>                           <aComp />
>                           <bComp />
>                         </p:add>
>                     </bpel:literal>
>                 </bpel:from>
>                 <bpel:to part="parameters" variable="input"/>

and later you are trying to access

>                 <bpel:from> $input.parameters/xsd:aComp  </bpel:from>

If the 'xsd' namespace is not equal to the default name space, this is
most likely causing the selectionFailure. If not, please check the
logfiles. They should contain line number information where the
selection failure happens. If not, please increase the loglevel to debug.

HTH,
  Tammo


On 21.05.2010 17:37, Adnan wrote:
> Sorry did not attach. The process
> ------------
> 
>     suppressJoinFailure="yes" xmlns:tns="http://test123Proc"
>     xmlns:bpel="http://docs.oasis-open.org/wsbpel/2.0/process/executable"
>     xmlns:wsdl2="http://add.soco" xmlns:wsdl3="http://inv.soco" xmlns:xsd="http://test123Sch/" >
> 
>     
>         importType="http://schemas.xmlsoap.org/wsdl/" />
>     
>         importType="http://schemas.xmlsoap.org/wsdl/" />
>     <bpel:import location="test123ProcArtifacts.wsdl"
>         namespace="http://test123Proc" importType="http://schemas.xmlsoap.org/wsdl/" />
> 
>     <bpel:partnerLinks>
>         <!-- The 'client' role represents the requester of this service. -->
>         <bpel:partnerLink name="test123WsdlPLT"
>             partnerLinkType="tns:test123Proc" myRole="test123ProcRole" />
>         <bpel:partnerLink name="InversePLT_PL"
>             partnerLinkType="tns:InversePLT" partnerRole="InverseRole" />
>         <bpel:partnerLink name="addPLT_PL" partnerLinkType="tns:addPLT"
>             partnerRole="addRole" />
>     </bpel:partnerLinks>
> 
>     <bpel:variables>
>         <!-- Reference to the message passed as input during initiation -->
>         <bpel:variable name="input" messageType="tns:test123WsdlInput_" />
>         <bpel:variable name="output" messageType="tns:test123WsdlOutput_" />
>         <bpel:variable name="addRequestIn" messageType="wsdl2:addRequest" />
>         <bpel:variable name="addResponseOut" messageType="wsdl2:addResponse" />
>         <bpel:variable name="InverseSignRequestIn" messageType="wsdl3:InverseSignRequest" />
>         <bpel:variable name="InverseSignResponseOut"
>             messageType="wsdl3:InverseSignResponse" />
>     </bpel:variables>
> 
>     <bpel:sequence name="main">
> 
>         <!--
>             Receive input from requester. Note: This maps to operation defined in
>             test123Proc.wsdl
>         -->
>         <bpel:receive name="receiveInput" partnerLink="test123WsdlPLT"
>             portType="tns:test123WsdlPT" createInstance="yes" operation="test123WsdlOPT"
>             variable="input" />
> 
>         <!-- Generate reply to synchronous request -->
>         <bpel:assign validate="no" name="addAssign">
> 
>             <bpel:copy>
>                 
>                 <bpel:from>
>                     <bpel:literal xml:space="preserve">
>                         
>                         xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
>                           <aComp />
>                           <bComp />
>                         </p:add>
>                     </bpel:literal>
>                 </bpel:from>
>                 <bpel:to part="parameters" variable="input"/>
>                 
>             </bpel:copy>
>             <bpel:copy>
>                 <bpel:from>
>                     <bpel:literal xml:space="preserve"><ns:addResponse
>                         xmlns:ns="http://add.soco" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" />
> 
>                     </bpel:literal>
>                 </bpel:from>
>                 <bpel:to part="parameters" variable="addResponseOut"/>
>             </bpel:copy>
>             
>             <bpel:copy>
>                 <bpel:from>
>                     <bpel:literal xml:space="preserve"><ns:InverseSignResponse
>                         xmlns:ns="http://inv.soco" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" />
> 
>                     </bpel:literal>
>                 </bpel:from>
>                 <bpel:to variable="InverseSignResponseOut" part="parameters" />
>             </bpel:copy>
>             
>             
>             <bpel:copy>
>                 <bpel:from>
>                     <bpel:literal xml:space="preserve"><ns:InverseSign
>                         xmlns:ns="http://inv.soco" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" />
> 
>                     </bpel:literal>
>                 </bpel:from>
>                 <bpel:to variable="InverseSignRequestIn" part="parameters" />
>             </bpel:copy>
>             
>             <bpel:copy>
>                 <bpel:from>
>                     <bpel:literal xml:space="preserve">
>                     
>                         xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" />
> 
>                     </bpel:literal>
>                 </bpel:from>
>                 <bpel:to part="parameters" variable="addRequestIn" />
>             </bpel:copy>
>             
>             <bpel:copy keepSrcElementName="no" ignoreMissingFromData="no">
>                 <bpel:from> $input.parameters/xsd:aComp  </bpel:from>
>                 <bpel:to> $addRequestIn.parameters/a  </bpel:to>
>             </bpel:copy>
>             <bpel:copy keepSrcElementName="no" ignoreMissingFromData="no">
>                 <bpel:from> $input.parameters/xsd:bComp  </bpel:from>
>                 <bpel:to> $addRequestIn.parameters/b  </bpel:to>
>             </bpel:copy>
> 
>             
>         </bpel:assign>
> 
>         <bpel:invoke partnerLink="addPLT_PL" name="addInvoke"
>             suppressJoinFailure="yes" operation="add" portType="wsdl2:AddPortType"
>             inputVariable="addRequestIn" outputVariable="addResponseOut" />
> 
>         <bpel:assign validate="no" name="InverseAssign"
>             suppressJoinFailure="yes">
>             <bpel:copy keepSrcElementName="no" ignoreMissingFromData="no">
>                 <bpel:from> $addResponseOut.parameters/return  </bpel:from>
>                 <bpel:to> $InverseSignRequestIn.parameters/a  </bpel:to>
>             </bpel:copy>
>         </bpel:assign>
> 
>         <bpel:invoke partnerLink="InversePLT_PL" portType="wsdl3:InversePortType"
>             operation="InverseSign" name="InverseInvoke" suppressJoinFailure="yes"
>             inputVariable="InverseSignRequestIn" outputVariable="InverseSignResponseOut" />
> 
>         <bpel:assign validate="no" name="InverseAssign2"
>             suppressJoinFailure="yes">
>             <bpel:copy>
>                 <bpel:from>
>                     <bpel:literal xml:space="preserve">
>                         
>                               <returnComp></returnComp>
>                         </p:InverseSignResponse>
>                     </bpel:literal>
>                 </bpel:from>
>                 <bpel:to variable="output" part="parameters"></bpel:to>
>             </bpel:copy>
>             <bpel:copy keepSrcElementName="no" ignoreMissingFromData="no">
>                 <bpel:from> $InverseSignResponseOut.parameters/return  </bpel:from>
>                 <bpel:to> $output.parameters/xsd:returnComp  </bpel:to>
>             </bpel:copy>
>             
>         </bpel:assign>
> 
>         <bpel:reply name="replyOutput" partnerLink="test123WsdlPLT"
>             operation="test123WsdlOPT" portType="tns:test123WsdlPT" variable="output" />
> 
>     </bpel:sequence>
> </bpel:process>
> 
> 
> 
> 
> 
> 
> 
>  
> ----
> AL
> 
> 
> 
> 
> ________________________________
> From: Adnan <ad...@yahoo.com>
> To: Apache ODE Forum <us...@ode.apache.org>
> Sent: Fri, 21 May, 2010 17:34:35
> Subject: Continously getting selectionFailure, help
> 
> 
> Hi.
> 
> I think i have initialized the all variables and using document literal binding. I have a separate schema file that uses another schema file, which contains the types. I am pasting my process here. Will appreciate the reply. 
> 
> I am getting the following reply from there server.
> 
>   
>     soapenv:Server'>http://schemas.xmlsoap.org/soap/envelope/">soapenv:Server   
>     <faultstring>axis2ns2:selectionFailure</faultstring>  
>     <detail/> 
> </SOAP-ENV:Fault>
> 
>  
> thank you.
> 
> ----
> AL
> 
> 
>       

-- 
Tammo van Lessen - http://www.taval.de

Re: Continously getting selectionFailure, help

Posted by Adnan <ad...@yahoo.com>.
Sorry did not attach. The process
------------

    suppressJoinFailure="yes" xmlns:tns="http://test123Proc"
    xmlns:bpel="http://docs.oasis-open.org/wsbpel/2.0/process/executable"
    xmlns:wsdl2="http://add.soco" xmlns:wsdl3="http://inv.soco" xmlns:xsd="http://test123Sch/" >

    
        importType="http://schemas.xmlsoap.org/wsdl/" />
    
        importType="http://schemas.xmlsoap.org/wsdl/" />
    <bpel:import location="test123ProcArtifacts.wsdl"
        namespace="http://test123Proc" importType="http://schemas.xmlsoap.org/wsdl/" />

    <bpel:partnerLinks>
        <!-- The 'client' role represents the requester of this service. -->
        <bpel:partnerLink name="test123WsdlPLT"
            partnerLinkType="tns:test123Proc" myRole="test123ProcRole" />
        <bpel:partnerLink name="InversePLT_PL"
            partnerLinkType="tns:InversePLT" partnerRole="InverseRole" />
        <bpel:partnerLink name="addPLT_PL" partnerLinkType="tns:addPLT"
            partnerRole="addRole" />
    </bpel:partnerLinks>

    <bpel:variables>
        <!-- Reference to the message passed as input during initiation -->
        <bpel:variable name="input" messageType="tns:test123WsdlInput_" />
        <bpel:variable name="output" messageType="tns:test123WsdlOutput_" />
        <bpel:variable name="addRequestIn" messageType="wsdl2:addRequest" />
        <bpel:variable name="addResponseOut" messageType="wsdl2:addResponse" />
        <bpel:variable name="InverseSignRequestIn" messageType="wsdl3:InverseSignRequest" />
        <bpel:variable name="InverseSignResponseOut"
            messageType="wsdl3:InverseSignResponse" />
    </bpel:variables>

    <bpel:sequence name="main">

        <!--
            Receive input from requester. Note: This maps to operation defined in
            test123Proc.wsdl
        -->
        <bpel:receive name="receiveInput" partnerLink="test123WsdlPLT"
            portType="tns:test123WsdlPT" createInstance="yes" operation="test123WsdlOPT"
            variable="input" />

        <!-- Generate reply to synchronous request -->
        <bpel:assign validate="no" name="addAssign">

            <bpel:copy>
                
                <bpel:from>
                    <bpel:literal xml:space="preserve">
                        
                        xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
                          <aComp />
                          <bComp />
                        </p:add>
                    </bpel:literal>
                </bpel:from>
                <bpel:to part="parameters" variable="input"/>
                
            </bpel:copy>
            <bpel:copy>
                <bpel:from>
                    <bpel:literal xml:space="preserve"><ns:addResponse
                        xmlns:ns="http://add.soco" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" />

                    </bpel:literal>
                </bpel:from>
                <bpel:to part="parameters" variable="addResponseOut"/>
            </bpel:copy>
            
            <bpel:copy>
                <bpel:from>
                    <bpel:literal xml:space="preserve"><ns:InverseSignResponse
                        xmlns:ns="http://inv.soco" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" />

                    </bpel:literal>
                </bpel:from>
                <bpel:to variable="InverseSignResponseOut" part="parameters" />
            </bpel:copy>
            
            
            <bpel:copy>
                <bpel:from>
                    <bpel:literal xml:space="preserve"><ns:InverseSign
                        xmlns:ns="http://inv.soco" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" />

                    </bpel:literal>
                </bpel:from>
                <bpel:to variable="InverseSignRequestIn" part="parameters" />
            </bpel:copy>
            
            <bpel:copy>
                <bpel:from>
                    <bpel:literal xml:space="preserve">
                    
                        xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" />

                    </bpel:literal>
                </bpel:from>
                <bpel:to part="parameters" variable="addRequestIn" />
            </bpel:copy>
            
            <bpel:copy keepSrcElementName="no" ignoreMissingFromData="no">
                <bpel:from> $input.parameters/xsd:aComp  </bpel:from>
                <bpel:to> $addRequestIn.parameters/a  </bpel:to>
            </bpel:copy>
            <bpel:copy keepSrcElementName="no" ignoreMissingFromData="no">
                <bpel:from> $input.parameters/xsd:bComp  </bpel:from>
                <bpel:to> $addRequestIn.parameters/b  </bpel:to>
            </bpel:copy>

            
        </bpel:assign>

        <bpel:invoke partnerLink="addPLT_PL" name="addInvoke"
            suppressJoinFailure="yes" operation="add" portType="wsdl2:AddPortType"
            inputVariable="addRequestIn" outputVariable="addResponseOut" />

        <bpel:assign validate="no" name="InverseAssign"
            suppressJoinFailure="yes">
            <bpel:copy keepSrcElementName="no" ignoreMissingFromData="no">
                <bpel:from> $addResponseOut.parameters/return  </bpel:from>
                <bpel:to> $InverseSignRequestIn.parameters/a  </bpel:to>
            </bpel:copy>
        </bpel:assign>

        <bpel:invoke partnerLink="InversePLT_PL" portType="wsdl3:InversePortType"
            operation="InverseSign" name="InverseInvoke" suppressJoinFailure="yes"
            inputVariable="InverseSignRequestIn" outputVariable="InverseSignResponseOut" />

        <bpel:assign validate="no" name="InverseAssign2"
            suppressJoinFailure="yes">
            <bpel:copy>
                <bpel:from>
                    <bpel:literal xml:space="preserve">
                        
                              <returnComp></returnComp>
                        </p:InverseSignResponse>
                    </bpel:literal>
                </bpel:from>
                <bpel:to variable="output" part="parameters"></bpel:to>
            </bpel:copy>
            <bpel:copy keepSrcElementName="no" ignoreMissingFromData="no">
                <bpel:from> $InverseSignResponseOut.parameters/return  </bpel:from>
                <bpel:to> $output.parameters/xsd:returnComp  </bpel:to>
            </bpel:copy>
            
        </bpel:assign>

        <bpel:reply name="replyOutput" partnerLink="test123WsdlPLT"
            operation="test123WsdlOPT" portType="tns:test123WsdlPT" variable="output" />

    </bpel:sequence>
</bpel:process>







 
----
AL




________________________________
From: Adnan <ad...@yahoo.com>
To: Apache ODE Forum <us...@ode.apache.org>
Sent: Fri, 21 May, 2010 17:34:35
Subject: Continously getting selectionFailure, help


Hi.

I think i have initialized the all variables and using document literal binding. I have a separate schema file that uses another schema file, which contains the types. I am pasting my process here. Will appreciate the reply. 

I am getting the following reply from there server.

  
    soapenv:Server'>http://schemas.xmlsoap.org/soap/envelope/">soapenv:Server   
    <faultstring>axis2ns2:selectionFailure</faultstring>  
    <detail/> 
</SOAP-ENV:Fault>

 
thank you.

----
AL