Hi Lajos,

On Mon, Sep 09, 2002 at 08:42:29AM -0600, Lajos Moczar wrote:
> Quick question - I've tested out the hello.service example (in the 
> samples/hello-world subproject from 2.1) from my SOAP client, and 
> received back the expected XML content in the SOAP response. Then I 
> created my own 'service', by simply having my own pipeline spit out XML. 
> My question is: how does Cocoon know to encapsulate the response in 
> SOAP? I've searched the source code and can't see where the logic is.

        The hello.service is actually a REST style web service, and not a
        SOAP style web service.
        
        For SOAP services (ie. responses encapsulated within a soap
        envelope), have a look at the AxisRPCReader that's committed in
        scratchpad. It allows you to serve SOAP requests from your cocoon
        application.
        
        Hope that helps. :)
        
        Cheers,
        
        Marcus
        
-- 
        .....
     ,,$$$$$$$$$,      Marcus Crafter
    ;$'      '$$$$:    Computer Systems Engineer
    $:         $$$$:   ManageSoft GmbH
     $       o_)$$$:   82-84 Mainzer Landstrasse
     ;$,    _/\ &&:'   60327 Frankfurt Germany
       '     /( &&&
           \_&&&&'
          &&&&.
    &&&&&&&:

---------------------------------------------------------------------
Please check that your question  has not already been answered in the
FAQ before posting.     <http://xml.apache.org/cocoon/faq/index.html>

To unsubscribe, e-mail:     <[EMAIL PROTECTED]>
For additional commands, e-mail:   <[EMAIL PROTECTED]>

Reply via email to