cancel
Showing results for 
Search instead for 
Did you mean: 

Error: Action for ultimate recipient is required but not present in the message.

john_heutmekers2
Participant
0 Kudos

Dear all,

We have a scenario for retrieving information from a WebService which uses the WS_security extension of SOAP (user name and password in soap header).

To accomplish this we have installed the Axis adapter on PI and configured the module (java:com.sap.aii.adapter.axis.ra.handlers.security.WSDoAllSenderfor) storing the user name and password in the header.

Microsoft.Web.Services3.Security.SecurityFault: Header http://schemas.xmlsoap.org/ws/2004/08/addressing:Action for ultimate recipient is required but not present in the message.

Does anyone have a clue?

Kind regards,

John.

Accepted Solutions (1)

Accepted Solutions (1)

nabendu_sen
Active Contributor
0 Kudos

Hi John,

Please ensure everything is maintained in Receiver Adapter as per below:

http://help.sap.com/saphelp_nw04/helpdata/en/45/a3c48c87cd0039e10000000a11466f/content.htm

Can you provide us the screenshot of the Axis Communication Channel?

john_heutmekers2
Participant
0 Kudos

These are the screenshots of the communication channel:

john_heutmekers2
Participant
0 Kudos

Dear all,

Using the TCPGateway tool I monitored the outgoing SOAP message, and to my surprise the SOAP action field is not contained in the SOAP header.  I have even tried to add the soap action using the module parameter defaultSOAPAction, but unfortunately with the same result.

Does anybody know how to get the SOAP action into the SOAP header?

Kind regards,

John.

john_heutmekers2
Participant
0 Kudos

Problem solved using the Axis addressing module.

Regards,

John.

Former Member
0 Kudos

Hi John,

I am facing exactly the same error when connecting to the webservices of rechtspraak.nl (CIR) while using the Axis adapter.

Could you explain how you get the SOAP header fixed with the action, username and password?

Thanks.

Best regards,

Joost Weghorst

john_heutmekers2
Participant
0 Kudos

Hi Joost,

It depends partly which webservice of de Rechspraak you are calling, but basically you will have to add some Modules in the communication channel:

And don't forget to set the correct XML namespace in the ESB:

Regards,

John.

Answers (1)

Answers (1)

smavachee
Active Contributor
0 Kudos

Hello John,

Have a look at below links..

Fault Exception...

Fault Exception..

It may help you.!

Regards,

Sunil