« Adding notes..... | Main

February 22, 2006

Document-Literal Web Services and Flex

Flex 2 supports both RPC and doc-literal web services. If you're interested in the difference, I found an article on the IBM developer works site to be very helpful (http://www-128.ibm.com/developerworks/library/ws-whichwsdl/). Using xmethods.net I found a simple document-literal web service that, given a URL it will return all of the hyperlinks contained in the HTML document. I then went ahead a built a simple Flex client that consumes the web service. Note, the web service doesn't allow Flash client access (it has no crossdomain.xml), so I went ahead and use the Flex Enterprise Service proxy service to proxy the communication. Below you'll find the code and the snippet from my flex-proxy-service.xml that enables the proxying.

Flex-proxy-services.xml

<destination id="myDocLitWS">
<properties>
// the location of the wsdl defined for soap proxy services
<wsdl>http://www.atomic-x.com/xmlservices/HyperlinkExtractor.asmx?wsdl</wsdl>

// the soap endpoints available for access defined for soap proxy services
<soap>http://www.atomic-x.com/xmlservices/HyperlinkExtractor.asmx</soap>
</properties>

// a specific adapter ref for the destination may be defined
<adapter ref="soap-proxy"/>
</destination>

doc-lit_example.mxml

<?xml version="1.0" encoding="utf-8"?>
<mx:Application xmlns:mx="http://www.macromedia.com/2005/mxml" verticalGap="10">

<mx:WebService id="myDocLitService" destination="myDocLitWS" result="myGrid.dataProvider=event.result">
<mx:operation name="ExtractUrl">
<mx:request>
<aUrl>{theURL.text}</aUrl>
</mx:request>
</mx:operation>
</mx:WebService>

<mx:HBox>
<mx:Label text="Enter a URL and click the button to see all the hyperlinks:"/>
<mx:TextInput id="theURL"/>
</mx:HBox>

<mx:Button label="Invoke Web Service" click="myDocLitService.ExtractUrl.send()"/>

<mx:DataGrid id="myGrid" width="100%"/>

</mx:Application>

Posted by eanderson at February 22, 2006 03:31 PM

Comments

Dear Eric

Having found your details on www.flexcoders.net, we are writing to express our interest in your suitability for a role we are looking to fill.

We are a leading provider of online casual gaming and a developer of cutting-edge, person-to-person Gaming systems for major distribution partners and media groups worldwide.

We are looking for an innovative and experienced Flex developer to join our young and vibrant team (on either a full time, part time or remote basis) of technical and creative minds, who are currently building a next-generation games platform. We are based in North West London with easy transport links and parking. An immediate start would be ideal.

Please contact me if you would like more information.

I look forward to hearing from you.

Kind regards

Sharon Pariente
Operations Manager
The Money Gaming Corporation Ltd.

Posted by: Sharon Pariente at February 26, 2007 06:59 AM

This site is interesting and very informative, nicely interface. Enjoyed browsing through the site.

Posted by: Buy photo at September 4, 2007 08:23 AM

This site is interesting and very informative, nicely interface. Enjoyed browsing through the site.

Posted by: Music at September 16, 2007 04:19 PM

This site is interesting and very informative, nicely interface.

Posted by: sharp aquos at December 19, 2007 04:24 PM

Thanks.Best Regards
Erotik Shop, Erotik Market, Erotic shop, Sex shop, Geciktirici, Seks shop, Penis Buyutucu, cialis, kamagra, viagra, sexshop, seksshop, erotic market, virility pills
http://www.koz-metik.com
http://www.hepzinde.com
http://www.shopseks.com
http://dafhne2005.blogspot.com
vidrom.com
http://www.vidrom.com
video share
http://www.vidmatic.com
image upload
http://www.picsrom.com
hediye
http://www.1marka.com
hediyelikler
http://www.spotmagaza.com

