ESB can not access wsdl of .net

david.sun's picture
Hi, I create a webservice based on .net.I want to use esb as a proxy for my webservice. But when I deploy esb,there is a strange error.I try a lot of times to resolve it,but fail. I hope you can give me some useful suggestions.Thanks. ==============ERROR MESSAGE========================== 2009-06-15 16:20:37,640 [10.0.100.112-D750F4D41CD54A5] [Start Level Event Dispat cher] ERROR PersistenceManager Unable to handle service initialization. Service: mobile org.wso2.carbon.registry.core.exceptions.ResourceNotFoundException: Resource doe s not exist at path /carbon/service-groups/mobile/services/mobile/operations/Sig nOn at org.wso2.carbon.registry.core.jdbc.BasicRegistry.get(BasicRegistry.ja va:207) at org.wso2.carbon.registry.core.jdbc.AtomicRegistry.get(AtomicRegistry. java:180) at org.wso2.carbon.registry.core.jdbc.JDBCRegistry.get(JDBCRegistry.java :443) at org.wso2.carbon.registry.core.session.UserRegistry.get(UserRegistry.j ava:259) at org.wso2.carbon.core.persistence.PersistenceManager.handleExistingSer viceInit(PersistenceManager.java:1095) at org.wso2.carbon.core.deployment.DeploymentInterceptor.serviceUpdate(D eploymentInterceptor.java:165) at org.apache.axis2.engine.AxisConfiguration.notifyObservers(AxisConfigu ration.java:519) at org.apache.axis2.engine.AxisConfiguration.addServiceGroup(AxisConfigu ration.java:355) at org.apache.axis2.engine.AxisConfiguration.addService(AxisConfiguratio n.java:293) at org.apache.synapse.core.axis2.ProxyService.buildAxisService(ProxyServ ice.java:499) at org.apache.synapse.core.axis2.SynapseInitializationModule.init(Synaps eInitializationModule.java:173) at org.apache.axis2.context.ConfigurationContextFactory.initModules(Conf igurationContextFactory.java:249) at org.apache.axis2.context.ConfigurationContextFactory.init(Configurati onContextFactory.java:227) at org.apache.axis2.context.ConfigurationContextFactory.createConfigurat ionContext(ConfigurationContextFactory.java:94) at org.wso2.carbon.core.CarbonConfigurationContextFactory.createNewConfi gurationContext(CarbonConfigurationContextFactory.java:79) at org.wso2.carbon.core.ServerManager.start(ServerManager.java:130) at org.wso2.carbon.core.StartupServlet.start(StartupServlet.java:254) at org.wso2.carbon.core.StartupServlet.init(StartupServlet.java:190) at org.eclipse.equinox.http.servlet.internal.ServletRegistration.init(Se rvletRegistration.java:64) at org.eclipse.equinox.http.servlet.internal.ProxyServlet.registerServle t(ProxyServlet.java:142) at org.eclipse.equinox.http.servlet.internal.HttpServiceImpl.registerSer vlet(HttpServiceImpl.java:50) at org.wso2.carbon.core.internal.Activator.start(Activator.java:58) at org.eclipse.osgi.framework.internal.core.BundleContextImpl$2.run(Bund leContextImpl.java:999) at java.security.AccessController.doPrivileged(Native Method) at org.eclipse.osgi.framework.internal.core.BundleContextImpl.startActiv ator(BundleContextImpl.java:993) at org.eclipse.osgi.framework.internal.core.BundleContextImpl.start(Bund leContextImpl.java:974) at org.eclipse.osgi.framework.internal.core.BundleHost.startWorker(Bundl eHost.java:346) at org.eclipse.osgi.framework.internal.core.AbstractBundle.resume(Abstra ctBundle.java:350) at org.eclipse.osgi.framework.internal.core.Framework.resumeBundle(Frame work.java:1118) at org.eclipse.osgi.framework.internal.core.StartLevelManager.resumeBund les(StartLevelManager.java:634) at org.eclipse.osgi.framework.internal.core.StartLevelManager.incFWSL(St artLevelManager.java:508) at org.eclipse.osgi.framework.internal.core.StartLevelManager.doSetStart Level(StartLevelManager.java:282) at org.eclipse.osgi.framework.internal.core.StartLevelManager.dispatchEv ent(StartLevelManager.java:468) at org.eclipse.osgi.framework.eventmgr.EventManager.dispatchEvent(EventM anager.java:195) at org.eclipse.osgi.framework.eventmgr.EventManager$EventThread.run(Even tManager.java:297) 2009-06-15 16:20:37,796 [10.0.100.112-D750F4D41CD54A5] [Start Level Event Dispat cher] ERROR DeploymentInterceptor Exception occurred while handling service upda te event. Service java.lang.Exception: org.wso2.carbon.registry.core.exceptions.ResourceNotFoundEx ception: Resource does not exist at path /carbon/service-groups/mobile/services/ mobile/operations/SignOn at org.wso2.carbon.core.persistence.PersistenceManager.handleExistingSer viceInit(PersistenceManager.java:1474) at org.wso2.carbon.core.deployment.DeploymentInterceptor.serviceUpdate(D eploymentInterceptor.java:165) at org.apache.axis2.engine.AxisConfiguration.notifyObservers(AxisConfigu ration.java:519) at org.apache.axis2.engine.AxisConfiguration.addServiceGroup(AxisConfigu ration.java:355) at org.apache.axis2.engine.AxisConfiguration.addService(AxisConfiguratio n.java:293) at org.apache.synapse.core.axis2.ProxyService.buildAxisService(ProxyServ ice.java:499) at org.apache.synapse.core.axis2.SynapseInitializationModule.init(Synaps eInitializationModule.java:173) at org.apache.axis2.context.ConfigurationContextFactory.initModules(Conf igurationContextFactory.java:249) at org.apache.axis2.context.ConfigurationContextFactory.init(Configurati onContextFactory.java:227) at org.apache.axis2.context.ConfigurationContextFactory.createConfigurat ionContext(ConfigurationContextFactory.java:94) at org.wso2.carbon.core.CarbonConfigurationContextFactory.createNewConfi gurationContext(CarbonConfigurationContextFactory.java:79) at org.wso2.carbon.core.ServerManager.start(ServerManager.java:130) at org.wso2.carbon.core.StartupServlet.start(StartupServlet.java:254) at org.wso2.carbon.core.StartupServlet.init(StartupServlet.java:190) at org.eclipse.equinox.http.servlet.internal.ServletRegistration.init(Se rvletRegistration.java:64) at org.eclipse.equinox.http.servlet.internal.ProxyServlet.registerServle t(ProxyServlet.java:142) at org.eclipse.equinox.http.servlet.internal.HttpServiceImpl.registerSer vlet(HttpServiceImpl.java:50) at org.wso2.carbon.core.internal.Activator.start(Activator.java:58) at org.eclipse.osgi.framework.internal.core.BundleContextImpl$2.run(Bund leContextImpl.java:999) at java.security.AccessController.doPrivileged(Native Method) at org.eclipse.osgi.framework.internal.core.BundleContextImpl.startActiv ator(BundleContextImpl.java:993) at org.eclipse.osgi.framework.internal.core.BundleContextImpl.start(Bund leContextImpl.java:974) at org.eclipse.osgi.framework.internal.core.BundleHost.startWorker(Bundl eHost.java:346) at org.eclipse.osgi.framework.internal.core.AbstractBundle.resume(Abstra ctBundle.java:350) at org.eclipse.osgi.framework.internal.core.Framework.resumeBundle(Frame work.java:1118) at org.eclipse.osgi.framework.internal.core.StartLevelManager.resumeBund les(StartLevelManager.java:634) at org.eclipse.osgi.framework.internal.core.StartLevelManager.incFWSL(St artLevelManager.java:508) at org.eclipse.osgi.framework.internal.core.StartLevelManager.doSetStart Level(StartLevelManager.java:282) at org.eclipse.osgi.framework.internal.core.StartLevelManager.dispatchEv ent(StartLevelManager.java:468) at org.eclipse.osgi.framework.eventmgr.EventManager.dispatchEvent(EventM anager.java:195) at org.eclipse.osgi.framework.eventmgr.EventManager$EventThread.run(Even tManager.java:297) Caused by: org.wso2.carbon.registry.core.exceptions.ResourceNotFoundException: R esource does not exist at path /carbon/service-groups/mobile/services/mobile/ope rations/SignOn at org.wso2.carbon.registry.core.jdbc.BasicRegistry.get(BasicRegistry.ja va:207) at org.wso2.carbon.registry.core.jdbc.AtomicRegistry.get(AtomicRegistry. java:180) at org.wso2.carbon.registry.core.jdbc.JDBCRegistry.get(JDBCRegistry.java :443) at org.wso2.carbon.registry.core.session.UserRegistry.get(UserRegistry.j ava:259) at org.wso2.carbon.core.persistence.PersistenceManager.handleExistingSer viceInit(PersistenceManager.java:1095) ... 30 more 2009-06-15 16:20:37,984 [10.0.100.112-D750F4D41CD54A5] [Start Level Event Dispat cher] INFO ProxyService Successfully created the Axis2 service for Proxy servic e : mobile 2009-06-15 16:20:37,984 [10.0.100.112-D750F4D41CD54A5] [Start Level Event Dispat cher] INFO SynapseInitializationModule Deployed Proxy service : mobile 2009-06-15 16:20:37,984 [10.0.100.112-D750F4D41CD54A5] [Start Level Event Dispat cher] INFO SynapseInitializationModule Synapse initialized successfully...! 2009-06-15 16:20:38,015 [10.0.100.112-D750F4D41CD54A5] [Start Level Event Dispat cher] INFO HttpCoreNIOSSLSender Loading Identity Keystore from : resources/secu rity/wso2carbon.jks ======================synapse.xml============================ file:repository/samples/resources/ 5000
===========================WSDL================================================== <?xml version="1.0" encoding="utf-8" ?> - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
supun's picture

