Web service queries
Query services that are created in the Enterprise Services application and the Object Structures applications can be deployed as web services. To support querying, 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:
<max:QueryMXPERSONResponse xmlns:max="http://www.ibm.com/maximo"
creationDateTime="2011-04-28T21:49:45"
baseLanguage="EN" transLanguage="EN" messageID="12345"
maximoVersion="7.5" rsStart="1" rsCount="10" rsTotal="10">
</max:MXPERSONSet>
</max:QueryMXPERSONResponse>
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
- The host:port/meaweb is the value of the integration web application URL property.
- The 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.