IBM BJ0NJML Integration Guide - Page 254
Query Services, Creating an Enterprise Service Query, Query Root Element
View all IBM BJ0NJML manuals
Add to My Manuals
Save this manual to your list of manuals |
Page 254 highlights
Query Services Query Services Object structure services and enterprise services support query operations. An external source can use a service to run a query and to retrieve data from a system. In both cases, the object structure schema defines the XML content for the query request and the query response. For an object structure that has more than two levels of business objects, the query framework supports the use of business object attributes in the top two levels of the request XML. The query response XML contains all the objects in the object structure. All system-provided object structures with a Consumed By value of INTEGRATION, support the query operation by default. You can use the Object Structures application to create additional object structures which provide support for the Query operation. Creating an Enterprise Service Query To create an enterprise service query: 1 If one does not exist, create an object structure containing the objects that the query needs to access. 2 Define an enterprise service that implements the previously created object structure. 3 Specify Query as the operation on the enterprise service. 4 Associate the enterprise service with an external system, and enable the external system and its enterprise service. The system provides a sample query enterprise service, MXINVBALQInterface. Use this sample as a reference when you build query enterprise services. Query Root Element The name of the root element of a query is the concatenation of the operation (Query) and the name of the associated object structure. For example, QueryMXPERSON, where MXPERSON is the object structure. 240 Integration Guide