What is the version of ESB

What is the version of ESB you are using? Also can you provide the proxy service configuration you are using? Without these it is hard to give an answer. Thanks, Supun..
david.sun's picture

Hello,I'm from

Hello,I'm from China. msn:sundawei526@hotmail.com I have resovled this problem.But the problem was very strange. What I did was just change the proxy name mobile to mobileService, then I restarted ESB,It worked fine. If webservice was developed based on java, the proxy name must mobile rather than mobileService. If the proxy name was moileService, the esb throwed error: ERROR PersistenceManager Unable to handle service initialization. Service: mobileService org.wso2.carbon.registry.core.exceptions.ResourceNotFoundException: Resource doe s not exist at path /carbon/service-groups/mobileService/services/mobileService/ operations/getPrice I am confused about this problem. Could you please tell me why?
supun's picture

The service details are

The service details are persisted to the Registry. If you clean the registry and start the ESB this should go away. Clean the database directory and start with -Dsetup. Still it is hard to tell what causes the exact issue. Supun..
library project main code
Learn Cloud
Learn
Cloud

The WSO2 Application Server is a reliable application server that can host your enterprise web applications. The WSO2 Application Server as a Service is offered in StratosLive, the WSO2 Platform as a Service. This article explains how a simple web application can be developed and deployed from Carbon Studio to the WSO2 Application Server...

Latest Webinar
Different groups within an organization need to monitor different Key Performance Indicators (KPIs) - An operations team will be interested in the response times of business services and loads of each service,..
Thursday, February 9th 2012, 09.00 AM (PST)

Thursday, February 9th 2012, 10.00 AM (GMT)