cancel
Showing results for 
Search instead for 
Did you mean: 

SOAP header authentication required in receiver end

monikandan_p
Active Participant
0 Kudos

Dear Experts,

Scenario is ECC(Proxy)-PI-(Third party)SOAP synchronous

Currently facing the below error in PI after imported all required certificates since the receiver end at https connection,as per analysis messages are reaching to third party from PI with below error due to authentication like username and password is required from message level soap header itself.

Error: com.sap.engine.interfaces.messaging.api.exception.MessagingException: SOAP: response message contains an error XIAdapter/PARSING/ADAPTER.SOAP_EXCEPTION - soap fault: An error occurred when verifying security for the message

Please guide with the best approach how to sort out this from PI or any new structure need to create.

Thanks.

Accepted Solutions (1)

Accepted Solutions (1)

PavanKumar
Active Contributor

Hi,

If you need to enable user name token in wsse standard while posting to third party use soap adapter with axis protocol .

Please follow below link for your requirement and before using axis just make sure all the necessary components have deployed for using axis adapter using this url you can check http://hostname:50000/XIAxisAdapter/MessageServlet. If not ask basis team to deploy this components also please check the FAQ note 1039369

https://blogs.sap.com/2013/04/12/how-to-configure-axis-framework-for-authentication-using-the-wssse-...

Regards

Pavan

monikandan_p
Active Participant
0 Kudos

Hi,

Finally issue got fixed after deployment of Axis and their respective .jar files,module config in PI.

Thanks.

Best Regards,

Monikandan.P

Answers (3)

Answers (3)

monikandan_p
Active Participant
0 Kudos

Hi,

Finally issue got fixed after deployment of Axis and their respective .jar files,module config in PI.

https://blogs.sap.com/2013/04/12/how-to-configure-axis-framework-for-authentication-using-the-wssse-...

Thanks.

Best Regards,

Monikandan.P

monikandan_p
Active Participant
0 Kudos

Hi,

Thanks for your reply.

As per analysis user required the messages in wsse security format.Please find the below and guide whether it can achieve through xslt or java mapping,If yes please share the sample code for the below.

Current Sender Payload from receiver system:

Expected Payload in SOAP receiver system with wsse standard:

Please guide with your input to how we can convert the output into above wsse format or how to add it in required format.

Thanks.

Best Regards,

Manikandan

PavanKumar
Active Contributor
0 Kudos

Hi,

From the error i understand request posted successfully to third party, and response also got from third party. But

As this is synchronous interface have you created response interface to consume the response receive from third party? If not, configure according to your requirement.

Also want to understand

1) Have you configured WS-security, if so then it is for both request and response? or only one

Regards

Pavan

monikandan_p
Active Participant
0 Kudos

Hi Pavan,

Thanks for your reply.

As per analysis user required the messages in wsse security format.Please find the below and guide whether it can achieve through xslt or java mapping,If yes please share the sample code for the below.

Current Sender Payload from receiver system:

Expected Payload in SOAP receiver system with wsse standard:

Please guide with your input to how we can convert the output into above wsse format or how to add it in required format.

Thanks.

Best Regards,

Manikandan