Morley,
 
Yes, the servlets expect the data to be passed via an HTTP POST.  I was not aware that 
the CInclude Transformer could be used for an HTTP POST, so thank you for pointing 
that out.  However, I don't think it would work in my case, if I'm reading it right.  
It looks like you can specify XML in a parameter, but it doesn't allow you to specify 
an XML document to be sent as the request body of the POST, correct?
 
Chris

        -----Original Message----- 
        From: Morley Howell [mailto:[EMAIL PROTECTED] 
        Sent: Thu 1/22/2004 10:26 PM 
        To: [EMAIL PROTECTED] 
        Cc: 
        Subject: RE: HTTP Post using XML
        
        

        Chris,
        
        I'm assuming from the title of your message that the servlets you're talking
        about expect to have data passed to them in an HTTP POST? If so, the only
        way I know of to do a POST from Cocoon is with the CInclude transformer.
        Check out the 'advanced' section of this page:
        
        http://cocoon.apache.org/2.1/userdocs/transformers/cinclude-transformer.html
        
        There may be other ways to do a POST from Cocoon, but this is the only one I
        know. Anyone else?
        
        Morley
        
        -----Original Message-----
        From: Chris Chesney [mailto:[EMAIL PROTECTED]
        Sent: Thursday January 22, 2004 7:54 PM
        To: [EMAIL PROTECTED]
        Subject: HTTP Post using XML
        
        
        I need to write a reporting application that obtains data from multiple
        services, transforms it and returns it as HTML.  The services are servlet
        based and accept an XML document as input and returns an XML document as
        output.  Some of the output from one service call will be used as input in
        another service call.
        
        Can anyone tell me what generator(s) I would use to accomplish this, or do I
        need to write one myself?  Sorry if this is obvious - I've spent a couple
        days searching, but can't find the answer.
        
        Thanks in advance,
        
        Chris
        
        
        ---------------------------------------------------------------------
        To unsubscribe, e-mail: [EMAIL PROTECTED]
        For additional commands, e-mail: [EMAIL PROTECTED]
        
        

<<winmail.dat>>

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

Reply via email to