I am trying to convert a jsr181 service to a cxf-se service

*Here is my xbean declaration:*
*<beans xmlns:cxfse="http://servicemix.apache.org/cxfse/1.0"*
*    xmlns="http://www.springframework.org/schema/beans"*
*    xmlns:xsi="http://http://www.w3.org/2001/XMLSchema-instance"*
*    xsi:schemaLocation="http://servicemix.apache.org/cxfse/1.0
http://servicemix.apache.org/schema/servicemix-cxfse-3.3.1.5-fuse.xsd*
*    http://www.springframework.org/schema/beans
http://www.springframework.org/schema/beans/spring-beans-2.0.xsd";>*

*    <cxfse:endpoint>*
*        <cxfse:pojo>*
*            <bean class="com.servepath.gogrid.impl.StorageESBManagerImpl">
</bean>*
*        </cxfse:pojo>       *
*    </cxfse:endpoint>*
*</beans>*



*Here is my service class:*

[EMAIL PROTECTED](name = "StorageService", targetNamespace = "
http://localhost:8081/services/storageService";)
public class StorageESBManagerImpl
        implements StorageESBManager {
//REMOVED FOR CLARITY

    @WebMethod
    @WebResult(name = "changeRequestId")
    public String createProvision(@WebParam(name = "customerId")String
customerId,
                                  @WebParam(name = "quota")String quota)
            throws java.io.IOException {

        try {
            sendToJbi(customerId, quota);
        }
        catch (JBIException jbiException) {
            jbiException.printStackTrace();
            return jbiException.getMessage();
        }

        Random changeRequestIdRand = new Random(19580427);
        return changeRequestIdRand.nextInt() + "";
    }

*





*Here is the stack coming out of the SM console:*

*INFO  - ServiceUnitLifeCycle           - Starting service unit:
storage-manager-cxf-se-su
DEBUG - CxfSeComponent                 - Starting service unit
DEBUG - ComponentContextImpl           - Component: servicemix-cxf-se
activated endpoint: {
http://localhost:8081/services/storageService}StorageESBMan
agerImplService : StorageServicePort
DEBUG - CxfSeComponent                 - Querying service description for
ServiceEndpoint[service={http://localhost:8081/services/storageService}Stora
geESBManagerImplService,endpoint=StorageServicePort]
DEBUG - CxfSeComponent                 - No description found for {
http://localhost:8081/services/storageService}StorageESBManagerImplService:StorageS
ervicePort
DEBUG - WSDL1Processor                 - Endpoint ServiceEndpoint[service={
http://localhost:8081/services/storageService}StorageESBManagerImplService,
endpoint=StorageServicePort] has no service description
DEBUG - CxfSeComponent                 - Querying service description for
ServiceEndpoint[service={http://localhost:8081/services/storageService}Stora
geESBManagerImplService,endpoint=StorageServicePort]
DEBUG - CxfSeComponent                 - No description found for {
http://localhost:8081/services/storageService}StorageESBManagerImplService:StorageS
ervicePort
DEBUG - WSDL2Processor                 - Endpoint ServiceEndpoint[service={
http://localhost:8081/services/storageService}StorageESBManagerImplService,
endpoint=StorageServicePort] has no service description
DEBUG - JCAFlow                        - ServiceMix: broadcasting info for
org.apache.servicemix.jbi.event.EndpointEvent[source=ServiceEndpoint[servic
e={
http://localhost:8081/services/storageService}StorageESBManagerImplService,endpoint=StorageServicePort
]]
DEBUG - JMSFlow                        - ServiceMix: broadcasting info for
org.apache.servicemix.jbi.event.EndpointEvent[source=ServiceEndpoint[servic
e={
http://localhost:8081/services/storageService}StorageESBManagerImplService,endpoint=StorageServicePort
]]
Sep 3, 2008 1:20:37 PM
org.apache.cxf.service.factory.ReflectionServiceFactoryBean
buildServiceFromClass
INFO: Creating Service {
http://localhost:8081/services/storageService}StorageESBManagerImplServicefrom
class com.servepath.gogrid.impl.StorageESBMana
gerImpl
DEBUG - DefaultListableBeanFactory     - Creating shared instance of
singleton bean 'org.apache.cxf.transport.jbi.JBITransportFactory'
DEBUG - DefaultListableBeanFactory     - Creating instance of bean
'org.apache.cxf.transport.jbi.JBITransportFactory' with merged definition
[Root bea
n: class [org.apache.cxf.transport.jbi.JBITransportFactory];
scope=singleton; abstract=false; lazyInit=true; autowireCandidate=true;
autowireMode=0; d
ependencyCheck=0; factoryBeanName=null; factoryMethodName=null;
initMethodName=null; destroyMethodName=null; defined in class path resource
[META-INF/
cxf/cxf-extension-jbi.xml]]
DEBUG - CachedIntrospectionResults     - Not strongly caching class
[org.apache.cxf.transport.jbi.JBITransportFactory] because it is not
cache-safe
DEBUG - DefaultListableBeanFactory     - Eagerly caching bean
'org.apache.cxf.transport.jbi.JBITransportFactory' to allow for resolving
potential circ
ular references
DEBUG - DefaultListableBeanFactory     - Returning cached instance of
singleton bean 'cxf'
DEBUG - DefaultListableBeanFactory     - Returning cached instance of
singleton bean 'org.apache.cxf.transport.jbi.JBITransportFactory'
DEBUG - DefaultListableBeanFactory     - Creating shared instance of
singleton bean 'org.apache.cxf.binding.jbi.JBIBindingFactory'
DEBUG - DefaultListableBeanFactory     - Creating instance of bean
'org.apache.cxf.binding.jbi.JBIBindingFactory' with merged definition [Root
bean: class [org.apache.cxf.binding.jbi.JBIBindingFactory]; scope=singleton;
abstract=false; lazyInit=true; autowireCandidate=true; autowireMode=0;
dependenc
yCheck=0; factoryBeanName=null; factoryMethodName=null; initMethodName=null;
destroyMethodName=null; defined in class path resource [META-INF/cxf/cxf-
extension-jbi-binding.xml]]
DEBUG - CachedIntrospectionResults     - Not strongly caching class
[org.apache.cxf.binding.jbi.JBIBindingFactory] because it is not cache-safe
DEBUG - DefaultListableBeanFactory     - Eagerly caching bean
'org.apache.cxf.binding.jbi.JBIBindingFactory' to allow for resolving
potential circular references
DEBUG - DefaultListableBeanFactory     - Returning cached instance of
singleton bean 'cxf'
DEBUG - DefaultListableBeanFactory     - Returning cached instance of
singleton bean 'org.apache.cxf.binding.jbi.JBIBindingFactory'
DEBUG - DefaultListableBeanFactory     - Returning cached instance of
singleton bean 'org.apache.cxf.transport.jbi.JBITransportFactory'
DEBUG - DefaultListableBeanFactory     - Returning cached instance of
singleton bean 'org.apache.cxf.transport.jbi.JBITransportFactory'
Sep 3, 2008 1:20:38 PM org.apache.cxf.configuration.spring.ConfigurerImpl
getBeanName
INFO: Could not determine bean name for instance of class
org.apache.cxf.transport.jbi.JBIDestination.*

Now when I go to
*http://localhost:8081/services/ChangeRequestService/?wsdl*I get a 404
not found error.
---
Thank You…

Mick Knutson
BASE Logic, inc.
(415) 354-4215

Website: http://baselogic.com
Blog: http://baselogic.com/blog
BLiNC Magazine: http://blincmagazine.com
Linked IN: http://linkedin.com/in/mickknutson
DJ Mick: http://djmick.com
MySpace: http://myspace.com/mickknutson
Vacation Rental: http://tahoe.baselogic.com

Reply via email to