Hi,

Did you already add
<dependency>
            <groupId>org.apache.servicemix</groupId>
            <artifactId>servicemix-http</artifactId>
            <version>${servicemix-http-version}</version>
        </dependency>

for your http endpoint su?

I'm not exactly sure what happened for your case, I guess some dependency missing cause this problem. Btw, we have a bridge example shipped with smx4 kit which has a http endpoint su, you may need take a look at it to see how it works.
Hope this helps.

Freeman
On 2010-10-23, at 下午10:08, Felipe Fraga wrote:

Hello.

JBI.

Here's from my pom.xml in the SU project

 <packaging>jbi-service-unit</packaging>

Thanks.

Felipe

On Fri, Oct 22, 2010 at 2:57 AM, Freeman Fang <[email protected]>wrote:

Hi,

What kind of packaging you're using? JBI or OSGi?

Freeman

On 2010-10-22, at 下午12:05, Felipe Fraga wrote:

Hello all.

I googled for it, but unfortunately without success.

I am deploying a very simple SU for servicemix-http. Here is my xbean:

<beans xmlns="http://www.springframework.org/schema/beans";
 xmlns:http="http://servicemix.apache.org/http/1.0";
 xmlns:ss="http://mydomain/ss";
 xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance";
 xsi:schemaLocation="http://servicemix.apache.org/cxfbc/1.0
http://servicemix.apache.org/schema/servicemix-cxfbc-2010.01.xsd
    http://www.springframework.org/schema/beans
http://www.springframework.org/schema/beans/spring-beans-2.0.xsd";>

 <http:endpoint defaultMep="http://www.w3.org/2004/08/wsdl/in-out";
     locationURI="http://0.0.0.0:8193/ss/services/SimpleService";
     role="consumer"
     soap="true"
     targetService="ss:SimpleService"
     endpoint="SimpleExternalEndpoint" />

 <http:endpoint wsdlResource="classpath:SimpleService.wsdl"
     role="provider"
     locationURI="http://localhost:8080/sso/services/SimpleService";
     service="ss:SimpleService"
     endpoint="SimpleInternalEndpoint" />

</beans>

Also the servicemix-http feature is installed as following (listed with
features:list):
[installed  ] [2010.01.0-fuse-02-00] servicemix-http
repo-0

At last, I have a clean install of fuse 4.3 (also tried in 4.2), same
error.

But still I get:
java.lang.ClassNotFoundException: org.apache.servicemix.http.HttpEndpoint
in
classloader
org .apache .xbean.spring.context.filesystemxmlapplicationcont...@4749fee8

Isn't this class supposed to be installed and available?

Thanks in advance.

Best regards,

Felipe Fraga



--
Freeman Fang

------------------------
blog: http://freemanfang.blogspot.com
twitter: http://twitter.com/freemanfang
Open Source SOA: http://fusesource.com
Apache Servicemix:http://servicemix.apache.org
Apache Cxf: http://cxf.apache.org
Apache Karaf: http://karaf.apache.org
Apache Felix: http://felix.apache.org




--
Freeman Fang

------------------------
blog: http://freemanfang.blogspot.com
twitter: http://twitter.com/freemanfang
Open Source SOA: http://fusesource.com
Apache Servicemix:http://servicemix.apache.org
Apache Cxf: http://cxf.apache.org
Apache Karaf: http://karaf.apache.org
Apache Felix: http://felix.apache.org

Reply via email to