How can Web Service Invocation Settings be modified programmatically?
Answer • WS invocation can be influenced by implementing callback methods defined in the interface com.sap.tc.webdynpro.model.webservice.api.IWDWSInvocationModifier. • Only to be used if really needed as it allows for modifications on technical level! • From the port parameter passed a WS-Runtime Service Extension Interface (SEI) can be created which allows typed access to invocation settings. • Current SEIs / factories are: SEI Description Interface and Factory HTTPControlInterface API that provides fine control over some http connection properties that the web service client uses to access the web service. com.sap.engine.services.webservices.espbase.client.api.HTTPControlInterface com.sap.engine.services.webservices.espbase.client.api.HTTPControlFactory SOAPHeaderInterface API provided for setting and getting SOAP headers by consumer applications. Methods for getting headers can be invoked after operation call, while setting output headers should happen before operation call. com.sap