cancel
Showing results for 
Search instead for 
Did you mean: 

Calling SAP MII Through Message Listener

former_member203984
Participant
0 Kudos

Hi All,

I am trying to call SAP MII from third party system using Message Listener, I am planning to use the URL below


http://<server>:<port>/XMII/Illuminator?service=WSMessageListener&mode=WSMessageListenerServer&NAME=...

What about the security. I hope one way is to add the illumlogin name and password in the URL?

Is there any other way to declare the credentials? Please let me know?

Regards

G.Partheeban

Accepted Solutions (0)

Answers (2)

Answers (2)

former_member203984
Participant
0 Kudos

Hi,

I am posting the below URL in IE

http://<server>:<port>/XMII/Illuminator?service=WSMessageListener&mode=WSMessageListenerServer&NAME=<message name>&IllumLoginName=<UN>&IllumLoginPassword=<PW>&session=false&Content-Type=text/xml

But I am getting the Fatal Error as "No message received in post". Can anyone please tell how to post?

Regards

G.Partheeban

former_member185280
Active Contributor
0 Kudos

I think you have to send a valid xml document with your post so you wont be able to do anything by just hitting it with your web browser. Your best bet is to follow Ria's advice and use the HTTP Post action to send some xml to the listener.

Regards,
Christian

former_member203984
Participant
0 Kudos

Hi All,

Can anyone reply on this?

Regards

G.Partheeban

swaroop_anasane
Active Contributor
0 Kudos

Hi Partheeban,

Why do you want to call message listener? Can't you call MII transactions directly? Please help me understand your scenario so that I can suggest further.

Thanks,

Swaroop

former_member203984
Participant
0 Kudos

Hi Swaroop,

My third party will call this URL

http://<server>:<port>/XMII/Illuminator?service=WSMessageListener&mode=WSMessageListenerServer&NAME=...

I need to route through Message Listener so that I can see the messages comes in and it is inbuilt MII functionality. How to use security to this URL? how we can ensure only particular user uses this?

Regards

G.Partheeban

Private_Member_14935
Active Participant
0 Kudos

Hi Partheeban,

You could create a transaction and make the call to MII using MII message listener in HTTP Post action block. You could then configure CredentialAlias property of the action block.

So finally from the third party you could call MII transaction as a web service or using Runner service,

By this also you should be able to monitor the messages using Message Listener functionality.

For controlling the usage, you could consider creating an Xacute Query for the transaction and using it along with iCommand to give audit trail features as well.

Thanks and Best Regards,

Ria

swaroop_anasane
Active Contributor
0 Kudos

Hi Partheeban,

You can include credentials in header info instead of adding it in URL. This would be more safe as compared to query strings.

Regards,

Swaroop

former_member203984
Participant
0 Kudos

Hi Ria,

I tried calling the MII transaction as the webservice and its calling.

But when I place the HTTP post action block inbetween for calling the Message Listener, It;s not working and not able to see message in message monitor.

I am using the URL as  http://<server>:<port>/XMII/Illuminator?service=WSMessageListener&mode=WSMessageListenerServer&NAME=... and postdata is an xml.

Can you please help. Also when my third party calls the Message listener I am getting error as

"XSRF token missing or does not match". Can I know the reason?

Regards

G.Partheeban