PeopleSoft Adapter 6.0 | webMethods PeopleSoft Adapter Documentation | webMethods PeopleSoft Adapter Installation and User’s Documentation | PeopleSoft-to-webMethods Communications | Using the PeopleSoft Adapter's Sample and Utility Services
 
Using the PeopleSoft Adapter's Sample and Utility Services
After you set up your PeopleSoft Web server to send messages to the Integration Server, you must handle those messages (for example, accept the XML documents and then send reply messages to PeopleSoft, if required) as they are received by the Integration Server.
You can create your own services in the Integration Server to handle the messages, or you can use the sample flow service wm.adapter.peoplesoft.outbound.sample:receiveXML, which is provided in the WmPeopleSoftAdapter package, to handle the messages.
The wm.adapter.peoplesoft.outbound.sample:receiveXML flow service consists of the following services:
Service Name
Description
wm.adapter.peoplesoft.outbound.sample:getXML
Sample Java service that receives XML messages (for example, a REP_SYNC message) into a String.
wm.adapter.peoplesoft.outbound.sample:getDBTableName
wm.adapter.peoplesoft.outbound.sample:mergeData
Sample Java services that extract fields from received XML messages.
wm.adapter.peoplesoft.outbound.sample:createReplyXML
Sample Java service that creates a response message (for example, WEBM_REPLY), in the XML format required by PeopleSoft.
pub.web:stringToDocument
pub.web:documentToRecord
Built-in services that convert a string to a record.
pub.flow:setResponse
A built-in service that sends a response document back.
The adapter also provides the following utility services in the WmPeopleSoftAdapter package:
Service Name
Description
wm.adapter.peoplesoft.outbound.utils:testSetResponse
Tests the response XML.
wm.adapter.peoplesoft.outbound.utils:encoding
Encodes the username and password.
To use the sample services, you must modify the services for your specific outbound transactions. The samples contain comments that illustrate where you need to update them. For more information about outbound transactions, see PeopleSoft-to-webMethods Communications.