classnotfoundexception in jwsc when using typefamily xmlbeans_apache

(Doc ID 1517260.1)

Last updated on NOVEMBER 05, 2016

Applies to:

Oracle Weblogic Server - Version 10.3.4 to 12.1.1.0
Information in this document applies to any platform.

Symptoms

When trying to generate asynchronous JAX-RPC artifacts for a nested clientgen using typeFamily XMLBEANS_APACHE a ClassNotFoundException is thrown, although this class exists in the jar file generated by wsdlc.

- If we try to add it to the classpath then we face a "duplicate class" error.
- XMLBEANS typeFamily gives the same error, and it is deprecated.


There is a requirement to use asynchronous webservices, so we are using the following ant task:

 

Cause

Sign In with your My Oracle Support account

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

My Oracle Support provides customers with access to over a
Million Knowledge Articles and hundreds of Community platforms