Building Your Event-Driven Architecture : Service Development Help : Working with Load and Query Services : What Are the Load and Query Services?
What Are the Load and Query Services?
Integration Server is equipped with a set of “load and query” services that allow you to fetch HTML or XML documents via HTTP or HTTPS and selectively extract information for use in other services. Using these services, you can connect a service to virtually any document on the Internet. Fetching an XML document from the Internet with Integration Server is a two-step process.
*First, you use the pub.xml:loadXMLNode service or the pub.xml:loadEnhancedXMLNode service to retrieve the document that contains the information you need.
*Next, you extract the pieces of information you need and assign them to Integration Server variables. For this step, you can use the pub.xml:queryXMLNode service (to select specific elements from the document) or the pub.xml:xmlNodeToDocument service (to convert all elements in the document to variables).
Note:  
If you want to retrieve documents from a local file system, use the pub.file:getFile service. For more information about pub.file:getFile, see the webMethods Integration Server Built-In Services Reference.
Copyright © 2016 - 2016 Software AG, Darmstadt, Germany.

Product LogoContact Support   |   Community   |   Feedback