
In the consumer, the option for signing and encrypting has been selected, for example, in the SOA Manager (transaction SOAMANAGER), , the option Signature & Encryption (Asymmetric Binding)).
If you specify the WSDL URL when creating the logical port of the consumer, the WSDL automatically sets this option.
You have the encryption certificate for the provider.
More information, if the provider is an AS ABAP: Exporting an Encryption Certificate for the WS Provider AS ABAP
More information, if the provider is an AS Java: Exporting an Encryption Certificate for the WS Provider AS Java
For the consumer to be able to send encrypted messages to the provider, it requires the public key of the provider to encrypt the messages. The public key of the provider is contained in its encryption certificate.
Use the Trust Manager to import the encryption certificate of the provider into the WS-Security PSE Other System Encryption Certs of the consumer.
Select the encryption certificate that you have just imported (for example, in the SOA Manager).