Hi, Nuwan Yap, trying is correct, Jaggery Web hostobject had bug regard to 'request.getContent()' and it is be fixed in github master. Thinking you try some old jaggery version.
Here I will attaching patch (0.9.0.ALPHA4_wso2v1) for you and sample jaggery file for you to test. On Tue, Dec 10, 2013 at 8:30 PM, Nuwan Dias <nuw...@wso2.com> wrote: > Hi, > > I have a restful jaggery endpoint and I now want to make this serve SOAP > requests as well. My idea is to look at the Content-Type header and > determine whether the request is REST or SOAP. > > I need to know how I can process a SOAP request from jaggery. When I try > 'request.getContent()', it gives me a null value. > Yap, it was bug in jaggery. It is fixed. Try this and let us know. Thanks > Is there a way to process a SOAP Body from jaggery? > > Thanks, > NuwanD. > > -- > Nuwan Dias > > Senior Software Engineer - WSO2, Inc. http://wso2.com > email : nuw...@wso2.com > Phone : +94 777 775 729 > -- *Madhuka* Udantha Senior Software Engineer Development Technologies WSO2 Inc. : http://wso2.com *Mobile*: +94774066336 *Blog*: http://madhukaudantha.blogspot.com/
org.jaggeryjs.hostobjects.web_0.9.0.ALPHA4_wso2v1.jar
Description: application/java-archive
index.jag
Description: Binary data
_______________________________________________ Dev mailing list Dev@wso2.org http://wso2.org/cgi-bin/mailman/listinfo/dev