File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
The moose likes Websphere and the fly likes Web Service and Access Bean Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Products » Websphere
Bookmark "Web Service and Access Bean" Watch "Web Service and Access Bean" New topic

Web Service and Access Bean

Xavier Blanc

Joined: Feb 15, 2002
Posts: 1
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
I agree. Here's the link:
subject: Web Service and Access Bean
It's not a secret anymore!