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 <just4l...@yahoo.com> 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 <az...@wso2.com> > *To:* Xue-Feng Yang <just4l...@yahoo.com>; Charitha Kankanamge < > chari...@wso2.com> > *Cc:* carbon-dev@wso2.org > *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 <az...@wso2.com> wrote: > >> >> >> On Tue, Mar 1, 2011 at 8:03 PM, Xue-Feng Yang <just4l...@yahoo.com>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: **az...@wso2.com* <az...@wso2.com>* 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 > Carbon-dev@wso2.org > 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 Carbon-dev@wso2.org http://mail.wso2.org/cgi-bin/mailman/listinfo/carbon-dev