Deploying a JAXWS Service with a HandlerChain specified causes NPE
------------------------------------------------------------------

                 Key: CXF-1529
                 URL: https://issues.apache.org/jira/browse/CXF-1529
             Project: CXF
          Issue Type: Bug
          Components: JAX-WS Runtime
    Affects Versions: 2.0.5
         Environment: Windows XP.
            Reporter: Scott Paisey


When attempting to deploy a simple JAXWS service with a HandlerChain specified, 
HandlerChainBuilder.buildHandlerChain() line 107 throws NPE.
PortComponentHandlerType.getHandlerName().getValue() causes the problem as 
handler name is null.

Annotations used in Service implementation:

@WebService(
            targetNamespace = "com.test.service",
            endpointInterface = "com.test.service.HelloService"
           )
@HandlerChain(file = "/com/test/service/proxy/handlers.xml")

handlers.xml file is packaged in the same jar as the service implementation and 
is not being read from disk.

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.

Reply via email to