Skip to Content
0

AIF WS synch inbound interface without PI - Payload not available

Feb 26 at 02:08 PM

87

avatar image
Former Member

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


10 |10000 characters needed characters left characters exceeded
* Please Login or Register to Answer, Follow or Comment.

1 Answer

Felipe Zanettini
Feb 26 at 04:13 PM
0

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

Show 6 Share
10 |10000 characters needed characters left characters exceeded
Former Member

yes, of couse!

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

0

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

0
Former Member

no logs esist in the SRT_LOG transaction.

0

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

0
Former Member

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

0

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

0