Switching ServiceRef naming builder
-----------------------------------

                 Key: GERONIMO-2791
                 URL: https://issues.apache.org/jira/browse/GERONIMO-2791
             Project: Geronimo
          Issue Type: New Feature
      Security Level: public (Regular issues)
          Components: webservices
    Affects Versions: 2.0-beta1
            Reporter: Jarek Gawor


Since NamingBuilderCollection/AbstractBuilderCollection does not allow two 
naming builders to be registered for the same element in the deployment 
descriptor (and even if this was allowed, one naming builder might accept some 
values that the other rejects), a SwitchingServiceRefBuilder naming builder was 
added to handle service-ref elements. The service-ref elements can specify both 
JAX-RPC and JAX-WS endpoints. JAX-RCP endpoints are handled by Axis1 while 
JAX-WS endpoints can either be handled by CXF or Axis2. So the 
SwitchingServiceRefBuilder forwards the requests to the appropriate builder by 
figuring out what sort of endpoint is specified in the service-ref element. 
The attached patch contains the SwitchingServiceRefBuilder code, as well as 
updates to the Axis1ServiceRefBuilder, and a skeleton code for 
CXFServiceRefBuilder (and appropriate plan updates to use the 
SwitchingServiceRefBuilder).




-- 
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