[esb-java-user] invoking proxy service from task
ruwan at wso2.com
Thu Jul 1 08:38:14 PDT 2010
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.
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
> I guess I need get the result in a variable, int, string, etc.
> thx and best regards
> 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?
>> Javier López del Castillo Caymares wrote:
>>> 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.
>>> Esb-java-user mailing list
>>> Esb-java-user at wso2.org
> Esb-java-user mailing list
> Esb-java-user at wso2.org
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: ruwan at wso2.com; cell: +94 77 341 3097
More information about the Esb-java-user