Archive of UserLand's first discussion group, started October 5, 1998.

Re: MSIE and XML-RPC

Author:Hannes Walln÷fer
Posted:2/3/1999; 8:12:34 AM
Topic:www.xml-rpc.com
Msg #:2649 (In response to 2646)
Prev/Next:2648 / 2650

Here's how to use a Java class as a COM object. (Note: This process is intended mainly for the development process, since it requires the MS Java SDK to be installed.)

javareg /register /class:your.java.Class /progid:foo.XmlRpcClient

In an ASP page you can create the object like this:

or from JScript: client = Server.CreateObject("foo.XmlRpcClient");

I guess this is slightly different for the client side.

Strings, numbers, dates and booleans should be converted automatically between Java and the script. The biggest problem will be building the argument list and compound arguments like or . The class would have to offer factory methods that returns a Java Hashtable or Vector. The script could then access these objects to add arguments.


There are responses to this message:


This page was archived on 6/13/2001; 4:47:43 PM.

© Copyright 1998-2001 UserLand Software, Inc.