Skip to Content

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

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.

Add comment
10|10000 characters needed characters exceeded

  • Get RSS Feed

1 Answer

  • avatar image
    Former Member
    Nov 29, 2010 at 07:54 AM

    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

    Add comment
    10|10000 characters needed characters exceeded