My Oracle Support Banner

Unable To Execute Web Service Java File In ASAP JRE Environment (Doc ID 1493484.1)

Last updated on MAY 18, 2022

Applies to:

Oracle Communications ASAP - Version 7.0.2 and later
Information in this document applies to any platform.


Unable to execute web service java file in ASAP JRE environment.

There are two issues when running a web service query:

  1. "java.lang.NoClassDefFoundError:" 
  2. null string returned.

Steps to reproduce the problem:

1) ASAP Environment Profile sourced
2) Specific WSDL parsed using 'wsimport' utility of ASAP JRE. JAR formed of generated files. JAR added in CLASSPATH.
3) Web service java code developed and compiled.
4) Execution of code results in 'java.lang.NoClassDefFoundError:'

NOTE: This issue occurs only when ASAP environment is sourced. Specifically, the CLASSPATH is set through the ASAP environment profile.




To view full details, sign in with your My Oracle Support account.

Don't have a My Oracle Support account? Click to get started!

In this Document

My Oracle Support provides customers with access to over a million knowledge articles and a vibrant support community of peers and Oracle experts.