Hi Shelan,

I guess the 2'nd object name should be "_postinsert" not "insert",
basically the service dispatch is not happening, double check the service
URL also. And also, there's a JSONSample.dbs that goes with data services
as a sample, check that with batch requests enabled, at [1], contains how
the batch request should be created.

[1] https://docs.wso2.org/display/DSS321/JSON+Mapping

Cheers,
Anjana.


On Wed, May 7, 2014 at 3:28 PM, Shelan Perera <[email protected]> wrote:

> Hi,
>
> I have checked with the pack [1] here available and the original issue is
> not fixed yet. I can still reproduce it and getting the error,
>
> Sample Request
> ========================
> {
>    "_postinsert_batch_req":{
>       "insert":[
>          {
>             "name":"route1",
>             "length":"200"
>          },
>          {
>             "name":"route2",
>             "length":"300"
>          },
>          {
>             "name":"route3",
>             "length":"400"
>          }
>       ]
>    }
> }
>
> Error
> ================
>  {"Fault":{"faultcode":"axis2ns1:Client","faultstring":"The endpoint
> reference (EPR) for the Operation not found is /services/RouteService and
> the WSA Action = null. If this EPR was previously reachable, please contact
> the server administrator.","detail":""}}
>
> I am attaching the DBS i used to reproduce if anyone needs it. We may need
> to reopen the original issue [2] and resolve it properly as this patch did
> not fix it.
>
>
>
> [1] http://ec2-54-198-211-48.compute-1.amazonaws.com/chunk10/
>
> [2] https://wso2.org/jira/browse/DS-891
>
>
>
> Thanks
>
>
> On Mon, May 5, 2014 at 4:27 PM, Manoj Kumara <[email protected]> wrote:
>
>> Hi,
>>
>> Applied to patch0007 with r201892.
>>
>> Thanks,
>> Manoj
>>
>>
>> *Manoj Kumara*
>> Software Engineer
>> WSO2 Inc. http://wso2.com/
>> *lean.enterprise.middleware*
>> Mobile: +94713448188
>>
>>
>> On Sat, May 3, 2014 at 11:09 PM, Shameera Rathnayaka 
>> <[email protected]>wrote:
>>
>>> Hi Anjana,
>>>
>>> I will have a look and apply the patch.
>>>
>>> Thanks,
>>> Shameera.
>>>
>>>
>>> On Sat, May 3, 2014 at 4:11 PM, Anjana Fernando <[email protected]> wrote:
>>>
>>>> Hi Shameera,
>>>>
>>>> I've fixed a bug in the streaming JSON implementation, related to the
>>>> issue [1]. I've given the explanation to the fix there in a comment, please
>>>> review it, and commit it to the necessary places, i.e. kernel patch07,
>>>> GitHub, Axis2 etc.. We need this for the Monday DSS 3.2.1 release. Chanika
>>>> please follow up.
>>>>
>>>> [1] https://wso2.org/jira/browse/DS-891
>>>>
>>>> Cheers,
>>>> Anjana.
>>>> --
>>>> *Anjana Fernando*
>>>> Senior Technical Lead
>>>> WSO2 Inc. | http://wso2.com
>>>> lean . enterprise . middleware
>>>>
>>>
>>>
>>>
>>> --
>>> *Software Engineer - WSO2 Inc.*
>>> *email: shameera AT wso2.com <[email protected]> , shameera AT
>>> apache.org <[email protected]>*
>>> *phone:  +9471 922 1454 <%2B9471%20922%201454>*
>>>
>>> *Linked in : *http://lk.linkedin.com/pub/shameera-rathnayaka/1a/661/561
>>> *Twitter     : *https://twitter.com/Shameera_R
>>>
>>> _______________________________________________
>>> Dev mailing list
>>> [email protected]
>>> http://wso2.org/cgi-bin/mailman/listinfo/dev
>>>
>>>
>>
>> _______________________________________________
>> Dev mailing list
>> [email protected]
>> http://wso2.org/cgi-bin/mailman/listinfo/dev
>>
>>
>
>
> --
> *Shelan Perera*
>
> Senior Software Engineer
> Integration Technology Group
> *WSO2, Inc. : wso2.com <http://wso2.com>*
> lean.enterprise.middleware.
>
> *Blog*             :   blog.shelan.org
> *Linked-i*n      :   http://www.linkedin.com/pub/shelan-perera/a/194/465
> *Twitter*         :    https://twitter.com/#!/shelan
>
> *Mobile*          : +94 772 604 402
>
>
> _______________________________________________
> Dev mailing list
> [email protected]
> http://wso2.org/cgi-bin/mailman/listinfo/dev
>
>


-- 
*Anjana Fernando*
Senior Technical Lead
WSO2 Inc. | http://wso2.com
lean . enterprise . middleware
_______________________________________________
Dev mailing list
[email protected]
http://wso2.org/cgi-bin/mailman/listinfo/dev

Reply via email to