Wsdlc Does Not Generate Packages Based On Xsdconfig File Provided In Binding Element (Doc ID 1329566.1)

Last updated on NOVEMBER 05, 2016

Applies to:

Oracle Weblogic Server - Version: 10.3.3 and later   [Release: and later ]
Information in this document applies to any platform.

Symptoms

The WSDLC Compiler does not generate packages based on XSD Config file provided in the Binding element.

WSDLC  ignores the <binding> tag.

Even it doesn't work with any parameters ("file", "dir" or "includes").

Sample Ant Task snippet

<wsdlc verbose="on" srcWsdl="ClientStartupService.wsdl" destJwsDir="intf" destImplDir="impl" typeFamily="XMLBEANS_APACHE" packageName="org.example.test.common.business.service" >
<binding dir="${workspacedir}" includes="test.xsdconfig" />
</wsdlc>


A xsdconfig example that is not considered by wsdlc when creating packages:

<xb:config xmlns:pol="http://openuri.org/easypoLocal" xmlns:xb="http://xml.apache.org/xmlbeans/2004/02/xbean/config">
<xb:namespace uri="http://org.example.test.common.business.service/types/">
<xb:package>org.example.schema.common.types</xb:package>
</xb:namespace>
<xb:namespace uri="http://org.example.schema.common/types/">
<xb:package>org.example.schema.common.types</xb:package>
</xb:namespace>
<xb:namespace uri="http://org.example.schema.common/impl/">
<xb:package>org.example.schema.common.impl</xb:package>
</xb:namespace>
<xb:namespace uri="http://org.example.test.service">
<xb:package>org.example.test.service</xb:package>
</xb:namespace>
<xb:namespace uri="http://org.example.test.service/types/">
<xb:package>org.example.test.service.types</xb:package>
</xb:namespace>
<xb:namespace uri="http://org.example.schema.common">
<xb:package>org.example.schema.common</xb:package>
</xb:namespace>
</xb:config>

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