Hi Asanka, Thanks for the info. I'll check on that.
-- Thilini On Sun, Apr 27, 2014 at 10:52 PM, Asanka Abeyweera <[email protected]>wrote: > Hi, > > I also faced a similar issue when I was using the Try-It tool in WSO2 DSS > in Firefox (to test a sample [1]). I think the issue is related to the > default ACCEPT header [3] values used by the two browsers. > > Header in the request from Firefox: > ACCEPT: text/html,application/xhtml+xml,application/xml;q=0.9,*/*;q=0.8 > > Header in the request from Chrome: > ACCEPT: */* > > Since there is "application/xml" value in the ACCEPT header of the Firefox > request, server responds with a plain XML message instead of a SOAP > message. But for the request from Chrome, server responds with a SOAP > message since the ACCEPT header value is "*/*". > > When the response is processed to show in the Try-It tool, it looks for a > SOAP body in the response ( line 523 of WSRequest.js [2]). Since there is > no SOAP body in response for Firefox browser, the results failed to render. > > One solution for this issue is to set the ACCEPT header explicitly in the > request. > > [1]. https://docs.wso2.org/display/DSS320/Boxcarring+Sample > [2]. > http://wso2.org/svn/browse/wso2/trunk/carbon/core/org.wso2.carbon.ui/src/main/resources/web/admin/js/WSRequest.js?view=markup > [3]. http://www.w3.org/Protocols/rfc2616/rfc2616-sec14.html#sec14.1 > > > > On Fri, Apr 25, 2014 at 2:34 PM, Chanaka Jayasena <[email protected]>wrote: > >> You are getting the response but it's not rendered in the UI correctly. >> So try to find the place where the response is set to the UI. Start >> debugging from there. >> >> thanks, >> Chanaka >> >> >> On Fri, Apr 25, 2014 at 12:40 PM, Thilini Ishaka <[email protected]>wrote: >> >>> >>> Hi All, >>> >>> I'm facing the aforementioned issue now. A sceenshot is attached. I >>> don't see any error in the Firebug error console. Seeing the correct >>> response on Firebug reponse window. >>> This should be a try-it issue in FF as it works on chrome without any >>> issue. >>> >>> This is a blocker for me at the moment for the release work. >>> >>> Kindly appreciate quick help on this if you know anything related to >>> this or anyway of further debugging the issue. >>> >>> Thanks >>> Thilini >>> >>> -- >>> Thilini Ishaka >>> Senior Software Engineer >>> Phone: +94 11 214 5345 >>> WSO2 Inc. http://wso2.com >>> >>> blog: thiliniishaka.blogspot.com >>> linkedin: http://lk.linkedin.com/in/thiliniishaka >>> twitter: https://twitter.com/#!/ThiliniIsh >>> >> >> >> >> -- >> Chanaka Jayasena >> Senior Software Engineer; WSO2, Inc.; http://wso2.com/ >> email: [email protected]; cell: +94 77 785 5565 >> blog: http://chanaka3d.blogspot.com >> >> _______________________________________________ >> Dev mailing list >> [email protected] >> http://wso2.org/cgi-bin/mailman/listinfo/dev >> >> > > > -- > Asanka Abeyweera > Software Engineer > WSO2 Inc. > > -- Thilini Ishaka Senior Software Engineer Phone: +94 11 214 5345 WSO2 Inc. http://wso2.com blog: thiliniishaka.blogspot.com linkedin: http://lk.linkedin.com/in/thiliniishaka twitter: https://twitter.com/#!/ThiliniIsh
_______________________________________________ Dev mailing list [email protected] http://wso2.org/cgi-bin/mailman/listinfo/dev
