Comma separated values are not accepted for the method in this implementation yet. As of now it has to be space separated.
Thanks, Hiranya On Thu, Feb 23, 2012 at 2:26 PM, Prabath Siriwardena <[email protected]>wrote: > I can consistently reproduce this with a fresh ESB.. will debug and see... > > Thanks & regards, > -Prabath > > > On Thu, Feb 23, 2012 at 2:18 PM, Sandapa Handakumbura <[email protected]>wrote: > >> Hi, >> >> I tried to reproduce this in the Linux environment with sample 800, but >> couldn't. When i try the same scenario, synapse configuration goes back to >> it's previous state but no UI error is given and i can continue to do >> updates using source view. >> >> Regards, >> Sandapa >> >> >> >> On Thu, Feb 23, 2012 at 12:24 PM, Prabath Siriwardena >> <[email protected]>wrote: >> >>> I can recreate the same with the API [800] sample we ship with the ESB >>> too... >>> >>> Thanks & regards, >>> -Prabath >>> >>> >>> On Thu, Feb 23, 2012 at 12:18 PM, Prabath Siriwardena >>> <[email protected]>wrote: >>> >>>> This is my scenario... >>>> >>>> I have the following scenario.. >>>> >>>> 1. My configuration >>>> >>>> <api name="MongoAPI" context="/mongo"> >>>> <resource methods="GET" uri-template="/{db}/{collection}"> >>>> <inSequence> >>>> <log level="full"/> >>>> <property name="mongo.db" >>>> expression="get-property('uri.var.db')" scope="axis2"/> >>>> <property name="mongo.db.collection" >>>> expression="get-property('uri.var.collection')" scope="axis2"/> >>>> <class >>>> name="org.wso2.mongodb.connector.MongoDBMediator"/> >>>> </inSequence> >>>> <outSequence> >>>> <send/> >>>> </outSequence> >>>> </resource> >>>> </api> >>>> >>>> 2. Update methods="GET" to methods="POST" - works fine >>>> >>>> 3. methods="POST" to methods="GET,POST" - from the "methods" >>>> attribute I feel like this is a valid case. Now this produce error >>>> >>>> [2012-02-23 12:07:21,026] ERROR - SynapseTaskManager Task helper has >>>> not been initialized, it requires to be initialized >>>> [2012-02-23 12:07:21,027] ERROR - ConfigAdmin Error while updating the >>>> Synapse configuration >>>> org.apache.synapse.commons.SynapseCommonsException: Task helper has not >>>> been initialized, it requires to be initialized >>>> >>>> 4. Since I get the error at [3] - synapse configuration goes back to >>>> the state in [2]. >>>> >>>> 5. Now I try to update the synapse configuration with valida values - >>>> like, update methods="POST" to methods="GET" - or anything - and this >>>> keeps on failing.. >>>> >>>> And I cannot do any updates via source view, till I restart.... >>>> >>>> Have I done anything wrong some where...? Appreciate a lot your >>>> thoughts... >>>> >>>> -- >>>> Thanks & Regards, >>>> Prabath >>>> >>>> Mobile : +94 71 809 6732 >>>> >>>> http://blog.facilelogin.com >>>> http://RampartFAQ.com >>>> >>>> >>> >>> >>> -- >>> Thanks & Regards, >>> Prabath >>> >>> Mobile : +94 71 809 6732 >>> >>> http://blog.facilelogin.com >>> http://RampartFAQ.com >>> >>> >>> _______________________________________________ >>> Carbon-dev mailing list >>> [email protected] >>> http://mail.wso2.org/cgi-bin/mailman/listinfo/carbon-dev >>> >>> >> >> _______________________________________________ >> Carbon-dev mailing list >> [email protected] >> http://mail.wso2.org/cgi-bin/mailman/listinfo/carbon-dev >> >> > > > -- > Thanks & Regards, > Prabath > > Mobile : +94 71 809 6732 > > http://blog.facilelogin.com > http://RampartFAQ.com > > > _______________________________________________ > Carbon-dev mailing list > [email protected] > http://mail.wso2.org/cgi-bin/mailman/listinfo/carbon-dev > > -- Hiranya Jayathilaka Associate Technical Lead; WSO2 Inc.; http://wso2.org E-mail: [email protected]; Mobile: +94 77 633 3491 Blog: http://techfeast-hiranya.blogspot.com
_______________________________________________ Carbon-dev mailing list [email protected] http://mail.wso2.org/cgi-bin/mailman/listinfo/carbon-dev
