Nav

@WsdlBodyEnricher

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.


         
      
1
2
3
4
@WsdlBodyEnricher
    public Document cookPayload(ServiceDefinition serviceDefinition, String operationName, Document payload){
        // Customize payload with session token
    }

Background

As with the SOAP headers modifier, the invocation of this body enricher method occurs after all the connection and initialization steps are complete.

In this topic:

We use cookies to make interactions with our websites and services easy and meaningful, to better understand how they are used and to tailor advertising. You can read more and make your cookie choices here. By continuing to use this site you are giving us your consent to do this.

+