Skip to Content

BLS transaction as WS and creditential

Hello,

We created a BLS transaction exposed as webservice. We have issue regarding the authentification.

First, as test, we wanted to use the Runner with a call which will be like this :

http://<server>:<port>XMII/Runner?Transaction=OurTransaction&message=<?xml%20version="1.0"%20encoding="UTF-8"?><REQUEST>test</REQUEST>&outputParameter=OutputXML&XacuteLoginName=login&XacuteLoginPassword=pwd

If we copy/paste this url in a browser, it's working fine... But the external system try to call it, it receives as response the HTML logon page...

As test, we tried also using MII workbench with a HTTP post action, same result...

How can we handle this ? Is there some settings which should be set at NW level ? Or in MII ? Another way to authentificate than passing loging info into URL (not really safe) ?

We are using MII 12.1.5.

Thanks

Edited by: Olivier Thiry on Mar 18, 2011 9:48 AM

Add comment
10|10000 characters needed characters exceeded

  • Get RSS Feed

1 Answer

  • Mar 18, 2011 at 12:59 PM

    I think I found the solution, changing the url with this :

    http://<server>:<port>XMII/Runner?Transaction=OurTransaction&message=<?xml%20version="1.0"%20encoding="UTF-8"?><REQUEST>test</REQUEST>&outputParameter=OutputXML&j_user=login&j_password=pwd

    so using j_user and j_password...

    But second question, how can we avoid to pass user/password in URL ? Knowing this webservice will be called by an external non SAP system...

    Thanks

    Add comment
    10|10000 characters needed characters exceeded

    • Former Member Olivier Thiry

      Hi Olivier,

      it seems like you are also having problems with calling a transaction that has XML inputs as a WebService.

      Dipankar is giving me some help on how to do this, but I'm still strugling to get it to work properly.

      Please check this thread: XML inputs in a MII transaction to be used as a Web Service call

      From what I've looked around, it seems that having XML inputs in a transaction to be called as a web service is something that a lot of people avoid or just find ways around it. To me, this should be a very straight forward solution since this is just basic XML structure, but it seems that MII still needs some improvements in that matter...