I am trying to create a plain servlet

I have this in the web.composite
    <component name="HTTPBindingComponent">
     <implementation.java class="com.ibm.eed
.service.test.BindingHttpImpl"/>
        <service name="BindingHttpImpl">
                <tuscany:binding.http uri="testBinding"/>
        </service>
    </component>


this is the implementation file:

package com.ibm.eed.service.test;
import java.io.IOException;
import javax.servlet.*;
import org.osoa.sca.annotations.Service;

@Service(Servlet.class)
public class BindingHttpImpl implements Servlet {

        @Override
        public void destroy() {
                // TODO Auto-generated method stub
 
        }
......

}


this is the error I get when I start the server
Oct 27, 2009 10:42:01 AM 
org.apache.tuscany.sca.assembly.builder.impl.ComponentConfigurationBuilderImpl
WARNING: Service not found for component service: Component = 
HTTPBindingComponent Service = BindingHttpImpl
Oct 27, 2009 10:42:01 AM 
org.apache.tuscany.sca.assembly.builder.impl.CompositeBindingURIBuilderImpl
WARNING: Service not found for component service: Component = 
HTTPBindingComponent Service = BindingHttpImpl

....

WARNING: Skipping component service not defined in the component type: 
HTTPBindingComponent#BindingHttpImpl



not sure what am I missing or what I can do to fix this.



Willis C White III 
IQ Technology Projects
IBM CIO Technology & Innovation
Home office 845 331-5134
Cell 845 853-3827
 

 

<<image/gif>>

Reply via email to