Hi Jeff,
Remove, <property action="set" name="OUT_ONLY" value="true"/>
(This line says there will be no response expected.)
Upul
On Thu, Nov 13, 2008 at 3:48 AM, Jeff Davis <[EMAIL PROTECTED]> wrote:
> Hi,
>
> I've got a pretty simple proxy definition whereby I just want to capture
> the
> inbound request, write it to a file, and return back with a canned
> response.
> The writing to a file works fine, but the response never comes back, and it
> seems to just hang, with no reply coming back to the client. It doesn't
> appear as though the outSequence is never invoked. I'm sure it's something
> stupid on my part, but I can't see to spot what it is. Here's the proxy
> definition:
>
> <proxy name="Tester" transports="http, https" trace="enable">
> <target>
> <inSequence>
> <property action="set" name="OUT_ONLY" value="true"/>
> <log level="custom">
> <property name="Text" value="In Tester InSequence"/>
> </log>
> <log level="full"/>
>
> <property name="transport.vfs.ReplyFileName"
>
> expression="fn:concat(fn:substring-after(get-property('MessageID'),
> 'urn:uuid:'), '.xml')" scope="transport"/>
>
> <send>
> <endpoint>
> <address uri="vfs:file:///tmp"/>
> </endpoint>
> </send>
> </inSequence>
>
> <outSequence>
> <!-- this printout never occurs -->
> <log level="custom">
> <property name="Text" value="In OutSequence"/>
> </log>
>
> <property name="RESPONSE" value="true"/>
> <script language="js">
> <![CDATA[
> mc.setPayloadXML(
> <status:SuccessStatus
> xmlns:status="urn:types:ws:hr:test:com">SUCCESS</status:SuccessStatus>);
> ]]>
> </script>
> <send/>
> </outSequence>
>
> </target>
> </proxy>
>
> Any help would be most appreciated.
>
> jeff
>