I've just created a proxy service which receives a given xml files, splits it and writes the different parts to disk. For each part, a unique file name should be created:
<?xml version="1.0" encoding="UTF-8"?> <proxy xmlns="http://ws.apache.org/ns/synapse" name="splitMessageProxy" transports="http" startOnLoad="true" trace="disable"> <target faultSequence="fault"> <inSequence> <property name="FORCE_SC_ACCEPTED" value="true" scope="axis2"/> <property name="OUT_ONLY" value="true" scope="default"/> <iterate xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/" expression="//dieren/huisdier"> <target endpoint="conf:/repository/synapse/default/endpoints/fileshareEndpointND V"> <sequence> <property name="transport.vfs.ReplyFileName" expression="fn:concat(get-property('SYSTEM_DATE','yyMMddHHmmssSSS'),&quo t;_response.xml")" scope="transport"/> </sequence> </target> </iterate> </inSequence> </target> </proxy> Apparently the splitting works fine, but the generated file names are never unique. Is there somewhere a property or something else available which can be used to generate a unique filename (instead of the default response.xml) ? ----------------------------------------- Visit our website! http://www.nbb.be "DISCLAIMER: The content of this e-mail message should not be construed as binding on the part of the National Bank of Belgium (NBB) unless otherwise and previously stated. The opinions expressed in this message are solely those of the author and do not necessarily reflect NBB viewpoints, particularly when the content of this message, or part thereof, is private by nature or does not fall within the professional scope of its author."
