pp108 : InsertObject

InsertObject


This method is used to insert objects into 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>
        <UpdateBuilding xmlns="http://schemas.cordys.com/Ws-AppServer/any">
            <tuple>
                <new>
                    <Categories>
                        <CategoryName>Noodles</CategoryName>
                        <Description>snacks</Description>
                        <Picture>PARAMETER</Picture>
                    </Categories>
                </new>
            </tuple>
        </UpdateBuilding>
    </SOAP:Body>
</SOAP:Envelope>

Request Parameters

Parameter

Description

Data Type

Accepted Input Values

Catagories

Represents the name of the database table

String

-

CategoryName

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/">
            <new>
                <Categories>
                    <CategoryID>14</CategoryID>
                    <CategoryName>Noodles</CategoryName>
                    <Description>snacks</Description>
                    <Picture>PARAMETERA==</Picture>
                </Categories>
            </new>
        </tuple>
    </UpdateCategoriesResponse>
</data>

Response Parameters

Parameter

Description

Data Type

Accepted Input Values

CatagoryID

Represents the 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

Insert BusObject SOAP Request