Win a copy of Rust Web Development this week in the Other Languages 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 Pie Elite all forums
this forum made possible by our volunteer staff, including ...
Marshals:
  • Tim Cooke
  • Campbell Ritchie
  • Ron McLeod
  • Liutauras Vilda
  • Jeanne Boyarsky
Sheriffs:
  • Junilu Lacar
  • Rob Spoor
  • Paul Clapham
Saloon Keepers:
  • Tim Holloway
  • Tim Moores
  • Jesse Silverman
  • Stephan van Hulst
  • Carey Brown
Bartenders:
  • Al Hobbs
  • Piet Souris
  • Frits Walraven

WSAD (IBM Universal Test Client) problem

 
Ranch Hand
Posts: 167
  • 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 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
    Number of slices to send:
    Optional 'thank-you' note:
  • 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
    Number of slices to send:
    Optional 'thank-you' note:
  • 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
    Number of slices to send:
    Optional 'thank-you' note:
  • 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.
 
reply
    Bookmark Topic Watch Topic
  • New Topic