Thank you very much.

I have now downloaded the 
 
http://repo1.maven.org/maven2/org/apache/ws/commons/ws-commons-java5/1.0
.1/

As far as 
 
http://repo1.maven.org/maven2/org/apache/ws/commons/ws-commons-util/1.0.
1/
this seems to be included in the xmlrpc-3.0.1 distro so I didn't need to
get it.

In the meantime, I downloaded the J2SDK 5.0 source from Sun and put the
file javax.xml.NamepaceContext.java
into my project.  That worked as well, although it would obviously be
cleaner to use this jar.

I think the xmlrpc-3.0 people need to put a little more documentation on
their site.  It wasn't really clear that you needed to get this jar if
you were not using 5.0 (and there is no link there that I could find).
Also there is no upgrade guide for moving from 2.0 to 3.0 telling me
that code which previously referenced Hashtables now had to be modified
to use HashMaps and code that previously used Vectors now had to use
Lists or Object[]s.  I had to discover these myself.

Actually, that is VERY tricky because on this page

http://ws.apache.org/xmlrpc/types.html

It says that an XML-RPC array type maps to an Object[] or
java.util.List.  Very odd.  Indeed I found that sometimes it was an
Object[] and sometimes a List and I had to write a method to handle
that.  Why would it not be consistent, I wonder?

At any rate, I think that now that I have gotten over this pain, I will
be happier with the new code because it offers a better way to implement
Timeout processing, my reason for making the switch.  But this was much
rougher than it should have been.

Still, I understand open source realities and I thank you for your
support.

-----Original Message-----
From: Jochen Wiedmann [mailto:[EMAIL PROTECTED] 
Sent: Wednesday, October 04, 2006 4:49 PM
To: xmlrpc-dev@ws.apache.org
Subject: Re: Is there a "distributon" for ws-commons-java5


On 10/4/06, COHEN, STEVEN M (SBCSI) <[EMAIL PROTECTED]> wrote:

> Caused by: java.lang.NoClassDefFoundError:
> javax/xml/namespace/NamespaceContext
>
> Doing a little research on the Apache XML-RPC site, I am led to
> http://ws.apache.org/commons/ws-commons-java5/index.html

That class is a part of Java 5. With elder Java versions, you need the
ws-commons-java5 jar file from

 
http://repo1.maven.org/maven2/org/apache/ws/commons/ws-commons-java5/1.0
.1/

In either case, you will also need the ws-commons-util jar files from

 
http://repo1.maven.org/maven2/org/apache/ws/commons/ws-commons-util/1.0.
1/

Jochen

-- 
My wife Mary and I have been married for forty-seven years and not
once have we had an argument serious enough to consider divorce;
murder, yes, but divorce, never.
(Jack Benny)

---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]


---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to