On 3/22/07, Lorenzo <[EMAIL PROTECTED]> wrote:
Hi all,
i have two questions:
1. I have to retrieve http message URL to build EPR url in synapse
(Client don't support wsa, so i haven't wsa:to address to use for this
purpose)
If this endpoint should be dynamically changing according to the request
then definitely client has to send the To header so that we can do a simple
<send/> in synapse to forward that message to the EPR specified by client.
If this is static or semi dynamic ( for example select EPR depending on some
criteria then you can use synapse <switch>....</switch> mediator to select
the endpoint to which the request should be forwarded to.
2. I tried to use a message with attachment but... i loose them! i use
this simple conf:
<synapse ...>
<rules>
<in>
<header name="To"
value="http://localhost:8080/testServiceAttachment"/>
<send/>
I don't have much understanding of attachments, how ever can you attach the
synapse log to understand the behavior. BTW: proper way of doing send is as
follows;
<send>
<endpoint address="http://localhost:8080/testServiceAttachment"/>
</send>
</in>
<out>
<send/>
</out>
</rules>
</synapse>
Thx for any help,
Lorenzo
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
--
Ruwan Linton
http://www.wso2.org - "Oxygenating the Web Services Platform"