My Oracle Support Banner

WLS 8.1 SP2 - clientgen fails against a WSDL of a web service generated through WLW 8.1 SP2 - CR187327 (Doc ID 775472.1)

Last updated on AUGUST 16, 2016

Applies to:

Oracle Workshop for Weblogic - Version: 8.1 to 8.1
Information in this document applies to any platform.
Information in this document applies to any platform


Attempting clientgen-ing against a WSDL of a Web service generated from WLW 8.1 SP2 fails!
The WSDL and the XSDs referenced therein are valid and render fine in XMLSpy.

Observations :
- A number of the elements in the WSDL, for instance an element called DestinationPoint defined as:
- <xsd:complexType name="DestinationPoint">
- <xsd:complexContent>
- <xsd:extension base="Landmark">
- <xsd:sequence>
<xsd:element name="id" type="DestinationPointId" />
<xsd:element name="timeOfArrival" type="DateTime" />
<xsd:element name="turningRadius" type="AngularMeasure" />

<xsd:complexType name="Landmark" abstract="true">
- <xsd:annotation>
<xsd:documentation>Definition of a landmark</xsd:documentation>
- <xsd:sequence>
<xsd:element name="name" type="xsd:string" />
<xsd:element name="icaoID" type="xsd:string" minOccurs="0" />
<xsd:element name="remarks" type="xsd:string" minOccurs="0" />
<xsd:element name="location" type="GeoLocation" minOccurs="0" />

are getting generated as:
public class DestinationPoint
extends javax.xml.soap.Landmark

which apparently fails during clientgen with the below compile error:
C:\DOCUME~1\smysore\LOCALS~1\Temp\client.jar2128080721\mil\dcgs\metadata\ cannot resolve symbol
symbol : class Landmark
location: package soap
extends javax.xml.soap.Landmark

As you can see it is mysteriously prefixing Landmark with javax.xml.soap package ID, when it should have been mil.dcgs.metadata instead!


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.