cancel
Showing results for 
Search instead for 
Did you mean: 

Invoking a Message Listener

former_member191528
Participant
0 Kudos

Hello All,

I have configured a message listener for a web service in MII. The MII transaction which is being called does not have any input parmeters. Can I wanted to invoke this message listener by calling a URL in the brower. Currently I am trying to invoke

http://server:port/XMII/Illuminator?service=WSMessageListener&mode=WSMessageListenerServer&NAME=abc&... by copying the following URL in the browser.

But the message which I am getting is as follows

<?xml version="1.0" encoding="UTF-8" ?>

<Rowsets DateCreated="2011-05-20T09:40:23" EndDate="2011-05-20T09:40:23" StartDate="2011-05-20T08:40:23" Version="XXXXXX">

<FatalError>Message was not received</FatalError>

</Rowsets>

Can you please recommend how can i invoke the message listener ?

Truly appreciate your help.

Thanks,

Kiran

Accepted Solutions (1)

Accepted Solutions (1)

jamie_cawley
Advisor
Advisor
0 Kudos

You have to post some data to it. You could test this in MII using the http post action, build a web page that posts a form, etc. You also have to have processing rule created with a message name that corresponds to the name you are posting to.

Jamie

former_member191528
Participant
0 Kudos

Thanks Jamie !! Can you please let us know how can I post document in the http post block and how do I pass the credentials to it.

Thanks,

Kiran

jamie_cawley
Advisor
Advisor
0 Kudos

You should be able to link into the postdata link or use the document to post in the configuration screen. The credential alias can be used to provide credentials.

Jamie

former_member191528
Participant
0 Kudos

Thanks Jamie !! We used http post async processing mode successfully.

lawrence_prinsloo
Participant
0 Kudos

Hi Jamie,

I can do this using the http post action block but I need a full URL string for another application to call. I've tried to append some XML input data to the URL but still get an error saying the data isn't posted because no document was found. Do you know what parameter the input XML must be linked to for a web service call to post a message to the http message listener in MII?

Thanks in advance.

Answers (0)