Daemonite: Upgrading AXIS Web Services Not Possible Archive

Daemonite: Upgrading AXIS Web Services Not Possible Archive


Thursday, July 18, 2002
Upgrading AXIS Web Services Not Possible

A bit of a provcative statement from a J2EE neophyte, perhaps. Following on from my quick note a few days ago (Daemonite: AXIS Web Services goes Beta 3) I've attempted to update the AXIS web service components to the beta3 release. The short of it is I failed miserably...

Having tinkered a fair bit and chatted to a few friends I think we'll have to wait for the next service pack to see an upgrade to the internal CFMX webservices module. Here's what I did and why things don't look so good.

Downloaded the latest binaries from the AXIS site (http://xml.apache.org/axis/index.html). Unpacked the zip file and hunted around for the AXIS jar file. For those (like me) who are not all that familiar with the Java jargon, a JAR (or Java ARchive) is like a ZIP file of class files and other bits. In fact, you can open up a JAR file with winzip. It makes for a convenient place to aggregate the components of your application when you are distributing it.

AXIS has several jars. The one I was after turned out to be:
  \axis-1_0\lib\axis.jar

Located the webservice.jar file in CFMX:
  c:\cfusionmx\runtime\lib\webservices.jar

webservices.jar appears to contain all the content of the AXIS distribution in a single jar file.

Attempted to upgrade the class files for AXIS located in here with the class files in the AXIS distribution, by copying the class files into the webservices.jar from:
  axis-1_0\lib\axis.jar

Thought I was a bloody genius when this worked but alas... MethodNotFoundException

JAX-RPC
The JavaTM API for XML-based RPC (JAX-RPC) enables Java technology developers to build Web applications and Web services incorporating XML-based RPC functionality according to the SOAP (Simple Object Access Protocol) 1.1 specification. http://java.sun.com/xml/jaxrpc/

I'm told that the API changes in Axis unfortunately affect the embedded JRun engine for CFMX. However, this is apparently necessary because Axis needs to be JAX-RPC compliant (thanks Clement).

So without a JRun patch it looks like my attempts are doomed to failure. Apparently, when JRun starts, it helps set some values in Axis when it's used as an embedded component... The MethodNotFoundException I get is probably causing the initialization to stop prematurely.

Oh well.. back to real work now.

Posted by modius at 07:16 PM | Permalink
Trackback: http://blog.daemon.com.au/cgi-bin/dmblog/mt-tb.cgi/22

Comments

Any idea when the next service pack will be released upgrade to the internal CFMX webservices module? I am running into an AXIS fault "SimpleDeser cannot handle structured data!" (AXIS Bug 9659 - apparently already resolved on 6/26/2002)

Posted by: Craig on August 31, 2002 04:32 AM

Is anyone tried CFMX Sp1?
Does it bug fixe there?

Posted by: Mark on October 23, 2002 05:58 PM

CFMX Updater 1 does *not* include an upgrade to the latest version of AXIS. AXIS 1.0 was only recently released and there hasn't been time to appropriately QA the code (at least this is what I hear through the grapevine).

Posted by: Geoff Bowers on October 23, 2002 06:22 PM