IBM BJ0NJML Integration Guide - Page 262
Web Service Queries
View all IBM BJ0NJML manuals
Add to My Manuals
Save this manual to your list of manuals |
Page 262 highlights
Web Service Queries For example, the following query searches for the purchase orders where DEPARTMENT is greater than 1000. < DEPARTMENT operator=">=">1000 The following query searches for person records where PERSONID is greater than 1000 and less than 20000. The query uses two instances of a single field element, the first with the From selection criteria, and the second with the To selection criteria: < PERSONID operator=">=">1000 < PERSONID operator="<=">20000 Web Service Queries Query services that are created in the Enterprise Services and the Object Structures applications can be deployed as Web services. You must configure enterprise Web services to bypass the JMS queues. A successful response to a query that is run in a Web service returns the query result set. If the result set is empty (it contains no records), the XML that is returned in the SOAP body contains the following empty mxpersonset tag. If an error occurs, an HTTP response code of 500 is returned, along with a SOAP fault detailing the error message. Use the following URL for the Query Web service: http://hostname:port/meaweb/services/web service name T host:port/meaweb is the value of the Integration Web Application URL property. T web service name is the name of the Web service. You deploy query enterprise and object structure services as Web services using the Web Services Library Application. 248 Integration Guide