Copied to clipboard

Flag this post as spam?

This post will be reported to the moderators as potential spam to be looked at


  • Darren Ferguson 1022 posts 3259 karma points MVP c-trib
    Jan 16, 2011 @ 16:04
    Darren Ferguson
    0

    4.6.1: RestExtensionMethod doesn't honour returnXml propertyJu

    See also: http://umbraco.codeplex.com/workitem/29898

    RestExtensionMethod doesn't honour returnXml property

    In 4.6.1 Juno - I have the following RestExtensionMethod class (attached)

    namespace Level2Course.Base
    {
        [RestExtension("SupportCase")]
        public class SupportCase
        {
            [RestExtensionMethod(returnXml = false)]
            public static int Count()
            {
               
                return 10;
            }
        }
    }

    When I access: http://461.local/Base/SupportCase/Count


    The result is:

    <value>10</value>

    the returnXml property is being ignored.
  • Julius Bartkus 51 posts 76 karma points
    Jan 17, 2011 @ 00:16
    Julius Bartkus
    0

    I have the same problem

  • Christos Vogiatzis 9 posts 25 karma points
    Feb 10, 2011 @ 08:05
    Christos Vogiatzis
    0

    Yes, same problem here.. Any solutions?

  • Bjørn Fridal 274 posts 784 karma points
    Feb 15, 2011 @ 17:36
    Bjørn Fridal
    0

    I have the same problem, guess its back to the restExtensions.config

Please Sign in or register to post replies

Write your reply to:

Draft