cancel
Showing results for 
Search instead for 
Did you mean: 

Message Listener issue

Former Member
0 Kudos

Hi,

I have an XML message being sent from XI to MII Message Listener, I have three questions:

1) I see the same messages in Failed messages, messages with no rules and message monitor. Is this correct? Sometimes these messages are seen and sometimes not though XI recives an acknowledgement saying the messages were delivered successfully.

2) once I have the messages in message monitor how do I see the XML payload of the message sent from XI?

3) How do I get these messages from message listener to process in BLS transactions?

Any help is highly appreciated.

Accepted Solutions (1)

Accepted Solutions (1)

former_member4529
Active Contributor
0 Kudos

Hi,

Practically a message sent to the msg service in MII can't have multiple statuses so it can't show up in different monitors (with different statues). It seems you have sent multiple messages to MII which are in different processing statuses.

To get the message payload or to process them you can use the Message Services action blocks in BLS using which you can query the list of messages, read the payload and other message attributes, update processing status or delete them.

Thanks,

Dipankar

Former Member
0 Kudos

@Kishore - Yes, I am aware of webservice call from XI to the transaction directly, but the requirement is to go through message listener. I am using version v12.0.5 of MII.

@Dipankar - I have changed the message listener rule to point it to transaction directly instead of category and selected the input variable of the transaction and I was able to see the XML payload inside BLS transaction.

However, I want to know if we can see the incoming XML payload in message monitor itself.

Also how is choosing a category different from choosing a transaction directly in message listener rules, somehow I am unable to understand how category work, Is there a document on how to read messages using message service action block?

former_member4529
Active Contributor
0 Kudos

Hi,

There is no way to see the message payload in the message monitor itself. However, as I mentioned before you can parse the message XML payload in BLS transactions.

Categorizing a message means just tagging it with a category name. This will not process the message automatically by any BLS transaction but will simply buffer the message in the system database and later you can query the message using the Query Message action block in BLS using the category name. This is basically grouping of messages received from a specific system or messages of a specific type, etc. Category should be used when you want to do ad-hoc processing e.g. an external system wants to pull the required message from MII whenever required. On the other hand transaction based processing rule will process the message payload whenever the message is received in MII and by that you can extract the relevant data, send it to other systems, etc.

We have discussed more about this and other features of MII in detail in our new book [Implementing and Configuring SAP MII|http://www.sap-press.com/product.cfm?product=H3038] to be published in early July.

Thanks,

Dipankar

Former Member
0 Kudos

I think that pretty much answers my question. thanks

Answers (1)

Answers (1)

Former Member
0 Kudos

Hi,

Can you explain a little bit more about your scenario?

We have done this earlier. Which version of MII are you using?

Call a webservice in MII which can take the data from XI.

Similarly you can send a messages to xi via webservice.

Regards,

Kishore