[ 
https://issues.apache.org/jira/browse/CXF-5981?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Piyush Muthal updated CXF-5981:
-------------------------------
             Description: 
Hi Team,

As you know the register() method is removed from the AbstractTransportFactory 
in CXF 3.0. I found a problem , when CXF tries to create HTTPTransportFactory 
with default name space then it does not register the DestinationFactory in 
DestinationFactoryManager. So in CXFNonSpringServlet when  DestinationFactory 
df = dfm             
.getDestinationFactory("http://cxf.apache.org/transports/http/configuration";) 
is executed then it returns HttpTransportFactory with empty registry. The same 
registry is used by the servlet controller creation. Hence When I hit any URI 
then I get o/p as "Can't find the the request for"                              
   + request.getRequestURL() + "'s Observer. Please suggest me the solution or 
give me appropriate reply for the same.

  was:
Hi Team,

As you know the register() method is removed from the AbstractTransportFactory 
in CXF 3.0. I am found problem , when CXF tries to create HTTPTransportFactory 
with default name space then it does not register the DestinationFactory in 
DestinationFactoryManager. So when in CXFNonSpringServlet when  
DestinationFactory df = dfm             
.getDestinationFactory("http://cxf.apache.org/transports/http/configuration";) 
is executed then it returns HttpTransportFactory with empty registry. The same 
registry is used by the servlet controller creation. Hence When I hit any URI 
then I get o/p as "Can't find the the request for"                              
   + request.getRequestURL() + "'s Observer. Please suggest me the solution or 
give me appropriate reply for the same.

    Estimated Complexity: Advanced  (was: Unknown)

> AbstractTransportFactory does not have register method in CXF 3.0
> -----------------------------------------------------------------
>
>                 Key: CXF-5981
>                 URL: https://issues.apache.org/jira/browse/CXF-5981
>             Project: CXF
>          Issue Type: Bug
>          Components: Bus, Core, JAX-RS, Resources
>    Affects Versions: 3.0.1
>         Environment: Tomcat 7.0 , 
>            Reporter: Piyush Muthal
>             Fix For: NeedMoreInfo
>
>
> Hi Team,
> As you know the register() method is removed from the 
> AbstractTransportFactory in CXF 3.0. I found a problem , when CXF tries to 
> create HTTPTransportFactory with default name space then it does not register 
> the DestinationFactory in DestinationFactoryManager. So in 
> CXFNonSpringServlet when  DestinationFactory df = dfm             
> .getDestinationFactory("http://cxf.apache.org/transports/http/configuration";) 
> is executed then it returns HttpTransportFactory with empty registry. The 
> same registry is used by the servlet controller creation. Hence When I hit 
> any URI then I get o/p as "Can't find the the request for"                    
>              + request.getRequestURL() + "'s Observer. Please suggest me the 
> solution or give me appropriate reply for the same.



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

Reply via email to