http://www.hepzinde.com/viagra-100-mg.html
http://www.hepzinde.com/catalog.html
http://www.hepzinde.com/pherlure.html
http://www.hepzinde.com/attractant.html
http://www.hepzinde.com/virility-pills.html
http://www.hepzinde.com/penimax.html
http://www.hepzinde.com/penis-xl.html
http://www.hepzinde.com/penis-buyutucu.html
http://www.hepzinde.com/penis-buyutucu/penis-buyutucu-1.html
http://www.hepzinde.com/penis-buyutucu/penis-buyutucu-pompa.html
http://www.hepzinde.com/cinsel-istek-artiricilar.html
http://www.hepzinde.com/bayanlar-icin.html
http://www.hepzinde.com/geciktirici.html
http://www.hepzinde.com/kamagra-jel-100-mg-.html
http://www.hepzinde.com/sisme-bebek.html
http://www.hepzinde.com/vajina.html
http://www.hepzinde.com/realistik-penisler.html
http://www.hepzinde.com/protez-penisler.html
http://www.hepzinde.com/vibrator.html
http://www.hepzinde.com/vibrator-setler.html
http://www.hepzinde.com/aksesuarlar.html
http://www.hepzinde.com/bayan-erotik-ic-giyim-1-2-3.html
http://www.hepzinde.com/erkek-erotik-ic-giyim-1-2-3-4.html
http://www.hepzinde.com/prezervatif-1.html
http://www.hepzinde.com/kayganlastirici-1-2.html
http://www.hepzinde.com/elektronik-sigara.html
http://www.hepzinde.com/serena-condoms-12-li.html
http://www.hepzinde.com/virility-pills.html
http://www.hepzinde.com/breast-success.html
http://www.hepzinde.com/procomil-sprey.html
http://www.hepzinde.com/pherlure.html
http://www.hepzinde.com/prezervatif-1/prezervatif.html
http://www.hepzinde.com/remans-dozz-e-vitaminli.html
http://www.hepzinde.com/cialis-20-mg-4-tablet.html
http://www.hepzinde.com/spanisch-lovecream.html
http://www.hepzinde.com/eros-sprey.html
http://www.hepzinde.com/musteri-hizmetleri.html
http://www.hepzinde.com/gizlilik-bildirimi.html
http://www.hepzinde.com/toplist.html
http://www.hepzinde.com/sitemap.html
http://www.hepzinde.com/elektronik-sigara-1.html
http://www.hepzinde.com/elektronik-puro.html
http://www.shopseks.com/tr/
http://www.shopseks.com/virility-pills.html
http://www.shopseks.com/penimax.html
http://www.shopseks.com/penis-xl.html
http://www.shopseks.com/penis-xl.html
http://www.shopseks.com/body-1037.html
http://www.shopseks.com/spanische-liebestrofen-c-.html
http://www.shopseks.com/penis-buyutucu/buyutuculer.html
http://www.shopseks.com/penis-buyutucu/vakum-pompalar.html
http://www.shopseks.com/penis-buyutucu.html
http://www.shopseks.com/cinsel-istek-artyrycylar.html
http://www.shopseks.com/bayanlar-icin.html
http://www.shopseks.com/geciktirici.html
http://www.shopseks.com/sisme-bebek.html
http://www.shopseks.com/vajina.html
http://www.shopseks.com/realistik-penisler.html
http://www.shopseks.com/protez-penisler.html
http://www.shopseks.com/vibrator.html
http://www.shopseks.com/bayan-fantazi-ic-giyim.html
http://www.shopseks.com/prezervatif-1/prezervatif.html
http://www.shopseks.com/prezervatif-1.html
http://www.shopseks.com/kayganlatyrycy-1-2.html
http://www.shopseks.com/elektronik-sigara.html
http://www.shopseks.com/serena-condoms-12-li.html
http://www.shopseks.com/virility-pills.html
http://www.shopseks.com/breast-success.html
http://www.shopseks.com/eros-sprey.html
http://www.shopseks.com/1443.html
http://www.shopseks.com/1505.html
http://www.shopseks.com/1522.html
http://www.shopseks.com/cantharis-d6-bayan-uyarycy.html
http://www.shopseks.com/muteri-hizmetleri.html
http://www.shopseks.com/gizlilik-bildirimi.html
http://www.shopseks.com/toplist.html
http://www.shopseks.com/tr/sitemap.html
http://www.shopseks.com/sitemap.html
http://www.koz-metik.com/buyutuculer-c29.html
http://www.koz-metik.com/cinsel-istek-artiricilar-c24.html
http://www.koz-metik.com/geciktiriciler-c23.html
http://www.koz-metik.com/bayan-fantazi-ic-giyim-c36.html
http://www.koz-metik.com/body-c37.html
http://www.koz-metik.com/jartiyerli-bustiyer+slip-c38.html
http://www.koz-metik.com/babydoll-c40.html
http://www.koz-metik.com/coraply-body-c41.html
http://www.koz-metik.com/bustiyer-slip-c42.html
http://www.koz-metik.com/tanga-slip-c43.html
http://www.koz-metik.com/erkek-fantazi-ic-giyim-c44.html
http://www.koz-metik.com/toplist-a11.html
http://www.koz-metik.com/elektronik-sigara-c46.html
http://www.koz-metik.com/aoyz-ve-dudak-bakymy-c8.html
http://www.koz-metik.com/cilt-urunleri-c30.html
http://www.koz-metik.com/+18-erkek-c19.html
http://www.koz-metik.com/+18-erkek-c19.html
http://www.koz-metik.com/+18-bayan-c22.html
http://www.koz-metik.com/+18-bayan-c22.html
http://www.koz-metik.com/bayan-fantazi-ic-giyim-c36.html
http://www.koz-metik.com/erkek-fantazi-ic-giyim-c44.html
http://www.koz-metik.com/serena-condoms-12-li-p29.html
http://www.koz-metik.com/virility-pills-p14.html
http://www.koz-metik.com/breast-success-p7.html
http://www.koz-metik.com/eros-sprey-p18.html
http://www.koz-metik.com/cialis-20-mg-4-tablet-p32.html
http://www.koz-metik.com/1443-p113.html
http://www.koz-metik.com/1505-p123.html
http://www.koz-metik.com/mu?teri-hizmetleri-a8.html
http://www.koz-metik.com/gizlilik-bildirimi-a10.html
http://www.koz-metik.com/toplist-a11.html
http://www.koz-metik.com/breast-success-p7.html
http://www.koz-metik.com/attractant-askin-spreyi-p166.html
http://www.koz-metik.com/pherlure-askin-kokusu-p168.html
http://www.koz-metik.com/e-sigara-p161.html
http://www.koz-metik.com/e-puro-p162.html
http://www.koz-metik.com/maxi-male-200-ml-p44.html
http://www.koz-metik.com/penimax-p163.html
http://www.koz-metik.com/index.html
http://www.koz-metik.com/beauty-breast-cream-gogus-buyutucu-p167.html
http://www.koz-metik.com/levitra-20-mg-p33.html
http://www.koz-metik.com/gogus-buyutucu-c33.html
http://www.koz-metik.com/viagra-100-mg-p31.html

