@WsdlBodyEnricher
public Document cookPayload(ServiceDefinition serviceDefinition, String operationName, Document payload){
// Customize payload with session token
}
@WsdlBodyEnricher
DevKit is compatible only with Studio 6 and Mule 3. To build Mule 4 connectors, see the Mule SDK documentation. |
With the release of DevKit 3.9.0. the @WsdlBodyEnricher
annotation is intended for the session token to be injected into the SOAP body.
Implementation
The method marked as @WsdlBodyEnricher
should receive an object representing the message payload, and return it modified with the session token.