On Mon, Mar 7, 2011 at 6:12 PM, Xue-Feng Yang <just4l...@yahoo.com> wrote:

>
>
> ----- Forwarded Message ----
> *From:* Xue-Feng Yang <just4l...@yahoo.com>
> *To:* Manisha Gayathri <mani...@wso2.com>
> *Sent:* Mon, March 7, 2011 8:41:30 PM
> *Subject:* Re: [Carbon-dev] gadget problem in ShoppingCart in Carbon
> Studio
>
> In Registry Resource->Browse
>
>
> Location: /_system/config/repository/gadget-server/gadgets/ProductsChart.xml
>
>
In Gadget Repository, the path is
>
> /registry/resource/_system/config/repository/gadget-server/gadgets/
> ProductsChart.xml
>
> I believe it is nothing wrong here.
>

Hi Xue-Feng,

Sorry for the confusion made.
I hosted the gadgets earlier in WSO2GS-1.2.0 and there the path was
/_system/config/repository/dashboards/gadgets/ProductsChart.xml
while in GS-1.3.0, that path is
/_system/config/repository/gadget-server/gadgets/ProductsChart.xml

Anyway in GS 1.3.0 also the gadgets deployed and populated fine without any
error either in GS side or DSS side.

But one thing that I noted in one of your earlier mails in this mailing
thread is, in one such mail (Feb 27), you have stated that your path is
/registry/resource/_system/config/repository/gadget-server/gadgets/ P
roductsChart.xml
Here, after the / that comes after gadgets, there is a gap between the / and
P. If it is the path that you have given as the gadget URL, then obviously
it will end up without populating data.
I say so because I also tried with the above path that you have sent, and
that failed to populate the data. But it did not give any error either in GS
or DSS.

If it is the typo that you have made, correcting that should work.
And make sure you have set up proper permissions in the
/_system/config/repository/gadget-server/gadgets  as stated in
documentation.

After making sure both the facts are being applied, then the gadget should
work.

If not, send us the exact steps briefly that you have followed.

Hope this would work.

Regards,
Manisha

