on 05-13-2013 6:48 AM
Hi All,
We are using SAP MII 12.2 ver. and PI as per customer's requirement and landscape.
PI will receive iDOC from ECC. PI needs to process the iDOC and send a simple XML to SAP MII.
Please let us know the configurations needed at
1. PI to send simple XML using HTTP POST method.
2. MII to receive a simple XML using HTTP POST method.
Also please note that our message transfer is in an asynchronous mode.
Kindly guide us with any example documentation or links.
Thanks for your help as always.
Praveen
You can try WSMessageListener.
http://<server>:<port>/XMII/Illuminator?service=WSMessageListener&mode=WSMessageListenerServer&NAME=<UniqueMessageName>
http://help.sap.com/saphelp_mii122sp03/helpdata/en/4c/7258d9e631469ee10000000a15822d/content.htm
Thanks
Hari
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hey Hari,
Thanks for your response!!
Actually i have read about that but the doubt i have is that how will MII recieve the XML doc that will be posted to this URL mentioned above.
Is there any additional work that needs to be done on the MII front like using some specific action blocks(eg HTTP XI action block) or it will be directly be assigned to the input local variable we have used in the business logic transaction??
Please help me out on that one with any example or doc if u can.
Thanks,
Praveen.
Hey Hari,
Thanks for the response!
I am able to recieve the message sent from PI as evident from the message monitor's status which shows "SUCCESS" but I am not getting how to process that recieved XML in my transaction.
Will you please tell how to get that XML or how to access the recieved XML so that i can use it for further processing.
Thanks,
Praveen.
Hi,
Given that the message is in state 'Success', I assume you successfully created the processing rule.
(Should be in state 'No Rule' otherwise)
Does the transaction you call in the processing rule have an XML Input parameter?
If yes, you can assign the 'ReceivedMessageXML' to this input parameter.
The mapping can be found on the lower right corner when editing a processing rule.
For each received message of the type you specified in 'Message Name', your transaction will be called and the input parameter will be populated with the message.
hope that helps,
Julian
PS (just FYI)
You can also work directly with the queue using the actions found in the workbench under 'Message Services'.
It's a bit more work, but comes in handy if you e.g. want to process the messages asynchronously using schedulers.
User | Count |
---|---|
9 | |
7 | |
1 | |
1 | |
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.