Skip to Content
avatar image
Former Member

You do not have permission to access service WSMessageListener

Hi to all,

I'm using MII 12.0 SP04.

i configured MII Message Listner to receive IDOC from PI system. in PI i configured this link:

http://<servername>:<serverport>/XMII/Illuminator?service=WSMessageListener&mode=WSMessageListenerServer&NAME=<NAME>&Session=true&content-type=text/xml

When i try to send an idoc i receive this error:

application
[XMII] Processing HTTP request to servlet [Illuminator] finished with error.

The error is: com.sap.xmii.Illuminator.logging.LHException: You do not have
permission to access service WSMessageListener
Exception id:
[005056A97A3B008300002D5B000010F00004E1DB4957870D

The user works fine, user and password are correct.

In MII12.2 i configured a special role with a particulary action "XMII_MessageListenerService" but in 12.0 i haven't found this action.

Some ideas?

thanks

Andrea

Add comment
10|10000 characters needed characters exceeded

  • Get RSS Feed

2 Answers

  • Best Answer
    avatar image
    Former Member
    Jul 19, 2013 at 04:53 PM

    Hello Andrea,

       As far as I know, in MII 12.0, you can directly assign roles from MII Admin Screen.

    Under Security Services-->System Security, choose WSMessageListener from the drop down. By default, Administrator role is added. If you are a Administrator/Super Administrator you can edit the screen and add your roles to the service.

    Regards,

    Tufale Ashai.

    Add comment
    10|10000 characters needed characters exceeded

    • Former Member

      Thanks a lot Tufale, sometimes the best solutions is the simpler way under our nose.

      Ciao

      Andrea

  • Jul 19, 2013 at 12:49 PM

    Dear Andrea,

    I faced a similar problem sometime back. I think the default XMII User role does not have sufficient authorizations to call Web service listener.

    In my case, we have assigned an administrator role to the user and it works then. Try adding the admin role and try of it works. Then you can add the necessary authorizations or create a new role and assign it to the user and check again.

    Hope this helps!

    Regards,

    Saumya Govil

    Add comment
    10|10000 characters needed characters exceeded

    • Hi Andrea,

      I agree to what you say. It would be good to select the related objects and add a new role with the identified objects and assign it to the user. Unfortunately I don't have the list of objects to be added. n my case it was internal WS call within the network so is not a major problem but still if possible should be controlled.

      Regards,

      Saumya Govil