• Post Reply Bookmark Topic Watch Topic
  • New Topic

Webservices compatibility in JDK 4 and 5  RSS feed

 
arvind mulay
Greenhorn
Posts: 6
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi All,
Got stuck in a weird scenario.

Have got a common webservice for login authenticcation.

Web service was created keeping in mind systems built on JDK 1.5 and onwards.

There are many legacy systems built on JDK 1.4 which are not able to call this webservice.

Attched is the code for webservice. Calling prnot getting cogram : AuthenticateClient.java

Program which is causing exception is AuthenticateStub.java at following lines for getConstructor method and newInstance method:
java.lang.reflect.Constructor constructor = exceptionClass.getConstructor(String.class);
java.lang.Exception ex = (java.lang.Exception) constructor.newInstance(f.getMessage());

My problem:
1) Cannot upgrade legacy systems to JDK 1.5
2) Cannot make major changes in web service program since already implemented for some system.

Please help me in making the webservice compatible for both JDK 1.4 and 1.5

Regards,
Arvind

 
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!