[jboss-user] [JBoss Web Services] - Re: Session-based web service with JBossWS?

Steve Cohen do-not-reply at jboss.com
Fri Oct 21 16:33:03 EDT 2011


Steve Cohen [http://community.jboss.org/people/stevecoh4] created the discussion

"Re: Session-based web service with JBossWS?"

To view the discussion, visit: http://community.jboss.org/message/633113#633113

--------------------------------------------------------------
Hmm. not working.

I add information to the ejb-jar.xml

|  | <assembly-descriptor> |
|  |  | <security-role> |
|  |  |  | <role-name>friend</role-name> |
|  |  | </security-role> |
|  |  | <method-permission> |
|  |  |  | <role-name>friend</role-name> |
|  |  |  | <method> |
|  |  |  |  | <ejb-name>MyServicePortImpl</ejb-name> |
|  |  |  |  | <method-name>login</method-name> |
|  |  |  | </method> |
|  |  | </method-permission> |
|  |  | <method-permission> |
|  |  |  | <unchecked/> |
|  |  |  | <method> |
|  |  |  |  | <ejb-name>MyServicePortImpl</ejb-name> |
|  |  |  |  | <method-name>foo</method-name> |
|  |  |  | </method> |
|  |  | </method-permission> |
|  | </assembly-descriptor> |

But both methods are still being checked.

Perhaps I haven't named the EJB correctly?  In an ejb-based web service, what is the ejb name that should be used in ejb-jar.xml?
--------------------------------------------------------------

Reply to this message by going to Community
[http://community.jboss.org/message/633113#633113]

Start a new discussion in JBoss Web Services at Community
[http://community.jboss.org/choose-container!input.jspa?contentType=1&containerType=14&container=2044]

-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.jboss.org/pipermail/jboss-user/attachments/20111021/a2eac112/attachment.html 


More information about the jboss-user mailing list