Hi,

Is it possible to write a Data Service which gives the output set for a set
of inputs(something like batch *in-out*) in a single invocation? This is my
scenario.

There is an operation named "getLatestDataForService" in BAMStatQueryDS
which accepts a serviceId and returns the response. If I have N number of
services, then is it possible to send 1, 2, 3, .... N service ids at once to
the DS and get the response, rather invoking them separately? Even in a
request to ebay or amazon, we can specify set of itemId at once. So is it
possible to implement that via a DS?

At the moment, BAM has wrapped these iterative calls into a java class,
which then accesses the above operation once for each serviceID using local
transport. At the end, it could be a single operation of another service,
but can't we use just DS for that?

Thanks,
Ruchira

-- 
Ruchira Wageesha
Software Engineer - WSO2 Inc. www.wso2.com

Email: [email protected] Blog: [email protected]
Mobile: +94771083016, +94714439028

Lean . Enterprise . Middleware
_______________________________________________
Carbon-dev mailing list
[email protected]
http://mail.wso2.org/cgi-bin/mailman/listinfo/carbon-dev

Reply via email to