[ 
https://wso2.org/jira/browse/ESBJAVA-538?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Ruwan Linton resolved ESBJAVA-538.
----------------------------------

    Fix Version/s: 2.1
       Resolution: Fixed

Fixed in the trunk and will be available for the 2.1 release

> The new filter configuration with 'then' and 'if' tags is not functioning 
> properly
> ----------------------------------------------------------------------------------
>
>                 Key: ESBJAVA-538
>                 URL: https://wso2.org/jira/browse/ESBJAVA-538
>             Project: WSO2 ESB
>          Issue Type: Bug
>          Components: Administration Console
>    Affects Versions: 1.7
>         Environment: Windows XP, JDK1.5.0_14, Firefox 2.0.0.15
>            Reporter: Evanthika Amarasiri
>            Assignee: Ruwan Linton
>             Fix For: 2.1
>
>
> 1. Created the following configuration through the admin UI.
>    <syn:sequence statistics="enable" name="sample_1">
>         <syn:filter xmlns:ns1="http://org.apache.synapse/xsd"; 
> xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/"; 
> source="get-property('To')" regex=".*/StockQuote.*">
>             <syn:then>
>                 <syn:send>
>                     <syn:endpoint>
>                         <syn:address 
> uri="http://localhost:9000/soap/SimpleStockQuoteService"/>
>                     </syn:endpoint>
>                 </syn:send>
>             </syn:then>
>             <syn:else/>
>         </syn:filter>
>         <syn:send/>
>     </syn:sequence>
> 2. Executed the client using the command "ant stockquote 
> -Dtrpurl=http://localhost:8280/soap/StockQuote";
> 3. Received the following exception on the console
> ****************************************************************************************************************************************************************************************************************
> 2008-07-03 13:36:05,875 [10.201.144.150-evanthika] [HttpServerWorker-6] DEBUG 
> Axis2FlexibleMEPClient Sending [add = false] [sec = false] [rm = false] [to 
> Address: /soap/StockQuote]
> 2008-07-03 13:36:05,875 [10.201.144.150-evanthika] [HttpServerWorker-6] ERROR 
> ClientUtils The system cannot infer the transport information from the 
> /soap/StockQuote URL.
> 2008-07-03 13:36:05,875 [10.201.144.150-evanthika] [HttpServerWorker-6] ERROR 
> Axis2Sender Unexpected error during sending message out
> org.apache.axis2.AxisFault: The system cannot infer the transport information 
> from the /soap/StockQuote URL.
>         at 
> org.apache.axis2.description.ClientUtils.inferOutTransport(ClientUtils.java:82)
>         at 
> org.apache.synapse.core.axis2.DynamicAxisOperation$DynamicOperationClient.executeImpl(DynamicAxisOperation.java:122)
>         at 
> org.apache.axis2.client.OperationClient.execute(OperationClient.java:163)
>         at 
> org.apache.synapse.core.axis2.Axis2FlexibleMEPClient.send(Axis2FlexibleMEPClient.java:288)
>         at 
> org.apache.synapse.core.axis2.Axis2Sender.sendOn(Axis2Sender.java:57)
>         at 
> org.apache.synapse.core.axis2.Axis2SynapseEnvironment.send(Axis2SynapseEnvironment.java:222)
>         at 
> org.apache.synapse.mediators.builtin.SendMediator.mediate(SendMediator.java:154)
>         at 
> org.apache.synapse.mediators.AbstractListMediator.mediate(AbstractListMediator.java:58)
>         at 
> org.apache.synapse.mediators.base.SequenceMediator.mediate(SequenceMediator.java:125)
>         at 
> org.apache.synapse.mediators.base.SequenceMediator.mediate(SequenceMediator.java:174)
>         at 
> org.apache.synapse.mediators.AbstractListMediator.mediate(AbstractListMediator.java:58)
>         at 
> org.apache.synapse.mediators.base.SequenceMediator.mediate(SequenceMediator.java:125)
>         at 
> org.apache.synapse.core.axis2.Axis2SynapseEnvironment.injectMessage(Axis2SynapseEnvironment.java:176)
>         at 
> org.apache.synapse.core.axis2.SynapseMessageReceiver.receive(SynapseMessageReceiver.java:89)
>         at org.apache.axis2.engine.AxisEngine.receive(AxisEngine.java:176)
>         at 
> org.apache.axis2.transport.http.HTTPTransportUtils.processHTTPPostRequest(HTTPTransportUtils.java:275)
>         at 
> org.apache.synapse.transport.nhttp.ServerWorker.processPost(ServerWorker.java:253)
>         at 
> org.apache.synapse.transport.nhttp.ServerWorker.run(ServerWorker.java:194)
>         at java.util.concurrent.ThreadPoolExecutor$Worker.runTask(Unknown 
> Source)
>         at java.util.concurrent.ThreadPoolExecutor$Worker.run(Unknown Source)
>         at java.lang.Thread.run(Unknown Source)

-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: 
https://wso2.org/jira/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

_______________________________________________
Esb-java-dev mailing list
[email protected]
https://wso2.org/cgi-bin/mailman/listinfo/esb-java-dev

Reply via email to