Web service requests
Successful web service request
PolicyCenter logs the following information automatically
whenever it receives an incoming web service request from another InsuranceSuite
application:
- Traceability ID
- User number in database (
userfield) - User ID
- User name
- Requested URL ('name' in message)
- IP of requesting client ('from' in message)
- Time the request took ('elapsedTime' in message)
For the following example, the logger name is XML.Runtime and the marker
is WebServiceOperation.
If you configure log4j2 to report JSON messages, a web service request
generates a JSON log entry similar to the following log entry.
{"thread": "qtp1571798597-576", "level": "INFO", "loggerName": "XML.Runtime",
"marker": {"name": "WebServiceOperation"},
"message": "WS operation processed
{name=\"{http://guidewire.com/ab/ws/gw/webservice/ab/ab5000/abcontactapi/ABContactAPI}searchContact\",
from=\"127.0.0.1\", user=\"ClientAppPC\", elapsedTimeMs=430, error=null}", "endOfBatch": false,
"loggerFqcn": "org.apache.logging.slf4j.Log4jLogger", "contextMap": {"traceabilityID":
"924e14f5-d3fb-4ef3-bb32-83dc781b12bc", "user": "114", "userID": "ClientAppPC", "userName": "ClientAppPC PC"},
"threadId": 576, "threadPriority": 5}
