Skip to main content
Skip table of contents

Monitoring & Analytics - Web Services

Customer(s)

True, Vtc

Description

Following details for both inbound and outbound web services, is now captured:

  • Request

  • Response

  • URL

Example

SoapBuilder and EaiXmlBuilder to reconstruct request bodies

CODE
rule "SOAP Body"
when
	$e : LogEntry( typeAlias == "XMLConversion", subType == "XMLCnvParserDebug" )
then
	// Get cached SOAP builder or create
	SoapBuilder builder = state.get("soapBuilder");
	if (builder == null) {
		SoapBuilder builder = new SoapBuilder();
		state.set("soapBuilder", builder);
	}

            // For each individual SOAP entry, call:
	builder.append($e.message);
	
	// whenever the transaction is complete, set details to SOAP body
	$tx.setDetails(builder.toString());

	// remove builder from state 
	state.remove("soapBuilder");
end

JavaScript errors detected

Please note, these errors can depend on your browser setup.

If this problem persists, please contact our support.