Thanks, I will try that. Sumit Verma Partner / Vice President | ten24, LLC office: 877.886.5806 x 103 | mobile: 617.290.8214 www.ten24web.com | www.linkedin.com/in/sverma | twitter: blogonria
On Fri, Jun 3, 2011 at 5:08 PM, Doug <doug.aro...@gmail.com> wrote: > Yes, with the latest BaseEndpoint, you have to specify a > defaultCharset. We probably should set a default so it isn't required. > But for now, here's an example declaration of your endpoint: > > <endpoint name="content" > type="lib.components.endpoints.ContentServiceEndpoint" > > <parameters> > <parameter name="defaultCharset" value="UTF-8"/> > </parameters> > </endpoint> > > Thanks, > > Doug > > On Jun 3, 3:33 pm, Sumit Verma <su...@blogonria.com> wrote: >> Hey Guys, >> >> I'm getting this error in the REST endpoint when using PUT: (latest >> nightly build, ACF 9.0.1, MBP-OSX) >> >> java.io.UnsupportedEncodingException: at >> java.lang.StringCoding.encode(StringCoding.java:269) at >> java.lang.String.getBytes(String.java:946) at >> sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at >> sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39) >> at >> sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25) >> at java.lang.reflect.Method.invoke(Method.java:597) at >> coldfusion.runtime.StructBean.invoke(StructBean.java:508) at >> coldfusion.runtime.CfJspPage._invoke(CfJspPage.java:2393) at >> cfBaseEndpoint2ecfc575987800$funcPERFORMCONTENTLENGTHCHECKS.runFunction(/MachII/endpoints/rest/BaseEndpoint.cfc:487) >> at coldfusion.runtime.UDFMethod.invoke(UDFMethod.java:472) at >> coldfusion.filter.SilentFilter.invoke(SilentFilter.java:47) at >> coldfusion.runtime.UDFMethod$ReturnTypeFilter.invoke(UDFMethod.java:405) >> at >> coldfusion.runtime.UDFMethod$ArgumentCollectionFilter.invoke(UDFMethod.java:368) >> at >> coldfusion.filter.FunctionAccessFilter.invoke(FunctionAccessFilter.java:55) >> at coldfusion.runtime.UDFMethod.runFilterChain(UDFMethod.java:321) at >> coldfusion.runtime.UDFMethod.invoke(UDFMethod.java:220) at >> coldfusion.runtime.CfJspPage._invokeUDF(CfJspPage.java:2582) at >> cfBaseEndpoint2ecfc575987800$funcPREPROCESS.runFunction(/MachII/endpoints/rest/BaseEndpoint.cfc:258) >> at coldfusion.runtime.UDFMethod.invoke(UDFMethod.java:472) at >> coldfusion.filter.SilentFilter.invoke(SilentFilter.java:47) at >> >> Any idea? >> >> Thanks, >> Sumit >> >> Sumit Verma >> Partner / Vice President | ten24, LLC >> office: 877.886.5806 x 103 | mobile: >> 617.290.8214www.ten24web.com|www.linkedin.com/in/sverma| twitter: blogonria > > -- > To post to this group, send email to mach-ii-for-coldfusion@googlegroups.com > For more options and to unsubscribe, visit this group at > http://groups.google.com/group/mach-ii-for-coldfusion?hl=en > > SVN: http://svn.mach-ii.com/machii/ > Wiki / Documentation / Tickets: http://trac.mach-ii.com/machii/ > -- To post to this group, send email to mach-ii-for-coldfusion@googlegroups.com For more options and to unsubscribe, visit this group at http://groups.google.com/group/mach-ii-for-coldfusion?hl=en SVN: http://svn.mach-ii.com/machii/ Wiki / Documentation / Tickets: http://trac.mach-ii.com/machii/