Hi,
You can get SOAP response back instead of HTTP 202 by setting
returnRequestStatus attribute to true in dataservice operation as follows
<operation name="operation1" returnRequestStatus="true">
<call-query href="QRY_INSERT_DM">
<with-param name="dm1" query-param="dm1" />
<with-param name="dm2" query-param="dm3" />
</call-query>
Charitha Kankanamge
cell: +94 718 359 265
blog: http://charithaka.blogspot.com <http://wso2.com>
On Fri, Feb 24, 2012 at 8:17 PM, metin d <[email protected]> wrote:
> For such dbs script, dss does not return any response. How can I get a
> response for this query, something like query is executed or not.
>
> <query id="QRY_INSERT_DM" useConfig="DM">
>
> <sql>INSERT INTO DM_DEVICE_MODEL (D1,D2,D3) VALUES
> (?,?,?)</sql>
>
> <param name="dm1" sqlType="STRING" type="" ordinal="1"/>
>
>
> <param name="dm2" sqlType="STRING" type="" ordinal="2"/>
>
>
> <param name="dm3" sqlType="INTEGER" type="" ordinal="3"/>
>
> </query>
>
> _______________________________________________
> Carbon-dev mailing list
> [email protected]
> http://mail.wso2.org/cgi-bin/mailman/listinfo/carbon-dev
>
>
_______________________________________________
Carbon-dev mailing list
[email protected]
http://mail.wso2.org/cgi-bin/mailman/listinfo/carbon-dev