Win a copy of Micro Frontends in Action this week in the Server-Side JavaScript and NodeJS 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 ...
Marshals:
  • Campbell Ritchie
  • Liutauras Vilda
  • Paul Clapham
  • Bear Bibeault
  • Jeanne Boyarsky
Sheriffs:
  • Ron McLeod
  • Tim Cooke
  • Devaka Cooray
Saloon Keepers:
  • Tim Moores
  • Tim Holloway
  • Jj Roberts
  • Stephan van Hulst
  • Carey Brown
Bartenders:
  • salvin francis
  • Scott Selikoff
  • fred rosenberger

WSAD (IBM Universal Test Client) problem

 
Ranch Hand
Posts: 167
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi, I was trying to do a tutorial for WSAD 5.0 but when I started tesing using IBM Universal Test Client, I got this
EJB References
HelloWorldSession
HelloWorldSessionHome
HelloWorldSession 1
Method Visibility
No visible methods
instead of this :
EJB References
HelloWorldSession
HelloWorldSessionHome
HelloWorldSession 1
Method Visibility
String getFirstName(int)
String getLastName(int)
void setFirstName(int, String)
void setLastName(int, String)
Could you please help me, I appreciate your help.
Mark
 
Ranch Hand
Posts: 282
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Have you promoted the methods in question to the EJB remote interface?
 
majid nakit
Ranch Hand
Posts: 167
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
No, I have not, how to do it ?
thanks
 
Jay Damon
Ranch Hand
Posts: 282
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Open your EJB Bean class in an editor. Then, open an Outline view. Select the method (or methods) to promote and right-click to get a context menu. Select Enterprise Bean >> Promote to Remote Interface. Rebuild your EJB classes and Generate Deployment and RMIC Code. Once you have done this and restarted the WTE, you should see your methods in the UTC. Note: Make sure you do NOT have the Remote Interface open (in an editor) when promoting methods. There is a bug in some versions of WSAD the prevents the method from being promoted if the Remote Interface is being edited.
 
mooooooo ..... tiny ad ....
Building a Better World in your Backyard by Paul Wheaton and Shawn Klassen-Koop
https://coderanch.com/wiki/718759/books/Building-World-Backyard-Paul-Wheaton
reply
    Bookmark Topic Watch Topic
  • New Topic