[jboss-user] [JBossWS] - Re: Cannot expose EJB 3 as WS

richard.opalka@jboss.com do-not-reply at jboss.com
Mon Apr 28 02:28:45 EDT 2008


Strange, it works for me.

Here's my EJB3 archive content:

  | jar -tvf jaxws.jar 
  |      0 Mon Apr 28 08:17:42 CEST 2008 META-INF/
  |    106 Mon Apr 28 08:17:40 CEST 2008 META-INF/MANIFEST.MF
  |      0 Mon Apr 28 08:20:04 CEST 2008 org/
  |      0 Mon Apr 28 08:20:04 CEST 2008 org/jboss/
  |      0 Mon Apr 28 08:20:04 CEST 2008 org/jboss/ws/
  |      0 Mon Apr 28 08:20:04 CEST 2008 org/jboss/ws/hello/
  |    290 Mon Apr 28 08:20:04 CEST 2008 org/jboss/ws/hello/Hello.class
  |    834 Mon Apr 28 08:20:04 CEST 2008 org/jboss/ws/hello/HelloBean.class

Here's my server console output:

  | 08:22:02,562 INFO  [JmxKernelAbstraction] creating wrapper delegate for: org.jboss.ejb3.stateless.StatelessContainer
  | 08:22:02,577 INFO  [JmxKernelAbstraction] installing MBean: jboss.j2ee:jar=jaxws.jar,name=HelloBean,service=EJB3 with dependencies:
  | 08:22:02,854 INFO  [EJBContainer] STARTED EJB: org.jboss.ws.hello.HelloBean ejbName: HelloBean
  | 08:22:02,982 INFO  [EJB3Deployer] Deployed: file:/opt/svn/jbossas/tags/JBoss_4_2_2_GA/build/output/jboss-4.2.2.GA/server/default/deploy/jaxws.jar
  | 08:22:03,161 INFO  [DefaultEndpointRegistry] register: jboss.ws:context=jaxws,endpoint=HelloBean
  | 08:22:06,156 INFO  [WSDLFilePublisher] WSDL published to: file:/opt/svn/jbossas/tags/JBoss_4_2_2_GA/build/output/jboss-4.2.2.GA/server/default/data/wsdl/jaxws.jar/HelloBeanService9073.wsdl
  | 08:22:06,504 INFO  [TomcatDeployer] deploy, ctxPath=/jaxws, warUrl=.../tmp/deploy/jaxws.jar9072.war/

and I'm able to access WSDL here:

http://127.0.0.1:8080/jaxws/HelloBean?wsdl


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

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



More information about the jboss-user mailing list