cancel
Showing results for 
Search instead for 
Did you mean: 

AIF WS synch inbound interface without PI - Payload not available

Former Member
0 Kudos

Hi,

I'm working on AIF to implement an inbound SYNCH web service interface but without SAP PI; I've defined in the engine section the new WS engine ( but I tried also with proxy engine) for Application and persistence.

I have created the proxy class via SPROXY ( i have to keep an existing wsdl definition for my service) and in the inbound method I have inserted the step to invoice the AIF engine:

TRY.
CALL METHOD /aif/cl_enabler_proxy=>process_message
EXPORTING
is_input = input
iv_exception_classname = 'CX_MYDETAIL'.
CATCH cx_mydetail INTO DATA(e).
output-etab_error-item = VALUE #( FOR <message> IN e->standard-fault_detail
( codice_errore = <message>-id
testo = |{ <message>-severity &&
`: ` && <message>-text }| ) ).

The action is correctly called but when I try to see the message in the /AIF/ERR transaction I receive the error message:

Payload of message with GUID 0050569105921EE886AFC4C1115B262A could not be retrieved

Message No. /AIF/ENGINE_PROXY001


I also set the paramenter how described here without success:

https://archive.sap.com/discussions/thread/3603128

1) Turn on logging for synchronous messages in tcode sxmb_adm: Integration Engine Configuration —> Category: RUNTIME —> add new parameter LOGGING_SYNC with value “1”.

Can anyone solve this issue?

thank you

Riccardo


Accepted Solutions (0)

Answers (1)

Answers (1)

former_member198833
Active Participant
0 Kudos

Hi Riccardo,

If trying to call the outbound proxy and the Web Services Logical Port is missing or not found, this will fallback to the XI protocol. Did you create a Logical Port in SOAMANAGER for this proxy?

Please see KBA 2033184 - How to create Logical Port manually for a Service Consumer in SOAMANAGER [Video]

Cheers,
Felipe

Former Member
0 Kudos

yes, of couse!

in SOAPUI I receive the SAP messages, but I'm not able to see the message in the /ERR transaction.

former_member198833
Active Participant
0 Kudos

Thank you for the confirmation, Riccardo. Do you see any errors logged in transaction SRT_LOG?

Former Member
0 Kudos

no logs esist in the SRT_LOG transaction.

former_member198833
Active Participant
0 Kudos

Hi Riccardo,

Thank you for the confirmation. Please check if SAP Note 2312971 solves the issue. I have been investigating this issue, it seems that error "Payload of message with GUID <GUID> could not be retrieved" is caused in Application Interface Framework, so I would advise you to contact them here via Answers or through component CA-GTF-AIF.

Cheers,
Felipe

Former Member
0 Kudos

Hi Felipe, unfortunately the note 2312971 is already implemented. In fact I'm able to use the NEW WS engine.

I need to know if SAP PI is mandatory to develop an incoming SYNCH interface.

thank you.

Riccardo

former_member198833
Active Participant
0 Kudos

Hi Ricardo, SAP PI is not mandatory, you can perform a pure WS call, in fact that is the simplest scenario.

I have searched some more for the error "Payload of message with GUID <GUID> could not be retrieved" and this is raised in Application Interface Framework. Since this is not our expertise in Web Services ABAP, to get further help, I would advise you to contact this team here via Answers or through component CA-GTF-AIF.

Cheers,
Felipe