Yes, it does not work even with the app server up. :( This is a bug.
On Wed, Mar 2, 2011 at 8:32 AM, Xue-Feng Yang <[email protected]> wrote: > Of course, I have a hello service in appserver. > > > ------------------------------ > *From:* Samisa Abeysinghe <[email protected]> > > *To:* [email protected] > *Cc:* Xue-Feng Yang <[email protected]> > *Sent:* Wed, March 2, 2011 10:56:58 AM > *Subject:* Re: [Carbon-dev] Fw: Hello World Gadget doesn't work > > > > On Wed, Mar 2, 2011 at 8:12 AM, Samisa Abeysinghe <[email protected]> wrote: > >> Do you have the service endpoint up and running: >> http://localhost:9763/services/HelloService? > > > Note that, I see the behavior you are seeing when I do not have the > service endpoint. > > I think that is a problem for "Hello World" sample's usability. We need a > third party service in there. Can we host the endpoint inside GS for this > sample? > > >> >> On Wed, Mar 2, 2011 at 7:57 AM, Xue-Feng Yang <[email protected]>wrote: >> >>> >>> >>> ----- Forwarded Message ---- >>> *From:* Xue-Feng Yang <[email protected]> >>> *To:* Nuwan Bandara <[email protected]> >>> *Sent:* Wed, March 2, 2011 10:00:29 AM >>> *Subject:* Re: [Carbon-dev] Hello World Gadget doesn't work >>> >>> Hi /Nuwan, >>> >>> The sample I used is exactly the copy of the sample in the link >>> >>> >>> http://wso2.org/project/gadget-server/1.3.0/docs/gadget_authoring.html#SOAP >>> >>> with the help of "view plain". Sorry for shifting a little above. >>> >>> Could you please check it in a clean computer? Or tell me where is the >>> method "wso2.io.makeSOAPRequest". I couldn't find it anywhere in all servers >>> I downloaded. >>> >>> Thanks, >>> >>> Xue-Feng >>> >>> >>> >>> ------------------------------ >>> *From:* Nuwan Bandara <[email protected]> >>> *To:* [email protected] >>> *Cc:* Xue-Feng Yang <[email protected]> >>> *Sent:* Wed, March 2, 2011 9:14:22 AM >>> *Subject:* Re: [Carbon-dev] Hello World Gadget doesn't work >>> >>> Hi Yang, >>> >>> The HelloWorld gadget should work out of the box. maybe you have made a >>> mistake in the gadget xml. If you could share the source, I would happy to >>> look in to it. you can read about the soap support on [1] document. >>> >>> [1] >>> http://wso2.org/project/gadget-server/1.3.0/docs/gadget_authoring.html#SOAP >>> >>> Regards, >>> /Nuwan >>> >>> On Wed, Mar 2, 2011 at 3:23 AM, Xue-Feng Yang <[email protected]>wrote: >>> >>>> Hi, >>>> >>>> I would restate this problem since I posted in a wrong place and there >>>> were no responses so far. >>>> >>>> I am testing the sample >>>> from wso2gs-1.3.0/docs/gadget_authoring.html#hello. It doesn't show >>>> anything >>>> but gadget title in my laptop. The error message from chrome is >>>> >>>> Failed to load resource: the server responded with a status of 405 (HTTP >>>> method GET is not supported by this URL) >>>> Refused to set unsafe header "Content-length" >>>> Refused to set unsafe header "Connection" >>>> ifr:989<https://192.168.1.103:9448/ifr?container=default&mid=2&nocache=0&country=US&lang=en&view=default&parent=https%3A%2F%2F192.168.1.103%3A9448%2F&up_=undefined&up_stickydata=Click%20in%20the%20sticky%20note%20to%20edit%20it.&st=admin%3Aadmin%3A9298%3Ashindig%3Ahttp%253A//192.168.1.103%253A9768/registry/resource/_system/config/repository/gadget-server/gadgets/sticky.xml%3A0%3Adefault&url=http%3A%2F%2F192.168.1.103%3A9768%2Fregistry%2Fresource%2F_system%2Fconfig%2Frepository%2Fgadget-server%2Fgadgets%2Fsticky.xml#rpctoken=379631103>Uncaught >>>> ReferenceError: _IG_AddDOMEventHandler is not defined >>>> ifr:551<https://192.168.1.103:9448/ifr?container=default&mid=10&nocache=0&country=US&lang=en&view=default&parent=https%3A%2F%2F192.168.1.103%3A9448%2F&up_=undefined&st=admin%3Aadmin%3A9723%3Ashindig%3Ahttp%253A//192.168.1.103%253A9768/registry/resource/_system/config/repository/gadget-server/gadgets/HelloGadget.xml%3A0%3Adefault&url=http%3A%2F%2F192.168.1.103%3A9768%2Fregistry%2Fresource%2F_system%2Fconfig%2Frepository%2Fgadget-server%2Fgadgets%2FHelloGadget.xml#rpctoken=379631103>Uncaught >>>> ReferenceError: wso2 is not defined >>>> >>>> 1. >>>> concat:1741<https://192.168.1.103:9448/gadgets/concat?rewriteMime=text/javascript&gadget=http%3A%2F%2F192.168.1.103%3A9768%2Fregistry%2Fresource%2F_system%2Fconfig%2Frepository%2Fgadget-server%2Fgadgets%2FserviceMon.xml&fp=-182800334&refresh=86400&1=http%3A%2F%2Fnuwanbando.com%2Fgadgets%2Fwso2vis.js%3Fnocache%3D0>Uncaught >>>> TypeError: Cannot read property 'nodeType' of undefined >>>> >>>> >>>> I would like to know how <Require feature="wso2" /> >>>> and wso2.io.makeSOAPRequest(endpoint, operation, payload) work, but I >>>> couldn't find any doc on wso2 javascript for SOAP, or anything like >>>> wso2.js. >>>> >>>> Thanks, >>>> >>>> Xue-Feng >>>> >>>> >>>> ------------------------------ >>>> *From:* Afkham Azeez <[email protected]> >>>> *To:* Xue-Feng Yang <[email protected]>; Charitha Kankanamge < >>>> [email protected]> >>>> *Cc:* [email protected] >>>> *Sent:* Tue, March 1, 2011 10:58:16 PM >>>> *Subject:* Re: [Carbon-dev] Sample CommodityQuote in appserver >>>> >>>> >>>> >>>> On Tue, Mar 1, 2011 at 8:18 PM, Afkham Azeez <[email protected]> wrote: >>>> >>>>> >>>>> >>>>> On Tue, Mar 1, 2011 at 8:03 PM, Xue-Feng Yang <[email protected]>wrote: >>>>> >>>>>> Hi Afkham, >>>>>> 2. Chad--I did step by step from the doc. (see [Carbon-dev] Sample >>>>>> Chad in appserver) >>>>>> >>>>>> No one answered so far. >>>>>> >>>>>> >>>>>> >>>>> Yeah, Chad sample is not working. We have made a big mistake in >>>>> shipping with a broken sample. Sorry about that. I will look into this. >>>>> >>>> >>>> Isuru/SupunM, >>>> Admin cannot login since there is a Javascript error. >>>> >>>> >>>> 1. Uncaught Error: WRONG_DOCUMENT_ERR: DOM Exception 4 >>>> 1. >>>> WSRequest._processResultWSRequest.js:213<http://10.215.152.149:9763/Chad/js/WSRequest.js> >>>> 2. >>>> WSRequest._handleReadyStateWSRequest.js:279<http://10.215.152.149:9763/Chad/js/WSRequest.js> >>>> 3. (anonymous function) >>>> >>>> >>>> >>>> >>>> >>>> -- >>>> *Afkham Azeez* >>>> Senior Software Architect & Senior Manager; WSO2, Inc.; http://wso2.com >>>> , >>>> * >>>> * >>>> *Member; Apache Software Foundation; >>>> **http://www.apache.org/*<http://www.apache.org/> >>>> * >>>> email: **[email protected]* <[email protected]>* cell: +94 77 3320919 >>>> blog: **http://blog.afkham.org* <http://blog.afkham.org>* >>>> twitter: >>>> **http://twitter.com/afkham_azeez*<http://twitter.com/afkham_azeez> >>>> * >>>> linked-in: **http://lk.linkedin.com/in/afkhamazeez* >>>> * >>>> * >>>> *Lean . Enterprise . Middleware* >>>> >>>> >>>> >>>> >>>> _______________________________________________ >>>> Carbon-dev mailing list >>>> [email protected] >>>> http://mail.wso2.org/cgi-bin/mailman/listinfo/carbon-dev >>>> >>>> >>> >>> >>> -- >>> Thanks & Regards, >>> >>> Nuwan Bandara >>> Software Engineer >>> WSO2 Inc. | http://wso2.com >>> lean . enterprise . middleware >>> >>> http://www.nuwanbando.com >>> >>> <http://www.nuwanbando.com/> >>> >>> >>> >>> _______________________________________________ >>> Carbon-dev mailing list >>> [email protected] >>> http://mail.wso2.org/cgi-bin/mailman/listinfo/carbon-dev >>> >>> Thanks, >> Samisa... >> >> Samisa Abeysinghe >> VP Engineering >> WSO2 Inc. >> http://wso2.com >> http://wso2.org >> >> >> >> Thanks, > Samisa... > > Samisa Abeysinghe > VP Engineering > WSO2 Inc. > http://wso2.com > http://wso2.org > > > > > Thanks, Samisa... Samisa Abeysinghe VP Engineering WSO2 Inc. http://wso2.com http://wso2.org
_______________________________________________ Carbon-dev mailing list [email protected] http://mail.wso2.org/cgi-bin/mailman/listinfo/carbon-dev
