cancel
Showing results for 
Search instead for 
Did you mean: 

MII Message Listener

Former Member
0 Kudos

Hi ,

I would like to know how to change the MII Web Service Message Listener response.

By default , when we receive messages from PI , it is acknowledging without SOAP envelope.

I checked for any option to change this acknowledgement Message , but couldn't found it.

Is it possible to customize this WS Message Listener acknowledgement Message in MII?

Accepted Solutions (0)

Answers (1)

Answers (1)

Former Member
0 Kudos

Hi,

Create an envelope structure as output parameter of transaction with xml typed.

Put generated output value into envelope.

Regards.

Former Member
0 Kudos

Hi ,

thanks for your reply , but we tried it before and it's not working. The flow is as follows :

PI -> Message Listener -> Transaction

But the acknowledgement from Message Listener to PI doesn't depend on the output Parameter of the Transaction .

If it is possible then please tell me whether there are any configurations that I need to change etc , in a step by step manner.

jcgood25
Active Contributor
0 Kudos

Instead of the message listener, have you considered just calling the transaction directly as a webservice from PI?

Former Member
0 Kudos

Hi,

did you try to put the envelope in CDATA[ ] block like below.

<![CDATA[envelope]]>

Regards.

Former Member
0 Kudos

Hi ,

thanks again for your response . But my actual question is as follows :

Let us suppose we posted a message to WSMessageListener in MII from a third party system like XMLSPY .After receiving that Message MII XML Message in response to that thirdparty system like "Successfully Wrote" in "ROW" tag if received successfully.

This XML is in MII standatrt format (Rowsets/Rowset/Row) , without a SOAP Envelope.

I need to modify this response XML whether to change the message or cover with SOAP envelope etc.

Do we have a solution for this.

former_member193328
Active Participant
0 Kudos

Hi Sravan

MII Message Listener is not a Web Service Endpoint but a HTTP Service. It will not return a SOAP Envelope or soap message. Also it is not possible to alter the output.

If your usecase is to send message from PI to MII using this interface you should use the PI HTTP Adapter and not the Soap Adapter. This will mean that PI does not expect a soap message back.

Alternately if you want to call a SOAP endpoint in MII from PI you can use the SoapRunner servlet in MII which calls a transaction.

Let me know if this helps.

Regards

Partha

Edited by: Partha Sarathi Roy Chowdhury on Feb 9, 2012 12:21 PM