cancel
Showing results for 
Search instead for 
Did you mean: 
Read only

How to publish a Query template as a web service for external application?

Former Member
0 Kudos
293

Dears,

Is it possible to publish a Query template of MII as a web service for external application to call?

For example,

The external application needs to know the valid Operations related to a specific Resource in SAPME?

So that I can edit a Query Template with a SQL statement with a Resource inpt to get the available Operations as output, then publish it as a web service for external application to call it.

In this way, I don't have to develop a custom web service by using SAPME SDK.

Thank you.

Accepted Solutions (0)

Answers (1)

Answers (1)

Former Member
0 Kudos

Hi Ivan,

you can define a MII transaction (BLT) which calls the query you want to execute and return the result. Every BLT in MII can be called as a webservice, using one of the following:

http://<server>:<port>/XMII/WSDLGen/<path>/<blt>?IllumLoginName=<...>&IllumLoginPassword=<...>

http://server:port/XMII/Runner?Transaction=Project/folder/transactioname&inputname=value&OutputParameter=outputname

See also [SAP Help on Webservice Interface|http://help.sap.com/saphelp_mii121/helpdata/EN/44/847b251e4355cee10000000a1553f6/frameset.htm]. You may also call the query directly like

http://server:port/XMII/Illuminator?QueryTemplate=<path>&IllumLoginName=<...>&IllumLoginPassword=<...>

Michael