File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
http://aspose.com/file-tools
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

Web Service and Access Bean

 
Xavier Blanc
Greenhorn
Posts: 1
  • 0
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi,
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.
Thanks.
Xavier Blanc
 
I agree. Here's the link: http://aspose.com/file-tools
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic