diff --git a/modules/core/src/test/java/org/apache/synapse/config/xml/endpoints/LoadBalanceEndpointSerializationTest.java b/modules/core/src/test/java/org/apache/synapse/config/xml/endpoints/LoadBalanceEndpointSerializationTest.java index 832dc532f..88ff4ae2a 100644 --- a/modules/core/src/test/java/org/apache/synapse/config/xml/endpoints/LoadBalanceEndpointSerializationTest.java +++ b/modules/core/src/test/java/org/apache/synapse/config/xml/endpoints/LoadBalanceEndpointSerializationTest.java @@ -60,17 +60,17 @@ public void testLoadBalanceEndpointScenarioOneWithParameterInjection() throws Ex "" + "" + "" + - "
" + + "
" + "" + "
" + "" + "" + - "
" + + "
" + "" + "
" + "" + "" + - "
" + + "
" + "" + "
" + "" + diff --git a/modules/core/src/test/java/org/apache/synapse/config/xml/endpoints/RecipientListEndpointSerializationTest.java b/modules/core/src/test/java/org/apache/synapse/config/xml/endpoints/RecipientListEndpointSerializationTest.java index 5d82ff044..f27c099c8 100644 --- a/modules/core/src/test/java/org/apache/synapse/config/xml/endpoints/RecipientListEndpointSerializationTest.java +++ b/modules/core/src/test/java/org/apache/synapse/config/xml/endpoints/RecipientListEndpointSerializationTest.java @@ -54,6 +54,35 @@ public void testRecipientListEndpointScenarioOne()throws Exception { assertTrue(compare(serializedOut, inputElement)); } + public void testRecipientListEndpointScenarioOneWithParameterInjection() throws Exception { + String inputXml = "" + + "" + + "" + + "
" + + "" + + "
" + + "
" + + "" + + "
" + + "" + + "
" + + "
" + + "" + + "
" + + "" + + "
" + + "
" + + "
" + + "
"; + + OMElement inputElement = createOMElement(inputXml); + Endpoint endpoint = RecipientListEndpointFactory.getEndpointFromElement( + inputElement,true,null); + OMElement serializedOut = RecipientListEndpointSerializer.getElementFromEndpoint(endpoint); + + assertTrue(compare(serializedOut, inputElement)); + } + public void testRecipientListEndpointScenarioTwo()throws Exception { String inputXml = "" + "" + diff --git a/pom.xml b/pom.xml index d1eb48472..8f1649707 100644 --- a/pom.xml +++ b/pom.xml @@ -287,9 +287,9 @@ file:src/test/resources/esbservice.wsdl esbserviceSOAP11port_http - http://localhost:9001/soap/LBService1 - http://localhost:9002/soap/LBService1 - http://localhost:9003/soap/LBService1 + http://localhost:9001/soap/LBService1 + http://localhost:9002/soap/LBService1 + http://localhost:9003/soap/LBService1 test