Skip to Content

Introduction:

In XI 3.0 and PI 7.0, in order to save storage, synchronous message content is never stored in the database. When we tried to display the message content, we will get the message:

image

This makes debugging somewhat more difficult, since we cannot see the message content. This is especially true when we use the Advanced Adapter Engine Configuration in PI 7.1, where the message will not go through the Integration Server.

In PI 7.1, a message option is now available to display the message content of synchronous messages. This option is very similar to that in the Integration Server’s monitor in ABAP.

Configuration Steps:

Below provides the steps to change the configuration option to display synchronous message contents.

Because this is in the java stack, we will have to use NetWeaver Administrator (/nwa) for the configuration.

  1. Start NetWeaver Administrator (/nwa), and select the “Configuration Management” tab, then the “Infrastructure” tab.

    image

  2. In the “Infrastructure” tab, scroll down and select “Java System Properties

    image

  3. In “Java System Properties: Overview“:
    1. Click on the “Services” tab
    2. Enter “messaging” in the filter text area
    3. Click on the “filter
    4. Select “XPI Service: Messaging System

    image

  4. In the “Extended Details” below:
    1. Enter “sync” in the filter text area
    2. Click on the “filter
    3. Select “messaging.syncMessageRemover.removeBody
    4. Click on the “Modify” button

    image

  5. In the popup textbox, enter “false” and click “Set

    image

    By default, which is “true”, the message content will be removed.

  6. In the “Extended Details“:
    1. Click “Save As
    2. false” should be displayed in the “Custome Value” column

    image

After the option change, we can send another message and should then see the content of the message.

image

Please note, the option will only take effect for those messages after the option change.

To report this post you need to login first.

14 Comments

You must be Logged on to comment or reply to a post.

    1. Henrique Pinto
      Yeah, but in 3.0/7.0 you needed access to Visual Admin, and that can be really hard to get at some customers.

      Having a Web Interface to make these kind of configurations is quite handy.

      Regards,
      Henrique.

      (0) 
  1. Anonymous
    Hi,

    very nice blog and feature.
    I want to use this at quality environment.
    I changed the parameter according to the blog.
    But the message content of sync messages are stilled deleted.

    Does the parameter changed requires restart of adapter engine or complete java stack?

    There two templates one called ‘Usage_Type_all_in_One’ and above there is an node named equal to the server node name. The parameter of which template have to be changed.
    I tried both with out success.

    Hopefully you could help me using this feature

    Kind regards
    Jochen

    (0) 
    1. William Li Post author
      Hi,
      I repeated my configuration and test from the blog on another PI 7.1 and a PI 7.11 system.  Both worked as expected.

      I cannot say what can be missing on your system.

      Sorry I cannot do more to help, except to verify what is in the blog.

      Regards,
      Bill

      (0) 
        1. William Li Post author

          Have you tried using the “Open Message” in NWA’s Message Monitor?  Once you clicked “Open Message”, there will be a tab with “Payload”, which will contain the XML msg.

          Regards,

          William

          (0) 
          1. Venkat Boppana

            Hi William,

            Thank you very much for your immediate response.

            We are able to see only requested mapping payload when we click on NWA–> Message Monitor –> open message.

            Is there any other parameter we need to maintain to see the response mapping payload?

            Thanks in advance.

            Regards,

            Venkata Ramesh

            (0) 
            1. William Li Post author

              Hi,

              The response message should be another entry.  It is not under the same entry as the request message.

              Regards,

              William

              (0) 
              1. Venkat Boppana

                Yes Williams,

                We are able to see only one entry that is request but we don’t see the entry for response. Could you please suggest.

                In both (Sender & Receiver) communication channels we are able to see only one node (In CC monitoring).

                For Asynchronous scenario we are able to see the before mapping payload by selecting version ‘0’ and after mapping payload by selecting version ‘1’, But for synchronous message request we are unable to see the payloads after mapping.

                Regards,

                Venkata Ramesh

                (0) 
    1. Matias Peralta

      Hi William,

      I Have already fix my issue aplying this notes:

      1) 1507698 Content of Best Effort messages not displayed

      2) 1696593 Cannot view content of a message for sync response message

      Best Regards!

      (0) 

Leave a Reply