Skip to Content
avatar image
Former Member

AIF WS synch inbound interface without PI - Payload not available

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


Add comment
10|10000 characters needed characters exceeded

  • Get RSS Feed

1 Answer

  • Feb 26 at 04:13 PM

    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

    Add comment
    10|10000 characters needed characters exceeded

    • 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