Hi Cylus,

How big is your response XML?

Indika (one of the synapse developers) has done some work related to this on
doing transformations while streaming the message, not quite sure where that
code is though. Indika?

Also, these sort of requirements can be handled by Smooks a transformation
library which can be converted to a mediator. To answer question on adding
logic to endpoint to process the response, it is not possible, becuase of
the asynchronous behavior of the synapse engine. When you call endpoint.send
the method returns before getting the response, actually even before the
message sending being completed.

Thanks,
Ruwan

On Fri, Aug 6, 2010 at 4:43 AM, Penkar, Cylus <[email protected]> wrote:

> Folks,
>
> We have a need to further process the response returned by a SOAP service
> to do some transformation on it. XSLT mediator will not work IMHO because
> the response is huge and correct me if I am wrong but it will definitely
> slow down processing.
>
> 1)      Is there a way to get access to XML stream processing?
> 2)      Can we insert logic in the endpoint to transform the response as
> the response stream is being read?
>
> Thanks,
> Cylus
>
>


-- 
Ruwan Linton
Software Architect & Product Manager, WSO2 ESB; http://wso2.org/esb
WSO2 Inc.; http://wso2.org

Lean . Enterprise . Middleware

phone: +1 408 754 7388 ext 51789
email: [email protected]; cell: +94 77 341 3097
blog: http://blog.ruwan.org
linkedin: http://www.linkedin.com/in/ruwanlinton
google: http://www.google.com/profiles/ruwan.linton
tweet: http://twitter.com/ruwanlinton

Reply via email to