Hello all.

SOAP doesn't have to use HTTP.  E.g you could use smtp, if you find an 
implementation.
If you want to register your ejb at apache soap I guess you have to modify 
the apache source...

Using http-apache to the SOAP request isn't a good idea because it doesn't 
know how to handle apache-soap rpc messaging.

Why don't you write an servlet using jaxm (SUN) that uses jndi to locate your 
ejb? The ejb does the business stuff and returns a SOAPMesage to the client.
I guess this is an easy way, insteand of using java.net.* and DOM and many 
other stuff.   You won't get an exactly RPC style paradigma, but it is also 
uses  an Request/response technique.

e.g 

public class ReqResSOAPServlet extends JAXMServlet implements ReqRespListener 
{
    
        // is called, when a SOAPMessage arrives.
     public SOAPMessage onMessage(SOAPMessage message) {
                
        SOAPMessage  reult =    // do your buiness stuff, e.g call your ejb            
 
        
     return result   
   }
}

I know this doesn't use Apache SOAP, but it works fine for me.. Maybe it 
helps you just to use SOAP.

Greetings,
Christian


On Monday 11 February 2002 01:04, you wrote:
> Ah, sorry, now I understand your question. Yes, it will arrive via http.
> But I want to avoid a complete servlet engine. So, I was thinking about
> three different solutions:
>
> 1. There are some low-level http server classes for Java. I could imagine
> using them.
>
> 2. Having only Apache in front of jboss to receive the request.
>
> 3. If I have to use the servlet engine, I want the EJB methods registered
> for the SOAP request (the examples I found are registering a servlet for
> the SOAP request and invoke - RMI - the EJBs)
>
> Thanks,
>       MarkS
>
> > -----Original Message-----
> > From: William Brogden [mailto:[EMAIL PROTECTED]]
> > Sent: Sunday, February 10, 2002 4:57 PM
> > To: [EMAIL PROTECTED]
> > Subject: RE: Apache/SOAP and jboss
> >
> >
> > Exactly how is this SOAP message arriving? If it is coming
> > by HTTP you must have a servlet container in there somewhere.
> >
> > > -----Original Message-----
> > > From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]]
> > > Sent: Sunday, February 10, 2002 7:09 PM
> > > To: [EMAIL PROTECTED]
> > > Subject: RE: Apache/SOAP and jboss
> > >
> > >
> > > Hi William,
> > >
> > > isn't there a way to connect the SOAP engine directly with the EJB
> > > container? I.e. I register my EJBs and their method in the
> > > SOAP engine and
> > > the get called when a SOAP request comes.
> > >
> > > MarkS
> > >
> > > > -----Original Message-----
> > > > From: William Brogden [mailto:[EMAIL PROTECTED]]
> > > > Sent: Sunday, February 10, 2002 3:00 AM
> > > > To: [EMAIL PROTECTED]
> > > > Subject: RE: Apache/SOAP and jboss
> > > >
> > > > > -----Original Message-----
> > > > > From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]]
> > > > > Sent: Saturday, February 09, 2002 8:17 PM
> > > > > To: [EMAIL PROTECTED]
> > > > > Subject: Apache/SOAP and jboss
> > > > >
> > > > >
> > > > > Hi,
> > > > >
> > > > > I know that there were already many requests about this. But
> > > > > so far I could
> > > > > not find anything that really helped me.
> > > > >
> > > > > I want to setup Apache/SOAP on top of jboss WITHOUT using
> > > > > Tomcat (or any
> > > > > other servlet container). My current architecture does not
> > > > > require a servlet
> > > > > engine and I don't like the idea to introduce one just for
> > > > > handling SOAP.
> > > > >
> > > > > From the mails I found I get the impression that it is
> > > > > possible. But I could
> > > > > not find any step-by-step instruction or such. If somebody
> > > > > could point me
> > > > > there, I would be more than happy!
> > > > >
> > > > > Thank you,
> > > > >       MarkS
> > > >
> > > > What is missing from your question is how you expect to
> > > > handle SOAP messages. Do you want messages over HTTP, eMail,
> > > > Java Message Service, JavaSpaces or what?
> > > >
> > > >
> > > > [EMAIL PROTECTED]
> > > > Author of Soap Programming with Java - Sybex; ISBN: 0782129285

Reply via email to