[jbossws-issues] [JBoss JIRA] Created: (JBWS-3148) When multiple one-waye web services are deployed via a single war/root context the server calls them interchangeably in a random manner

Charles Piazza (JIRA) jira-events at lists.jboss.org
Fri Oct 15 10:36:40 EDT 2010


When multiple one-waye web services are deployed via a single war/root context the server calls them interchangeably in a random manner
---------------------------------------------------------------------------------------------------------------------------------------

                 Key: JBWS-3148
                 URL: https://jira.jboss.org/browse/JBWS-3148
             Project: JBoss Web Services
          Issue Type: Bug
      Security Level: Public (Everyone can see)
          Components: jbossws-cxf
    Affects Versions: jbossws-cxf-3.3.1
         Environment: Windows XP SP 3
JBoss 6.0.0.20100429-M3
jbossws-cxf-3.3.1.GA
Java 1.6.0_21
            Reporter: Charles Piazza


If multipe web services annotated with the @Oneway keyword are deployed via the same war file to the same application root context, then the application will randomly call the wrong service, even if the method signatures differ.

For example, if the application project is TestOneWayService and it contains two one-way web services, TestService1 and TestService2, which are deployed to JBoss AS via TestOneWayService.war -- these services will be randomly called incorrectly -- that is, service #2 will be randomly invoked when the client is explicitly calling service #1. This will happen whether or not the method signatures of both services are similar or different.

I have included a complete code example of both services side and client side in the referenced forum post.

-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: https://jira.jboss.org/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira

        


More information about the jbossws-issues mailing list