Posted by: fun at December 27, 2007 06:17 AM

Thanx for an interesting information.

Posted by: Tiara at April 2, 2008 07:45 AM

http://www.libyanyouths.com/vb/f5.html
http://www.libyanyouths.com/vb/f5.html
http://www.libyanyouths.com/vb/f5.html
http://www.libyanyouths.com/vb/f5.html
http://www.libyanyouths.com/vb/f5.html
http://www.libyanyouths.com/vb/f5.html
http://www.libyanyouths.com/vb/f5.html
http://www.libyanyouths.com/vb/f5.html
http://www.libyanyouths.com/vb/f5.html
http://www.libyanyouths.com/vb/f5.html
http://www.libyanyouths.com/vb/f5.html
http://www.libyanyouths.com/vb/f5.html
http://www.libyanyouths.com/vb/f5.html
http://www.libyanyouths.com/vb/f5.html
http://www.libyanyouths.com/vb/f5.html
http://www.libyanyouths.com/vb/f5.html
http://www.libyanyouths.com/vb/f5.html
http://www.libyanyouths.com/vb/f5.html
http://www.libyanyouths.com/vb/f5.html
http://www.libyanyouths.com/vb/f5.html
http://www.libyanyouths.com/vb/f5.html
http://www.libyanyouths.com/vb/f5.html
http://www.libyanyouths.com/vb/f5.html
http://www.libyanyouths.com/vb/f5.html
http://www.libyanyouths.com/vb/f5.html
http://www.libyanyouths.com/vb/f5.html
http://www.libyanyouths.com/vb/f5.html
http://www.libyanyouths.com/vb/f5.html
http://www.libyanyouths.com/vb/f5.html
http://www.libyanyouths.com/vb/f5.html
http://www.libyanyouths.com/vb/f5.html
http://www.libyanyouths.com/vb/f5.html
http://www.libyanyouths.com/vb/f5.html
http://www.libyanyouths.com/vb/f5.html
http://www.libyanyouths.com/vb/f5.html
http://www.libyanyouths.com/vb/f5.html
http://www.libyanyouths.com/vb/f5.html
http://www.libyanyouths.com/vb/f5.html
http://www.libyanyouths.com/vb/f5.html
http://www.libyanyouths.com/vb/f5.html
http://www.libyanyouths.com/vb/f5.html
http://www.libyanyouths.com/vb/f5.html
http://www.libyanyouths.com/vb/f5.html
http://www.libyanyouths.com/vb/f5.html
http://www.libyanyouths.com/vb/f5.html
http://www.libyanyouths.com/vb/f5.html
http://www.libyanyouths.com/vb/f5.html
http://www.libyanyouths.com/vb/f5.html
http://www.libyanyouths.com/vb/f5.html
http://www.libyanyouths.com/vb/f5.html
http://www.libyanyouths.com/vb/f5.html
http://www.libyanyouths.com/vb/f5.html
http://www.libyanyouths.com/vb/f5.html
http://www.libyanyouths.com/vb/f5.html
http://www.libyanyouths.com/vb/f5.html
http://www.libyanyouths.com/vb/f5.html
http://www.libyanyouths.com/vb/f5.html
http://www.libyanyouths.com/vb/f5.html
http://www.libyanyouths.com/vb/f5.html
http://www.libyanyouths.com/vb/f5.html
http://www.libyanyouths.com/vb/f5.html
http://www.libyanyouths.com/vb/f5.html
http://www.libyanyouths.com/vb/f5.html
http://www.libyanyouths.com/vb/f5.html

Posted by: ليبيا at May 21, 2008 11:44 AM

Post a comment




Remember Me?