pp108 : UpdateObject

UpdateObject


This method is used to update objects that exist in the database. The attribute tags in the request and response samples are only representations, and may vary based on the actual method generated.

SOAP Request

<SOAP:Envelope xmlns:SOAP="http://schemas.xmlsoap.org/soap/envelope/">
    <SOAP:Body>
        <UpdateCategories xmlns="http://schemas.cordys.com/Ws-AppServer/any">
            <tuple>
                <old>
                    <Categories>
                        <CategoryID>13</CategoryID>
                    </Categories>
                </old>
                <new>
                    <Categories>
                        <Description>Desc</Description>
                    </Categories>
                </new>
            </tuple>
        </UpdateCategories>
    </SOAP:Body>
</SOAP:Envelope>

Request Parameters

Parameter

Description

Data Type

Accepted Input Values

Categories

Represents the name of the database table

String

-

CategoryID

Represents the column of the selected database table

String

-

Description

Represents the column of the selected database table

String

-


SOAP Response

<data>
    <UpdateCategoriesResponse
        xmlns="http://schemas.cordys.com/Ws-AppServer/any" xmlns:SOAP="http://schemas.xmlsoap.org/soap/envelope/">
        <tuple xmlns="http://schemas.cordys.com/Ws-AppServer/any" xmlns:SOAP="http://schemas.xmlsoap.org/soap/envelope/">
            <old>
                <Categories>
                    <CategoryID>13</CategoryID>
                </Categories>
            </old>
            <new>
                <Categories>
                    <CategoryID>13</CategoryID>
                    <Description> Desc </Description>
                </Categories>
            </new>
        </tuple>
    </UpdateCategoriesResponse>
</data>

Response Parameters

Parameter

Description

Data Type

Accepted Input Values

Description

Represents the updated column of the selected database table

String

-


Note:
WS-AppServer facilitates using the XQY extensions while executing these requests. For more information, see Leveraging XQY Extensions in WS-AppServer.


Related reference

Update BusObject SOAP Request