Clientgen Creates Wrong Binding Classes For The Schema Given In The WSDL

(Doc ID 1185843.1)

Last updated on NOVEMBER 05, 2016

Applies to:

Oracle Weblogic Server - Version: 10.3.2 to 10.3.3
Information in this document applies to any platform.


The problems at compilation time are about the wrong binding extension from the WSDL.

The compilation exception is about the xml binding and creation of the classes that implement instead of extending from com.atlassian.confluence.rpc.RemoteException that is the extension tag in the wsdl.

A tag with problem is:
<complexType name="InvalidSessionException">
<extension base="tns1:RemoteException">

where the extension is not being recognized and creating the following class:
package com.atlassian.confluence.rpc;

public class InvalidSessionException implements {

but the correct version is:
package com.atlassian.confluence.rpc;

public class InvalidSessionException extends com.atlassian.confluence.rpc.RemoteException {

Later then the Java compiler fails showing:
[javac] Compiling 4 source files
incompatible types
[javac] found : com.atlassian.confluence.rpc.InvalidSessionException
[javac] required: java.lang.Throwable
[javac] public java.lang.String[] getPermissions(java.lang.String
in0,java.lang.String in1) throws java.rmi.RemoteException,


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