Author: asankha
Date: Wed May 9 08:39:14 2007
New Revision: 536569
URL: http://svn.apache.org/viewvc?view=rev&rev=536569
Log:
we should simply skip an attempt to serialize a REMOTE_ENTRY as it only exists
in the runtime configuration and not the serialized configuration
Modified:
webservices/synapse/trunk/java/modules/core/src/main/java/org/apache/synapse/config/xml/EntrySerializer.java
Modified:
webservices/synapse/trunk/java/modules/core/src/main/java/org/apache/synapse/config/xml/EntrySerializer.java
URL:
http://svn.apache.org/viewvc/webservices/synapse/trunk/java/modules/core/src/main/java/org/apache/synapse/config/xml/EntrySerializer.java?view=diff&rev=536569&r1=536568&r2=536569
==============================================================================
---
webservices/synapse/trunk/java/modules/core/src/main/java/org/apache/synapse/config/xml/EntrySerializer.java
(original)
+++
webservices/synapse/trunk/java/modules/core/src/main/java/org/apache/synapse/config/xml/EntrySerializer.java
Wed May 9 08:39:14 2007
@@ -69,6 +69,9 @@
textData.setType(XMLStreamConstants.CDATA);
propertyElement.addChild(textData);
}
+ } else if (type == Entry.REMOTE_ENTRY) {
+ // nothing to serialize
+ return null;
} else {
handleException("Entry type undefined");
}
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]