Hi Lukasz,

> Here's how ContentEnricher works on SM EIP:
> actually it is similar to pipeline but the response from transformation
> service is concatenated with the original request like:
> <root><orinalRequest>originalMessageContent</originalRequest><tranformerResponse>transformerResponse</transformerResponse>
> </root>
> (you can customize this tag by CE properties).
> Most propably you'll need to do XSLT after that (so CE alone rarely gives
> you all what you want).
>   
Yes, concatenation is not what i need.
> As for the token service you don't need to write a bean to call it. The
> easiest way to call external service is to use CXF Provider (or HTTP
> provider if you don't use SOAP).
>   
Yes, of  course. My Question was how would i insert the response from
the token service invokation into the invokation of the actual service.
In theory this should be done
via the content enrichment pattern. Or in bpel i would assign the
repsonse to a temp variable and use this in the following invokation.
How can i do this in a smx way?

cheers, Johannes
> regards
> Lukasz
>
>
> JMan_JE wrote:
>   
>> Hi,
>>
>> I need to enrich a message sent to a web service with a security token.
>> This token is obtained by calling another webservice first.
>> So, in theory i have to enrich the actual message with the token, but
>> how can i do that using eip (either camel or smx)? Is there an easy way?
>> I do not want to write a java bean that is responsible for calling the
>> token service or something like that. I could do it via a bpel process,
>> but that
>>  looks kind of overkill to me. So, can someone point me in the right
>> direction?
>>
>> cheers, Johannes
>>
>>
>>     
>
>   

Reply via email to