on 02-02-2011 10:50 AM
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?
Hi,
Create an envelope structure as output parameter of transaction with xml typed.
Put generated output value into envelope.
Regards.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
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.
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.
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
User | Count |
---|---|
12 | |
6 | |
3 | |
2 | |
1 | |
1 | |
1 | |
1 | |
1 | |
1 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.