How did you invoked the proxy from the task?

If you used a SOAP client to invoke the proxy as a web service you 
should get a SOAP response.
If you get the proxy from the synapse configuration programatically and 
invoked it via the proxy MR, then you should use a property mediator to 
set the resulting parameter into the MessageContext and get the from the 
message context properties map.

If you can attach the code that you are using in the task, I could tell 
you how exactly is to give the result that you are looking for.

Thanks,
Ruwan

Javier López del Castillo Caymares wrote:
> Good Morning and than you very much for reply. This is what I need:
>
> I hace a Task in the ESB that inject a message to the msg to invoke a
> proxy service, the proxy service returns a value, I need to know if the
> returned value is X or Y, etc. because another operation depends on that
> value.
>
> I guess I need get the result in a variable, int, string, etc.
>
> thx and best regards
>
> jlcc
>
> On Thu, 2010-07-01 at 02:55 +0530, Ruwan Linton wrote:
>   
>> Hi jlcc,
>>  
>> Where do you want to store the results, in a database? or in memory?
>>
>> Thanks,
>> Ruwan
>>
>> Javier López del Castillo Caymares wrote:
>>     
>>> Hello:
>>>
>>> I need to know how can I invoke a proxy service from a task and store
>>> the result. I know how to invoke the proxy server, but not how to store
>>> the result.
>>>
>>> thx and best regards.
>>> jlcc
>>>
>>>
>>> _______________________________________________
>>> Esb-java-user mailing list
>>> [email protected]
>>> https://wso2.org/cgi-bin/mailman/listinfo/esb-java-user
>>>
>>>   
>>>       
>>     
>
>
>
> _______________________________________________
> Esb-java-user mailing list
> [email protected]
> https://wso2.org/cgi-bin/mailman/listinfo/esb-java-user
>   


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

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
tweet: http://twitter.com/ruwanlinton


_______________________________________________
Esb-java-user mailing list
[email protected]
https://wso2.org/cgi-bin/mailman/listinfo/esb-java-user

Reply via email to