Join this online group to communicate across IBM product users and experts by sharing advice and best practices with peers and staying up to date regarding product enhancements.
This article consists of detailed steps of how to capture service-specific HTTP header/ service DATA using webMethods Insight when a SOAP/Rest Service is invoked
Requirement: To capture HTTP header field, Interaction ID, Date of call, Host, service name, operation, Request data, Reply data, Reply & Request content_type and Query Flow map for Rest and SOAP services.
Here the Message Field name and XPath evaluator value depends upon the service Request data
Request data for REST_multiplies:_get is
<?xml version="1.0" encoding="UTF-8"?>
<IDataXMLCoder version="1.0"> <record javaclass="com.wm.util.Values"> <value name="interface"> REST_multiplies</value> <value name="service"> _get</value> <value name="withargs"> true</value> <value name="Num1"> 1</value> <value name="Num2"> 3</value> </record> </IDataXMLCoder>
To obtain the Input value of NUM1 the Xpath evaluator value is /IDataXMLCoder/record/value[4]/text() To obtain the Input value of NUM2 the Xpath evaluator value is /IDataXMLCoder/record/value[5]/text()
To obtain the Input value of Service the Xpath evaluator value is /IDataXMLCoder/record/value[2]/text()
Using this value create a Message field with Message type as Xpath evaluator
Audit log Report
The highlighted message names are HTTP header fields
In Audit log report we can also view Query Flow diagram (Flow diagram to particular service with particular time) Click on Query Flow diagram
<img alt="" src="//cdck-file-uploads-global.s3.dualstack.us-west-2.amazonaws.com/techcommunity/original/2X/a/acb3d7264baa97cdffbd47d348162086c79c7f08.jpeg"
Overall view:
Traffic View:
Sequence Map:
Sequence Table:
Auditing Records:
NOTE: Follow the same steps for SOAP Service.
Run the SOAP Service:
Audit log Report: