I have a JAX- web service generated using JDK 6. I need to generate a client for it which could run on 1.4.2 environment. Is this possible?
I keep getting "UnsupportedClassVersionError" when I try to run wsimport on the client as shown below:
JAX-WS requires Java 5. You need to create the client code some other way. Or upgrade to Java 6; Java 1.4 had been obsolete for years.
Joined: May 18, 2012
Thanks, I thought so but wanted to make sure. Unfortunately the client is for another company's
system having Java 1.4.2 , which I dont have a control on. Can you give some ideas on other ways to generate only the client, if I have the webservice
generated using JAX-WS and Java 6?
Joined: Mar 22, 2005
The download of the SAAJ API for Java 1.4 would be one option if you feel like writing the code yourself.
Or use Axis or Axis2 for creating the code; older versions-if not the current one- should be compatible with Java 1.4.
I’ve looked at a lot of different solutions, and in my humble opinion Aspose is the way to go. Here’s the link: http://aspose.com