Re: ERROR: Cannot find any registered HttpDestinationFactory from the Bus.

2015-05-19 Thread Aki Yoshida
If you do not want to use the embedded jetty server but your servlet
container, you have to use a relative path in the address field.
so something like
 :
>
> Team,
>
> For camel-CXF web service proxy i created a maven JAVA project to configure
> the jetty embedded container as described in the example and run it in
> eclipse and its works fine.
>
> But while delpoying as .war in tomact its giving subject Error.
> ERROR HTTPTransportFactory   - Cannot find any registered
> HttpDestinationFactory from the Bus.
>
> I have removed cxf-rt-transports-http-jetty, i keep only
> cxf-rt-transports-http. How to resolve this.
>
> Below is the endpoint trying to publish, no other config included in my
> spring config file(camel-config.xml).
>
>   
> address="http://localhost:8080/canonicalcxfserviceproxy/webservices/canonical";
>endpointName="xsd:CanonicalSoap"
>serviceName="xsd:Canonical"
>wsdlURL="etc/canonical.wsdl"
>
> xmlns:xsd="http://localhost:8080/canonicalcxfserviceproxy/canonical"/>
>
> Regards
> Jayendran
>
>
>
> --
> View this message in context: 
> http://camel.465427.n5.nabble.com/ERROR-Cannot-find-any-registered-HttpDestinationFactory-from-the-Bus-tp5767130.html
> Sent from the Camel - Users mailing list archive at Nabble.com.


Re: ERROR: Cannot find any registered HttpDestinationFactory from the Bus.

2015-05-19 Thread Willem Jiang
CXF http transport looks up the HttpDestinationFactory for (Jetty or Netty) if 
the address is start with “http://"; or "https://“.
If you don’t put those jar into the class patch, you will get the error.

--  
Willem Jiang

Red Hat, Inc.
Web: http://www.redhat.com
Blog: http://willemjiang.blogspot.com (English)
http://jnn.iteye.com (Chinese)
Twitter: willemjiang  
Weibo: 姜宁willem



On May 20, 2015 at 1:55:47 AM, Aki Yoshida (elak...@gmail.com) wrote:
> If you do not want to use the embedded jetty server but your servlet
> container, you have to use a relative path in the address field.
> so something like
> > address="/canonicalcxfserviceproxy/webservices/canonical"
>  
> and this endpoint will be available under the context path configured
> at your CXFServlet.
>  
>  
> 2015-05-15 8:28 GMT+02:00 jainmcs03 :
> >
> > Team,
> >
> > For camel-CXF web service proxy i created a maven JAVA project to configure
> > the jetty embedded container as described in the example and run it in
> > eclipse and its works fine.
> >
> > But while delpoying as .war in tomact its giving subject Error.
> > ERROR HTTPTransportFactory - Cannot find any registered
> > HttpDestinationFactory from the Bus.
> >
> > I have removed cxf-rt-transports-http-jetty, i keep only
> > cxf-rt-transports-http. How to resolve this.
> >
> > Below is the endpoint trying to publish, no other config included in my
> > spring config file(camel-config.xml).
> >
> > > >
> > address="http://localhost:8080/canonicalcxfserviceproxy/webservices/canonical";
> >   
> > endpointName="xsd:CanonicalSoap"
> > serviceName="xsd:Canonical"
> > wsdlURL="etc/canonical.wsdl"
> >
> > xmlns:xsd="http://localhost:8080/canonicalcxfserviceproxy/canonical"/>  
> >
> > Regards
> > Jayendran
> >
> >
> >
> > --
> > View this message in context: 
> > http://camel.465427.n5.nabble.com/ERROR-Cannot-find-any-registered-HttpDestinationFactory-from-the-Bus-tp5767130.html
> >   
> > Sent from the Camel - Users mailing list archive at Nabble.com.
>  



Re: ERROR: Cannot find any registered HttpDestinationFactory from the Bus.

2015-05-26 Thread Willem Jiang
CXF http transport looks up the HttpDestinationFactory for (Jetty or Netty) if 
the address is start with “http://"; or "https://“.  
If you don’t put those jar into the class patch, you will get the error.  

--  
Willem Jiang  

Red Hat, Inc.  
Web: http://www.redhat.com  
Blog: http://willemjiang.blogspot.com (English)  
http://jnn.iteye.com (Chinese)  
Twitter: willemjiang  
Weibo: 姜宁willem  



On May 20, 2015 at 1:55:47 AM, Aki Yoshida (elak...@gmail.com) wrote:  
> If you do not want to use the embedded jetty server but your servlet  
> container, you have to use a relative path in the address field.  
> so something like  
> > address="/canonicalcxfserviceproxy/webservices/canonical"  
>  
> and this endpoint will be available under the context path configured  
> at your CXFServlet.  
>  
>  
> 2015-05-15 8:28 GMT+02:00 jainmcs03 :  
> >  
> > Team,  
> >  
> > For camel-CXF web service proxy i created a maven JAVA project to configure 
> >  
> > the jetty embedded container as described in the example and run it in  
> > eclipse and its works fine.  
> >  
> > But while delpoying as .war in tomact its giving subject Error.  
> > ERROR HTTPTransportFactory - Cannot find any registered  
> > HttpDestinationFactory from the Bus.  
> >  
> > I have removed cxf-rt-transports-http-jetty, i keep only  
> > cxf-rt-transports-http. How to resolve this.  
> >  
> > Below is the endpoint trying to publish, no other config included in my  
> > spring config file(camel-config.xml).  
> >  
> > > >  
> > address="http://localhost:8080/canonicalcxfserviceproxy/webservices/canonical";
> >   
> > endpointName="xsd:CanonicalSoap"  
> > serviceName="xsd:Canonical"  
> > wsdlURL="etc/canonical.wsdl"  
> >  
> > xmlns:xsd="http://localhost:8080/canonicalcxfserviceproxy/canonical"/>  
> >  
> > Regards  
> > Jayendran  
> >  
> >  
> >  
> > --  
> > View this message in context: 
> > http://camel.465427.n5.nabble.com/ERROR-Cannot-find-any-registered-HttpDestinationFactory-from-the-Bus-tp5767130.html
> >   
> > Sent from the Camel - Users mailing list archive at Nabble.com.  
>