QueryObject |
This method is used to retrieve details of an object from 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> <GetCategoriesObject xmlns="http://schemas.cordys.com/Ws-AppServer/any"> <CategoryID>14</CategoryID> </GetCategoriesObject> </SOAP:Body> </SOAP:Envelope>
Request Parameters
Parameter |
Description |
Data Type |
Accepted Input Values |
---|---|---|---|
GetCategoriesObject |
Represents the name of the method |
- |
- |
CategoryID |
Represents the specific entry in the database for which details need to be retrieved |
String |
- |
SOAP Response
<data> <GetCategoriesObjectResponse xmlns="http://schemas.cordys.com/Ws-AppServer/any" xmlns:SOAP="http://schemas.xmlsoap.org/soap/envelope/"> <tuple> <old> <Categories> <CategoryID>14</CategoryID> <CategoryName>Noodles</CategoryName> <Description>snacks</Description> <Picture>PARAMETERA==</Picture> </Categories> </old> </tuple> </GetCategoriesObjectResponse> </data>
Response Parameters
All the parameters that are linked to the primary key provided in the request are produced in the response.
Parameter |
Description |
---|---|
CategoryName |
Represents the name of the database table |
CategoryID |
Represents the column of the selected database table |
Description |
Represents the column of the selected database table |
Note:
WS-AppServer facilitates using the XQY extensions while executing these requests. For more information, see Leveraging XQY Extensions in WS-AppServer.