Win a copy of TensorFlow 2.0 in Action this week in the Artificial Intelligence and Machine Learning forum!
  • 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 all forums
this forum made possible by our volunteer staff, including ...
  • Campbell Ritchie
  • Liutauras Vilda
  • Paul Clapham
  • Bear Bibeault
  • Jeanne Boyarsky
  • Ron McLeod
  • Tim Cooke
  • Devaka Cooray
Saloon Keepers:
  • Tim Moores
  • Tim Holloway
  • Jj Roberts
  • Stephan van Hulst
  • Carey Brown
  • salvin francis
  • Scott Selikoff
  • fred rosenberger

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

Posts: 20
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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. 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
  • 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) ;-)
Quick! Before anybody notices! Cover it up with this tiny ad:
Building a Better World in your Backyard by Paul Wheaton and Shawn Klassen-Koop
    Bookmark Topic Watch Topic
  • New Topic