Win a copy of Cross-Platform Desktop Applications: Using Node, Electron, and NW.js this week in the JavaScript forum!
  • Post Reply Bookmark Topic Watch Topic
  • New Topic

Web Service and Access Bean  RSS feed

Xavier Blanc
Posts: 1
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
I don't know if it is the good place for asking my question. If it is not, please tell me where I should ask it.
I work with WSAD 4.02.
I have developped a Enterprise Application.
It contains an EJB (Session) and a Web Application.
In this Web Application, I have a JSP that, thanks to the access bean generated by WSAD, calls a method of my bean. It works.
But, also in this web application, I have a Web Service that, thanks to the same access bean, try to call a method of my bean. It does not work.
I have ran this application in debug mode.
I have noticed that the calls beetwen JSP or Web Service and the EJB are both local calls. So, these interactions are directly with the Servant of the EJB.
But, with the Web Service, I have got an Error Message saying that the Servant is not of the good type. It comes from the Access Bean (Home's Stub in fact).
So, please, can someone explain me where I am wrong.
Xavier Blanc
It is sorta covered in the JavaRanch Style Guide.
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!