Showing results for 
Search instead for 
Did you mean: 

Message Level Security (MLS) - Sign and Encrypt Error

Former Member
0 Kudos

Hi all,

I'm using Message Level Security (MLS) to sign and encrypt my message when sending to other customer.

In my individual test for sign, the message successful signed and send to customer using my private key.

In my individual test for encryption, the message also successful encrypted and send to customer using customer's public key.

The problem comes when I choose the option "Sign and Encrypt" in receiver agreement. I always get the error below:-

<SAP:Error xmlns:SAP="" xmlns:SOAP="" SOAP:mustUnderstand="1">





<SAP:P3 />


<SAP:AdditionalText>System expected end of element 'Security'</SAP:AdditionalText>

<SAP:ApplicationFaultMessage namespace="" />

<SAP:Stack>Unexpected XML element <Signature>; </Security> was expected System expected end of element 'Security'</SAP:Stack>



It seems like PI failed to generate proper xml tag when doing sign and encryption. FYI, I'm using PI 7.0 SP 15. I found the receiver agreement configuration of this patch is different from others. In other's screen, they have Security Profile option only, however in my receiver agreement screen , I have Security Standard listbox and Security Procedure listbox. Under Security Standard, it only have "" for me to choose.

Should the Security Standard be:-



2. without .www in the url?

Please assist. Thanks.

Accepted Solutions (0)

Answers (2)

Answers (2)

Former Member
0 Kudos
Former Member
0 Kudos

Hi All,

Anybody can assist? Thanks.

Former Member
0 Kudos

Hi Pua Ming Fei ,

I am also facing the same problem. If you had solved kindly let me know how you solved this problem.

With Reagards

Pradeep N