• Post Reply Bookmark Topic Watch Topic
  • New Topic
programming forums Java Mobile Certification Databases Caching Books Engineering Micro Controllers OS Languages Paradigms IDEs Build Tools Frameworks Application Servers Open Source This Site Careers Other Pie Elite all forums
this forum made possible by our volunteer staff, including ...
Marshals:
  • Campbell Ritchie
  • Jeanne Boyarsky
  • Ron McLeod
  • Paul Clapham
  • Liutauras Vilda
Sheriffs:
  • paul wheaton
  • Rob Spoor
  • Devaka Cooray
Saloon Keepers:
  • Stephan van Hulst
  • Tim Holloway
  • Carey Brown
  • Frits Walraven
  • Tim Moores
Bartenders:
  • Mikalai Zaikin

session bean method not being pulled while creating web service from this.

 
Greenhorn
Posts: 20
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Hi,
I was trying to create a sample webservice.
I created a ejb project , web project for router module and asaociated this to an ear.
I created a simple stateless session bean and added a method add there.
I deployed this ejb project on server.
Now I am trying to create a websevice from this one. Here are the steps which I did.
1. Right click on ejb. And select create webservice.
2. Given ejb bottom up web swrvice, implementation as jax-rpc. And service peoject and ear project too.
3. Selected binding as http. And gave router projwct as well.
4.now when I select next rad wizard for generating wsdl does not how the add method of ejb to create wsdl.
It gives no methods are available.

What may be the reason for this.I am using rad 8 and was 7.
 
Ranch Hand
Posts: 104
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Is your EJB is Stateless or Singleton bean ?

I would recomend to use JAX-WS. Easy to expose EJB or any POJO as webservice with after adding few annotations on it. Moreover, IBM WAS 7.X + supports JAX-WS (HTTP and JMS endpoints) ;-)
 
reply
    Bookmark Topic Watch Topic
  • New Topic