pp108 : ValidateObject

ValidateObject


This method is used to validate the details of an object before it is updated 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>
        <Validate xmlns="http://schemas.cordys.com/Ws-AppServer/any">
            <tuple>
                <old>
                    <Categories>
                        <CategoryID>4</CategoryID>
                    </Categories>
                </old>
            </tuple>
        </Validate>
    </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

-


SOAP Response

<data>
    <ValidateResponse 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 xmlns="http://schemas.cordys.com/Ws-AppServer/any" xmlns:SOAP="http://schemas.xmlsoap.org/soap/envelope/">
                <Categories
                    xmlns="http://schemas.cordys.com/Ws-AppServer/any" xmlns:SOAP="http://schemas.xmlsoap.org/soap/envelope/">
                    <CategoryID>4</CategoryID>
                </Categories>
            </old>
        </tuple>
    </ValidateResponse>
</data>

Response Parameters


The parameters in the request are reproduced in the response.

Related reference

Validate BusObject SOAP Request
Initialization of Objects and Attributes
Constraint Logic on Objects and Attributes
Repetitive Validation