Just to belabor the point: are you certain you want to expose the EJB as a SOAP service and call it from the servlet using SOAP rather than calling the EJB from the servlet using RMI?
Assuming you are certain you want to use SOAP to connect the two, you invoke the SOAP service from the servlet as shown in http://www.scottnichol.com/apachesoapservletclient.htm. As for exposing the EJB, I do not know whether Iona provides a built-in way to do this. If it does not, you can use Apache SOAP to expose it. There is an EJB sample provided with Apache SOAP. I also have instructions for exposing an EJB from JBoss at http://www.scottnichol.com/apachesoapjboss.htm. That might give you a start. Scott Nichol ----- Original Message ----- From: "Vinayan Menon" <[EMAIL PROTECTED]> To: <[EMAIL PROTECTED]> Sent: Thursday, September 19, 2002 12:29 AM Subject: Re: From a Servlet > Hi Scott. > > Thanks for the link... Its really helpful... I need one more > clarification... > > I have an ejb, I need to expose as a SOAP service, How should I go about > this ? Also this service needs to be invoked from the servlet mentioned > earlier.. > > Regards. > > Vinay > > ----- Original Message ----- > From: "Scott Nichol" <[EMAIL PROTECTED]> > To: <[EMAIL PROTECTED]> > Sent: Wednesday, September 18, 2002 10:36 PM > Subject: Re: From a Servlet > > > > I'm not sure why you would use a SOAP call instead of using RMI. > > > > For an example of making a SOAP call from a servlet, see > > http://www.scottnichol.com/apachesoapservletclient.htm. > > > > Scott Nichol > > > > ----- Original Message ----- > > From: "Vinayan Menon" <[EMAIL PROTECTED]> > > To: <[EMAIL PROTECTED]> > > Sent: Wednesday, September 18, 2002 12:05 AM > > Subject: From a Servlet > > > > > > Hi. > > > > I need to make a SOAP call from a servlet deployed in JRUN to an EJB > > running in a IONA application server. > > > > Is there anyone who has handled a similar scenario ? > > > > Regards. > > > > Vinay > > > > > > > > > > -- > > To unsubscribe, e-mail: <mailto:[EMAIL PROTECTED]> > > For additional commands, e-mail: <mailto:[EMAIL PROTECTED]> > > -- > To unsubscribe, e-mail: <mailto:[EMAIL PROTECTED]> > For additional commands, e-mail: <mailto:[EMAIL PROTECTED]> > > -- To unsubscribe, e-mail: <mailto:[EMAIL PROTECTED]> For additional commands, e-mail: <mailto:[EMAIL PROTECTED]>