We have installed Axis Framework successfully for soapReceiver adapter in SAP PI. This was to be able to add a header information on a soap message. But the receiver of this message requires UsernameToken together with a specific security namespace on the Envelope/Header/Security/.. part of the message.
<?xml version="1.0" encoding="UTF-8"?>
<soapenv:Envelope xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/">
<soapenv:Header>
<wsse:Security xmlns:wsse="THIS_NAMESPACE_HAS_TO_BE_A_SPECIFIC_ONE">
<wsse:UsernameToken>
<wsse:Username></wsse:Username>
<wsse:Password></wsse:Password>
</wsse:UsernameToken>
</wsse:Security>
</soapenv:Header>
<soapenv:Body>
.....
</soapenv:Body>
</soapenv:Envelope>
I am not able to edit this namespace either with:
- XMLAnonymizerBean
- com.sap.aii.axis.soap.HeaderInsertionHandler (Note 1039369 - FAQ XI Axis Adapter)
Our configurations:
Any ideas how to edit namespace together with Axis Framework?