IBM BPM, V8.0.1, All platforms > Authoring services in Integration Designer > Services and service-related functions > Access external services with adapters > Configure and using adapters > IBM WebSphere Adapters > Adapter Toolkit > Implementing code from the IBM WebSphere Adapter Toolkit > Structured record implementation

Extract method

Use the public void extract(String xpath) throws DESPIException to retrieve individual field values from backend object representation.


Purpose

This method needs implementation only if an Xpath expression can be used to retrieve individual field values from backend object representation. This method is invoked after getNext() is called with boolean value as false.

The method should first extract the value from backend object representation defined through Xpath and use OutputCursor and OutputAccessor interfaces to populate values in runtime data structure.

Structured record implementation