[jboss-jira] [JBoss JIRA] (WFLY-4332) Wrong path with Stateless WebService and serviceName

Alessio Soldano (JIRA) issues at jboss.org
Fri Feb 20 03:34:49 EST 2015


    [ https://issues.jboss.org/browse/WFLY-4332?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13042260#comment-13042260 ] 

Alessio Soldano commented on WFLY-4332:
---------------------------------------

If you remove the @Stateless above, the endpoint is not an EJB3 anymore, it becomes a POJO endpoint. The algorithm for computing the default publish path is different for EJB3 and POJO endpoints (because of spec requirements). So nothing wrong here afaics.

> Wrong path with Stateless WebService and serviceName
> ----------------------------------------------------
>
>                 Key: WFLY-4332
>                 URL: https://issues.jboss.org/browse/WFLY-4332
>             Project: WildFly
>          Issue Type: Bug
>          Components: Web Services
>    Affects Versions: 8.2.0.Final
>            Reporter: Janario Oliveira
>            Assignee: Alessio Soldano
>
> When I have a WebService with serviceName and it is a Stateless It adds a different url.
> e.g.
> @WebService(serviceName = "StatelessWeb") @Stateless
> public class StatelessWebService {
>     public boolean executeTest() {return true;}
> }
> It will be available in /StatelessWeb/StatelessWebService. Once if it isn't a stateless it will be in /StatelessWeb



--
This message was sent by Atlassian JIRA
(v6.3.11#6341)


More information about the jboss-jira mailing list