cancel
Showing results for 
Search instead for 
Did you mean: 

You do not have permission to access service WSMessageListener

0 Kudos

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=WSMessageListenerSe...

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

Accepted Solutions (1)

Accepted Solutions (1)

Former Member
0 Kudos

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.

0 Kudos

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

Ciao

Andrea

Answers (1)

Answers (1)

saumya_govil
Active Contributor
0 Kudos

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

0 Kudos

Hi Govil,

yes, in this mode works but user and password are used from another system, another team and is not so good give administration privilege. if you know, Is there a mode to set usr and password with no access to MII?

regards

Andrea

saumya_govil
Active Contributor
0 Kudos

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