Archive for March 25th, 2008

Tag: Releases Adobe AIR Application

Tuesday, March 25th, 2008

Today marks the release of our first AIR application. The application is being rolled out to the first users today, following the successful completion of UAT. The application will be rolled out gradually over the next few weeks to a sales team of about 700 who will be using the application on their laptops nationwide within the UK.

The application forms part of a larger innovative project that will see our client radically improve their online offerings. So although I would like to say more and provide links and show off what we have done, I can’t.

Suffice to say AIR has done a great job of enabling web designers and developers to create a new breed of application, that fills the gap between traditional desktop, client-server and web based applications. Users will get the availability of an off-line laptop application, together with up to date data and materials, and the interactivity associated with a web application.

ColdFusion, Axis, Windows .NET and Web Services

Tuesday, March 25th, 2008

We have done a number of projects integrating with clients’ systems which have required either publishing or consuming web services. In the past we did this using Apache Axis. Since CF7 we have switched to ColdFusion which provides a very convenient way of developing Web Services.

When using web services in general

  • Methods passing simple types are very straight forward; just follow the Adobe documentation.
    • ColdFusion does a good job of converting the types.
    • Use javacast() if CF gets it wrong
  • Methods that pass a single class, map to a ColdFusion structure.
  • Methods that pass a nested class, map to a nested ColdFusion structure.
    • See the following example on calling the LiveCycle Reader Extensions web service
    • You may need to use ‘javacast()’ for null values

Specifically for .Net

  • Interoperability with .Net is now generally quite good
  • If the web services is using Windows authentication or you need to use SSL:
    • You need to replace the Apache Axis authentication library with a different Apache library. See here.
    • Drop the Jakatra libraries into the cold fusion lib directory and modify the client-config.wsdd
    • See also Tom Jordahl’s musings on this topic.
    • We tried in the CF8 beta program to get the Apache libraries into the default installation for ColdFusion8; hopefully it will find its way into a future version.
  • Other Apache Axis and .net hints can be found here.