>
>
> ------------------------------
> *From:* Manisha Gayathri <mani...@wso2.com>
> *To:* carbon-dev@wso2.org
> *Cc:* Xue-Feng Yang <just4l...@yahoo.com>
> *Sent:* Mon, March 7, 2011 12:13:21 PM
>
> *Subject:* Re: [Carbon-dev] gadget problem in ShoppingCart in Carbon
> Studio
>
>
>
> On Sun, Mar 6, 2011 at 8:39 PM, Xue-Feng Yang <just4l...@yahoo.com> wrote:
>
>>
>>
>> ----- Forwarded Message ----
>> *From:* Xue-Feng Yang <just4l...@yahoo.com>
>> *To:* Manisha Gayathri <mani...@wso2.com>
>> *Sent:* Sun, March 6, 2011 10:54:14 PM
>> *Subject:* Re: [Carbon-dev] gadget problem in ShoppingCart in Carbon
>> Studio
>>
>> Hi Manisha,
>>
>> Late reply is also welcomed.
>>
>> I was talking about ProductsChart.xml, but you answer is about 
>> ProductList.xml.
>> They should be the same. However, If you read my message carefully, you
>> should find there were no problems in the deployment of gadgets. Actually,
>> the second error message stated that the gadget was in the right position,
>> but it couldn't find the data service:
>>
>
> Hi Xue-Feng,
>
> Both the ProductList.xml and ProductsChart.xml get deployed in exactly the
> same way.
> Do you mean that all the other gadgets get populate fine and only this
> particular ProdcutsChart.xml gadget does not work properly?
>
> I have noticed that your gadget resource path is
> /registry/resource/_system/config/repository/gadget-server/gadgets/
> ProductsChart.xml
> while the path that the gadget actually get deployed when go through the
> steps in the sample is,
>
> /registry/resource/_system/config/repository/dashboards/gadgets/ProductsChart.xml
>
> For the ease of clarification, could you please briefly tell us the steps
> that you followed in deploying the gadget? So that we can figure out what
> has gone wrong.
> Is it the same exact steps that is there in the user guide or in the blog
> that I have sent you?
>
> Regards,
> Manisha
>
>
>> >and on data server, the error message is
>> >
>> >[2011-02-25 22:51:31,656] ERROR -  Cannot find service & operation for
>> /services/ShoppingCartDS/getAllProducts?nocache=1298645466311
>> >org.apache.axis2.AxisFault: Cannot find service & operation for
>> /services/ShoppingCartDS/getAllProducts?nocache=1298645466311
>>
>> By the way, I checked the service by tryIt. It was there.
>>
>> Thanks,
>>
>> Xue-Feng
>>
>>
>>
>> ------------------------------
>> *From:* Manisha Gayathri <mani...@wso2.com>
>> *To:* carbon-dev@wso2.org
>> *Cc:* Xue-Feng Yang <just4l...@yahoo.com>
>> *Sent:* Sun, March 6, 2011 10:13:37 PM
>> *Subject:* Re: [Carbon-dev] gadget problem in ShoppingCart in Carbon
>> Studio
>>
>>
>>
>> On Sun, Feb 27, 2011 at 7:18 PM, Xue-Feng Yang <just4l...@yahoo.com>wrote:
>>
>>>  Hi All,
>>>
>>> Hi Xue Feng,
>>
>>
>>>  I would like to renew the following gadget problem in ShoppingCart in
>>> Carbon Studio.
>>>
>>> After deployed
>>>
>>> /registry/resource/_system/config/repository/gadget-server/gadgets/
>>> ProductsChart.xml
>>>
>>
>> Just now noticed that the Gadget URL that you are specifying here is not
>> correct I guess.
>> According to the shopping cart sample, they get deployed in the following
>> URL.
>>    /_system/config/repository/dashboards/gadgets/ProductList.xml
>> Therefore you have to specify the URL below as the gadget URL
>>
>> /registry/resource/_system/config/repository/dashboards/gadgets/ProductList.xml
>>
>> And also I can assure you that I have tested all these in a fresh machine.
>>
>>
>> During that testing round, we found a few of the flaws in documentation.
>> We will do the necessary corrections and additions before the next release
>> happens.
>> Thanks for pointing out and we appreciate your patience too.
>>
>> For the moment, I have started blogging about trying out the shopping cart
>> sample with Carbon Studio.
>> It describes all the scenarios end to end.
>> You can go through [1] and see. If you have any doubts, feel free to
>> comment or just raise it at carbon-dev.
>>
>> [1]. http://manisha-eleperuma.blogspot.com/
>>
>> Regards,
>> Manisha
>>
>>>
>>> I can see gadget "Quantity in Stock", but there is no content in gadget.
>>> The error message on the gadget server is
>>>
>>> [2011-02-25 22:49:20,125] ERROR
>>> {org.wso2.carbon.registry.resource.servlets.ResourceServlet} -  Could not
>>> get the resource content. Path is not specified.
>>>
>>> and on data server, the error message is
>>>
>>> [2011-02-25 22:51:31,656] ERROR -  Cannot find service & operation for
>>> /services/ShoppingCartDS/getAllProducts?nocache=1298645466311
>>> org.apache.axis2.AxisFault: Cannot find service & operation for
>>> /services/ShoppingCartDS/getAllProducts?nocache=1298645466311
>>>
>>> Thanks,
>>>
>>> Xue-Feng
>>>
>>>
>>>
>>> _______________________________________________
>>> Carbon-dev mailing list
>>> Carbon-dev@wso2.org
>>> http://mail.wso2.org/cgi-bin/mailman/listinfo/carbon-dev
>>>
>>>
>>
>>
>>
>> _______________________________________________
>> Carbon-dev mailing list
>> Carbon-dev@wso2.org
>> http://mail.wso2.org/cgi-bin/mailman/listinfo/carbon-dev
>>
>>
>
>
>
> _______________________________________________
> Carbon-dev mailing list
> Carbon-dev@wso2.org
> http://mail.wso2.org/cgi-bin/mailman/listinfo/carbon-dev
>
>
_______________________________________________
Carbon-dev mailing list
Carbon-dev@wso2.org
http://mail.wso2.org/cgi-bin/mailman/listinfo/carbon-dev

Reply via email to