Uploaded image for project: 'JBoss Web Services'
  1. JBoss Web Services
  2. JBWS-2115

EJB client vehicle not sufficiently isolated

XMLWordPrintable

      The endpoint war contains a SEI

      @HandlerChain(file="SimpleEndpoint_handler.xml")
      com.sun.ts.tests.jaxws.wsi.w2j.rpc.literal.R2739.SimpleEndpoint

      the client vehicles contain a SEI with the same name, but without the @HandlerChain annotation

      When the client calls Service.getPort(SimpleEndpoint.class)

      the SEI is incorrecly loaded from the endpoint war. All deployments are generated with a loader repository

      00:11:43,091 INFO [JAXWSWebServiceMetaDataBuilder] processHandlerChain [SimpleEndpoint_handler.xml] on: com.sun.ts.tests.jaxws.wsi.w2j.rpc.literal.R2739.SimpleEndpoint
      00:11:43,091 INFO [JAXWSWebServiceMetaDataBuilder] (vfsfile:/home/tdiesler/svn/jbossas/trunk/build/output/jboss-5.0.0.Beta2/server/cts/tmp/jsr88/WSW2JRLR2739TestService.ear/WSW2JRLR2739TestService_web.war/WEB-INF/classes/ <no signer certificates>)
      0

      3-15-2007 06:55:49: SVR-ERROR: org.jboss.ws.WSException: Cannot resolve handler file 'SimpleEndpoint_handler.xml' on com.sun.ts.tests.jaxws.wsi.w2j.rpc.literal.R1007.SimpleEndpoint
      at org.jboss.ws.metadata.builder.jaxws.JAXWSMetaDataBuilder.processHandlerChain(JAXWSMetaDataBuilder.java:221)
      at org.jboss.ws.metadata.builder.jaxws.JAXWSClientMetaDataBuilder.rebuildEndpointMetaData(JAXWSClientMetaDataBuilder.java:201)
      at org.jboss.ws.core.jaxws.spi.ServiceDelegateImpl.getPortInternal(ServiceDelegateImpl.java:207)
      at org.jboss.ws.core.jaxws.spi.ServiceDelegateImpl.getPort(ServiceDelegateImpl.java:196)
      at javax.xml.ws.Service.getPort(Service.java:185)
      at com.sun.ts.tests.jaxws.sharedclients.StubContext.createJavaEEStub(StubContext.java:138)

              ropalka Richard Opalka
              tdiesler@redhat.com Thomas Diesler
              Votes:
              1 Vote for this issue
              Watchers:
              0 Start watching this issue

                Created:
                Updated:
                Resolved: