My Oracle Support Banner

WSDL-to-Java Conversion Error (Doc ID 1633114.1)

Last updated on APRIL 23, 2019

Applies to:

Oracle SOA Suite - Version and later
Information in this document applies to any platform.


customer getting a WSDL-to-Java conversion error when wiring a Spring component with a WebService :

Wsdl-to-Java conversion of FARICheckOut.wsdl returned errors :
Error creating model from wsdl "file:/C:/Works/WS_JDEV/TestProjects/FARICheckOut.wsdl" :
a class/interface with the same name "java.ch_post_it_fari_bindings_checkout.Staging" is already in use.
Use a class customization to resolve this conflict.

The WSDL file contains two schemas in two different Namespaces:

Both schemas contain elements with the same name.
It seems that the .req and .res are ignored and only is considered to create the package-name.
Therefore a naming conflict occurs.

Is it possible to use the complete namespace (include .res or .req)?
How to use a class customization?

How should this be handle in this case?

And final comment:
Customer can't change the namespaces (the Web Service doesn't belong to the customer).


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.