Details
-
Bug
-
Status: Closed
-
Major
-
Resolution: Fixed
-
1.1-QA-B1
-
None
-
Ubuntu 7.04, JDK1.5.0_12
Description
1. When executing the following configuration ( with "default" tag commented out ) , got a message saying "Will not evaluate the value of the remote entry, because the registry is not available"
Configuration
===========
<definitions xmlns="http://ws.apache.org/ns/synapse">
<switch source="//m0:getQuote/m0:request/m0:symbol" xmlns:m0="http://services.samples/xsd">
<case regex="IBM">
<property name="symbol" value="Great stock - IBM"/>
</case>
<case regex="MSFT">
<property name="symbol" value="Are you sure? - MSFT"/>
</case>
<case regex="SUN">
<property name="symbol" value="Is this a good stock brand? - SUN"/>
</case>
<!--default>
<property name="symbol"
expression="fn:concat('Normal Stock - ', //m0:getQuote/m0:request/m0:symbol)"
xmlns:m0="http://services.samples/xsd"/>
</default-->
</switch>
<log level="custom">
<property name="symbol" expression="get-property('symbol')"/>
<property name="epr" expression="get-property('To')"/>
</log>
<send/>
</definitions>
Following is the log at the time the client was invoked
[HttpServerWorker-2] DEBUG LogMediator Start : Log mediator
[HttpServerWorker-2] DEBUG SynapseConfiguration Will not evaluate the value of the remote entry, because the registry is not available
[HttpServerWorker-2] INFO LogMediator symbol = null, epr = http://10.100.1.228:9001/soap/SimpleStockQuoteService
[HttpServerWorker-2] DEBUG LogMediator End : Log mediator