Skip to Content
avatar image
Former Member

MII Transaction as webservce ?

Hi,

I have requirement to use MII trasaction in BIW. I know that we can use transaction as webservice as

"http://server:port/XMII/WSDLGen/FullTransaction path and TransactionName?IllumLoginName=username&IllumLoginPassword=password"

But What should i use against "WSDLGen" in above url.

I have seen in some threads that , "Runner?" is using against WSDLGen . Can I use the it or we look in to somewhere.

And also please let me know that can we use xacute query as webservice instead of Transaction .if so what is the syntax.

Regards,

Pooja

Add comment
10|10000 characters needed characters exceeded

  • Follow
  • Get RSS Feed

1 Answer

  • avatar image
    Former Member
    Nov 14, 2013 at 06:47 PM

    Hi Pooja,

    WSDLGEN : When you use WSDLGen in a URL with a transaction path after it, MII exposes this transaction as a web service. You can then use the generated wsdl in any web service (SOAP) Client and execute the transaction by sending the appropriate request.

    You cannot use Runner against WSDLGen. They both behave very differently.

    Runner: You use this servlet to make a HTTP Call and run the transaction.

    Runner Servlet --> Runs the transaction as HTTP Call.

    WSDLGen --> Exposes the transaction as a web service so that it can be consumed by SOAP Clients.

    Xacute Query: An xacute query is used when you want to run the transaction like a query template in MII. One major benefit I see by this is , you get the response in MII's format that is Rowsets-->Rowset--Row . This helps in parsing as I am used to this format.

    Xacute Query can also be called via a HTTP Call. Infact, any query can be called via a HTTP Call. http://server:port/XMII/Illuminator?QueryTemplate=FullPathOfTemplate&content-type=text/xml

    You could add the credentials as you add for WSDLGen.

    So in short,

    WSDLGen-> SOAP .

    Runner & Xacute Query --> HTTP Call.

    Now it depends what BIW expects.

    I would suggest you to go through

    Web Service Interface - SAP Documentation

    Transaction Calls Using URLs - SAP Documentation

    MII Integration with BIW ?

    Regards

    Tufale Ashai

    Add comment
    10|10000 characters needed characters exceeded

    • Former Member Former Member

      http://<server>:50000/XMII/WSDLGen/<TrxPath>&OutputParameter=outputXML

      This URL is wrong Pooja, You cannot use OutputParameter in URL with WSDLGen.

      WSDLGen will only and only give you the wsdl and not the Data.

      To get the data, you would need to create a client or a consumer proxy. The client / consumer would then use this wsdl and generate request and response objects.

      Looking at the wsdl from your above reply, it looks like the transaction does not have any input or output parameter. To make a paramter as an output parameter you need to create a transaction property and check the output parameter checkbox. Also, you need to map the result to the output parameter.

      When you want to consume a transaction as webserivce, you need a client / proxy to get the data. The WSDLGen URL will only give you the WSDL.

      Regards

      Tufale Ashai