[jboss-user] [JBossWS] - Re: Providing your own wsdl instead of the generated one.

JBossWS_NewBee do-not-reply at jboss.com
Tue Aug 19 17:20:28 EDT 2008


Looks like I am out of luck again :( 
Oh! this is so frustrating..

So, I made the following update to my wsdl:

  | <service name='EchoService'>
  |   <documentation>Congrats!  You have published your own WSDL!</documentation>
  |   <port binding='tns:EchoBinding' name='EchoPort'>
  |    <soap:address location='http://localhost:8080/echo'/>
  |   </port>
  |  </service>

packaged the war and deployed it and now I see this error in the JBossConsole:


  | 12:38:28,359 INFO  [WSDLFilePublisher] WSDL published to: file:/C:/sfsl/runtime/
  | localhost/workstation/jboss/data/wsdl/echo.war/EchoService.wsdl
  | 12:38:28,359 ERROR [ServiceEndpointDeployer] Cannot start service endpoint
  | org.jboss.ws.WSException: Cannot load service endpoint interface: echo.Echo
  |         at org.jboss.ws.metadata.umdm.EndpointMetaData.getServiceEndpointInterfa
  | ce(EndpointMetaData.java:238)
  |         at org.jboss.ws.metadata.umdm.EndpointMetaData.eagerInitializeOperations
  | (EndpointMetaData.java:510)
  |         at org.jboss.ws.metadata.umdm.EndpointMetaData.initializeInternal(Endpoi
  | ntMetaData.java:504)
  |         at org.jboss.ws.metadata.umdm.EndpointMetaData.eagerInitialize(EndpointM
  | etaData.java:492)
  |         at org.jboss.ws.metadata.umdm.ServiceMetaData.eagerInitialize(ServiceMet
  | aData.java:429)
  |         at org.jboss.ws.metadata.umdm.UnifiedMetaData.eagerInitialize(UnifiedMet
  | aData.java:192)
  |         at org.jboss.ws.core.server.ServiceEndpoint.start(ServiceEndpoint.java:1
  | 12)
  |         at org.jboss.ws.core.server.ServiceEndpointManager.startServiceEndpoint(
  | ServiceEndpointManager.java:702)
  |         at org.jboss.ws.core.server.ServiceEndpointDeployer.start(ServiceEndpoin
  | tDeployer.java:140)
  |         at org.jboss.ws.integration.jboss42.DeployerInterceptor.startServiceEndp
  | oint(DeployerInterceptor.java:144)
  |         at org.jboss.ws.integration.jboss42.DeployerInterceptor.start(DeployerIn
  | terceptor.java:96)
  |         at org.jboss.deployment.SubDeployerInterceptorSupport$XMBeanInterceptor.
  | start(SubDeployerInterceptorSupport.java:188)
  |         at org.jboss.deployment.SubDeployerInterceptor.invoke(SubDeployerInterce
  | ptor.java:95)
  |         at org.jboss.mx.server.Invocation.invoke(Invocation.java:88)
  |         at org.jboss.mx.server.AbstractMBeanInvoker.invoke(AbstractMBeanInvoker.
  | java:264)
  |         at org.jboss.mx.server.MBeanServerImpl.invoke(MBeanServerImpl.java:659)
  |         at org.jboss.mx.util.MBeanProxyExt.invoke(MBeanProxyExt.java:210)
  |         at $Proxy47.start(Unknown Source)
  |         at org.jboss.deployment.MainDeployer.start(MainDeployer.java:1025)
  |         at org.jboss.deployment.MainDeployer.deploy(MainDeployer.java:819)
  |         at org.jboss.deployment.MainDeployer.deploy(MainDeployer.java:782)
  |         at sun.reflect.GeneratedMethodAccessor24.invoke(Unknown Source)
  |         at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAcces
  | sorImpl.java:25)
  |         at java.lang.reflect.Method.invoke(Method.java:585)
  |         at org.jboss.mx.interceptor.ReflectedDispatcher.invoke(ReflectedDispatch
  | er.java:155)
  |         at org.jboss.mx.server.Invocation.dispatch(Invocation.java:94)
  |         at org.jboss.mx.interceptor.AbstractInterceptor.invoke(AbstractIntercept
  | or.java:133)
  |         at org.jboss.mx.server.Invocation.invoke(Invocation.java:88)
  |         at org.jboss.mx.interceptor.ModelMBeanOperationInterceptor.invoke(ModelM
  | BeanOperationInterceptor.java:142)
  |         at org.jboss.mx.server.Invocation.invoke(Invocation.java:88)
  |         at org.jboss.mx.server.AbstractMBeanInvoker.invoke(AbstractMBeanInvoker.
  | java:264)
  |         at org.jboss.mx.server.MBeanServerImpl.invoke(MBeanServerImpl.java:659)
  |         at org.jboss.mx.util.MBeanProxyExt.invoke(MBeanProxyExt.java:210)
  |         at $Proxy10.deploy(Unknown Source)
  |         at org.jboss.deployment.scanner.URLDeploymentScanner.deploy(URLDeploymen
  | tScanner.java:421)
  |         at org.jboss.deployment.scanner.URLDeploymentScanner.scan(URLDeploymentS
  | canner.java:634)
  |         at org.jboss.deployment.scanner.AbstractDeploymentScanner$ScannerThread.
  | doScan(AbstractDeploymentScanner.java:263)
  |         at org.jboss.deployment.scanner.AbstractDeploymentScanner.startService(A
  | bstractDeploymentScanner.java:336)
  |         at org.jboss.system.ServiceMBeanSupport.jbossInternalStart(ServiceMBeanS
  | upport.java:289)
  |         at org.jboss.system.ServiceMBeanSupport.jbossInternalLifecycle(ServiceMB
  | eanSupport.java:245)
  |         at sun.reflect.GeneratedMethodAccessor5.invoke(Unknown Source)
  |         at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAcces
  | sorImpl.java:25)
  |         at java.lang.reflect.Method.invoke(Method.java:585)
  |         at org.jboss.mx.interceptor.ReflectedDispatcher.invoke(ReflectedDispatch
  | er.java:155)
  |         at org.jboss.mx.server.Invocation.dispatch(Invocation.java:94)
  |         at org.jboss.mx.server.Invocation.invoke(Invocation.java:86)
  |         at org.jboss.mx.server.AbstractMBeanInvoker.invoke(AbstractMBeanInvoker.
  | java:264)
  |         at org.jboss.mx.server.MBeanServerImpl.invoke(MBeanServerImpl.java:659)
  |         at org.jboss.system.ServiceController$ServiceProxy.invoke(ServiceControl
  | ler.java:978)
  |         at $Proxy0.start(Unknown Source)
  |         at org.jboss.system.ServiceController.start(ServiceController.java:417)
  |         at sun.reflect.GeneratedMethodAccessor11.invoke(Unknown Source)
  |         at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAcces
  | sorImpl.java:25)
  |         at java.lang.reflect.Method.invoke(Method.java:585)
  |         at org.jboss.mx.interceptor.ReflectedDispatcher.invoke(ReflectedDispatch
  | er.java:155)
  |         at org.jboss.mx.server.Invocation.dispatch(Invocation.java:94)
  |         at org.jboss.mx.server.Invocation.invoke(Invocation.java:86)
  |         at org.jboss.mx.server.AbstractMBeanInvoker.invoke(AbstractMBeanInvoker.
  | java:264)
  |         at org.jboss.mx.server.MBeanServerImpl.invoke(MBeanServerImpl.java:659)
  |         at org.jboss.mx.util.MBeanProxyExt.invoke(MBeanProxyExt.java:210)
  |         at $Proxy4.start(Unknown Source)
  |         at org.jboss.deployment.SARDeployer.start(SARDeployer.java:302)
  |         at org.jboss.deployment.MainDeployer.start(MainDeployer.java:1025)
  |         at org.jboss.deployment.MainDeployer.deploy(MainDeployer.java:819)
  |         at org.jboss.deployment.MainDeployer.deploy(MainDeployer.java:782)
  |         at org.jboss.deployment.MainDeployer.deploy(MainDeployer.java:766)
  |         at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
  |         at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.
  | java:39)
  |         at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAcces
  | sorImpl.java:25)
  |         at java.lang.reflect.Method.invoke(Method.java:585)
  |         at org.jboss.mx.interceptor.ReflectedDispatcher.invoke(ReflectedDispatch
  | er.java:155)
  |         at org.jboss.mx.server.Invocation.dispatch(Invocation.java:94)
  |         at org.jboss.mx.interceptor.AbstractInterceptor.invoke(AbstractIntercept
  | or.java:133)
  |         at org.jboss.mx.server.Invocation.invoke(Invocation.java:88)
  |         at org.jboss.mx.interceptor.ModelMBeanOperationInterceptor.invoke(ModelM
  | BeanOperationInterceptor.java:142)
  |         at org.jboss.mx.server.Invocation.invoke(Invocation.java:88)
  |         at org.jboss.mx.server.AbstractMBeanInvoker.invoke(AbstractMBeanInvoker.
  | java:264)
  |         at org.jboss.mx.server.MBeanServerImpl.invoke(MBeanServerImpl.java:659)
  |         at org.jboss.mx.util.MBeanProxyExt.invoke(MBeanProxyExt.java:210)
  |         at $Proxy5.deploy(Unknown Source)
  |         at org.jboss.system.server.ServerImpl.doStart(ServerImpl.java:482)
  |         at org.jboss.system.server.ServerImpl.start(ServerImpl.java:362)
  |         at org.jboss.Main.boot(Main.java:200)
  |         at org.jboss.Main$1.run(Main.java:508)
  |         at java.lang.Thread.run(Thread.java:595)
  | Caused by: java.lang.ClassNotFoundException: echo.Echo
  |         at org.apache.catalina.loader.WebappClassLoader.loadClass(WebappClassLoa
  | der.java:1358)
  |         at org.apache.catalina.loader.WebappClassLoader.loadClass(WebappClassLoa
  | der.java:1204)
  |         at org.jboss.ws.metadata.umdm.EndpointMetaData.getServiceEndpointInterfa
  | ce(EndpointMetaData.java:229)
  |         ... 84 more

View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4171379#4171379

Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4171379



More information about the jboss-user mailing list