14. January 2011

How to introspect AMF communication

BlazeDS provides optimized binary protocol for transfering data known as AMF protocol.

AMF is fast and it has support for transfer of complex objects. Specification of AMF is available at opensource.adobe.com.

The only problem is how to introspect it?

AMF is binary. Therefore normal POST dump or Wireshark dump are not useful.

One solution was to use Flash Builder, but it is quite big and it requires big installation and license and so on.

Piotr Walczyszyn released incredibly simple and powerful AMF introspection tool – Toaster Lite. It acts as a proxy and it decodes all requests and responses.

Just install it. It’s quite small. Configure port and that’s it ­čÖé

Check out Piotr’s blog with video tutorial.

3. January 2011

pyamf.DecodeError: Array type required for request body

PyAMF is quite handy library for building apps that communicate with BlazeDS servers via AMF protocol.

Manual says that you should use setCredential to authenticate client.

The only problem is that PyAMF throws strange error after calling any method from remote service:

pyamf.DecodeError: Array type required for request body (ticket 711)

This is quite misleading error message. In this case it means that you do not have correct credentials. Check your user name and password in setCredential method. ­čśë

8. December 2010

BlazeDS and Google App Engine

Official version of BlazeDS still does not support Google App Engine.

If you need solution for this problem, check out project s3blazeds.

30. July 2010

Video z├íznam z predn├í┼íky Zv├íra─Źsk├Ż kurz na GAE – z Brnensk├ęho Barcampu

Na Youtube je u┼ż k dispoz├ícii z├íznam z mojej predn├í┼íky Zv├íra─Źsk├Ż kurz na Google App Engine a BlazeDS. ­čÖé

Taktie┼ż s├║ k dispoz├şcii materi├íly k predn├í┼íke.

Pokia─ż v├ís detailnej┼íie zauj├şma problematika Google App Enginu a BlazeDS, odpor├║─Źam si pozrie┼ą vide├í v ─Źl├ínku: Ako vytvori┼ą klientsk├║ aplik├íciu pre Google App Engine s podporou Remote Development Services .

26. June 2010

Materi├íly zo zv├íra─Źsk├ęho kurzu z BarCampu

K dispoz├şcii s├║ materi├íly z predn├í┼íky Zv├íra─Źsk├Ż kurz pre web – BlazeDS a Google App Engine vo form├íte PDF.

V predn├í┼íke je spom├şnan├Żch nieko─żko zauj├şmav├Żch odkazov:

24. June 2010

Zv├íra─Źsk├Ż kurz pre web technol├│gie bude aj na BarCampe

Radostn├í spr├íva!┬á26.6. budem predn├í┼ía┼ą na BarCampe na FI v Brne.

Pr├ş─Ćte povzbudzova┼ą ­čśë

A ako je dobr├Żm zvykom, pre vern├Żch ─Źitate─żov blogu je nachystan├Ż drobn├Ż bonus. Po predn├í┼íke sa za mnou zastavte s heslom: “Kdy┼ż n─Ťco rozeberem, tak leda debuggerem.” ­čÖé

10. June 2010

BlazeDS Introspection Error

BlazeDS je ┼íikovn├Ż kus technol├│gie. Ako to s IT technol├│giami chod├ş, tak obsahuj├║ skryt├ę chyt├íky. Tento st├íl za v┼íetky drobn├ę.

Nakonfigurujem BlazeDS (pr├şpadne┬áEngineDS, ─Źo je┬áupraven├í verzia pre Google App Engine), zvol├şm Connect to Data/Service. Flash Builder zobraz├ş dostupn├ę slu┼żby.

Za┼íkrtnem vybran├ę slu┼żby a zvol├şm Finish.

Namiesto o─Źak├ívan├ęho preh─żadu importovan├Żch funkci├ş dostanem ve─żmi pou─Źn├║ a usmer┼łuj├║cu chybov├║ hl├í┼íku:

Cannot refresh service. Destination ID and some other properties are missing for the service. Please delete this service, deploy the model (.fml file) in the server, and re-import it via Connect to Data/Service. Try importing by unselecting destination ProductService.

H├í a ─Źo teraz?

Pre┼íiel som v┼íetky konfigura─Źn├ę s├║bory. Nieko─żko kr├ít som preveril messaging-config.xml, remoting.xml a st├íle ni─Ź. Po nieko─żk├Żch hodin├ích som ├║spe┼íne na┼íiel pr├ş─Źinu probl├ęmu.

V nastaveniach projektu pod polo┼żkou Flex Server bol Context Root nastaven├Ż pr├ízdny re┼ąazec. Sta─Źilo predefinova┼ą Context Root a introspection zbehla bez najmen┼í├şch probl├ęmov.

Jeden oby─Źajn├Ż znak ‘/’ a ─Źlovek nad t├Żm str├ívi nieko─żko hod├şn. Typick├í softv├ęrov├í enterprise chyba.

Chyba je nareportovan├í na bugs.adobe.com. Som zvedav├Ż, ─Źi na ┼łu zareaguj├║. ­čÖé

4. June 2010

Materi├íly z prv├ęho dielu Zv├íra─Źsk├ęho kurzu na BlazeDS

Ako som s─ż├║bil, materi├íly n├íjdete v sekcii Predn├í┼íky. ­čśë

3. June 2010

Zv├íra─Źsk├Ż kurz na BlazeDS a GAE

V piatok 4.6. – 18:00 na konferencii Slovakia Adobe User Group,┬áv priestoroch spolo─Źnosti Aston ITM,┬ábudem predn├í┼ía┼ą prv├║ predn├í┼íku z cyklu: Zv├íra─Źsk├Ż kurz na BlazeDS a Google App Engine. Predn├í┼íka je vhodn├í pre v├Żvoj├írov a produktov├Żch mana┼ż├ęrov softv├ęrov├Żch firiem.

Nem├┤┼żete sa na akcii z├║─Źastni┼ą? Pr├ş─Ćte na Brnensk├Ż Barcamp 26.6. alebo na stretnutie Ag├şlia 22.6. a o Zv├íra─Źskom kurze na BlazeDS sa dozviete viac. ­čÖé

Pr├şpadne sledujte blog a u┼ż v piatok ve─Źer sa tu objavia inform├ície, ktor├ę pos├║vaj├║ v├Żvoj aplik├ícii kus ─Ćalej.

  • Where’s the fish?

  • Translations

  • Further info

  • Twitter

    Follow @jurajmichalek on twitter.

  • Comments

  • Tags

  • Topics