• Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

Standalone app gets errors when accessing webservice using HTTPS

Antony Rethinam
Posts: 3
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator

I have a stand-alone java app, that accesses a webservice (on WAS 5.1) running on the same physical machine. The stand-alone app, does the webservice call using the stub classes created out of the webservice app.

When I access the webservice, using a URL with the server name(http://axjcudft100.metlife.com:9081/DocRetrieval/services/GetDocService), everything works fine. But for the same service, when I use a HTTPS URL (https://dev.dcarchive.metlife.com:8440/DocRetrieval/services/GetDocService) I got a couple of "NoClassDefFoundError" exceptions one after the other. I added the following jars to fix them (1)runtimefw.jar (2)utils.jar (3)emf.common_2.1.0.jar, and still ended up with "java.lang.NoClassDefFoundError: com/ibm/websphere/models/config/ipc/ssl/KeyFileFormatKind", for which I wasn't able to identify any jar.

I have two questions:
1. Is my problem really about not including correct jar files. If so, does anyone what jar file has 'KeyFileFormatKind'? Is there any other JAR I need to include?
2. I have the feeling that, the problem is something to do SSL (not really of including jars). Does anyone think so?

Thanks for your help.
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic