2 Replies Latest reply on Sep 28, 2008 3:42 AM by zahidmaqbool

    cURL with Seam

    zahidmaqbool

      Hi,


      I had a requirement in which I need to support a cURL client to submit some parameters to my seam web application and get the output based on that.
      Now I know how to achieve this in struts, by simply asking to submit to a action class that is to something like localhost/abcd/abcd.do, and then I would be able to process and return the xml output which the client needs.


      I cannot think of a way to acheive this in Seam. Can anyone help me on this. Also the parameters would be POST parameters and the output should be XML.


      I would really appreciate if anyone can help me in this.



      Thanks a lot for your time and efforts.

        • 1. Re: cURL with Seam
          zahidmaqbool

          couldnt find how to edit the post, but I am getting the output as xml, however my problem is that along with that all html stuff is also added, where as I want to output Only XML.



          • 2. Re: cURL with Seam
            zahidmaqbool

            Its a very very minor requirement, and after trying a lot I give up now, and I feel servlets is the only option to implement this, as in all other things either the xml output is coming with html headers, or when xml output is coming, El is not working.