axis-java-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Vedha Vijayan <>
Subject java.sql.Timestamp support
Date Wed, 20 Dec 2006 23:15:49 GMT

  I'm working on exposing an existing feature as a web service. I run
java2wsdl task on my java file and the resulting wsdl has the following
erroneous schema for java.sql.Timestamp;

	<xs:schema xmlns:xs=""
			attributeFormDefault="qualified" elementFormDefault="qualified"

<xs:import namespace="http://calendar.util.sun/xsd" />
<xs:element name="Timestamp" type="ax22:Timestamp" />
<xs:complexType name="Timestamp">
	<xs:element name="nanos" type="xs:int" />
	<xs:element name="time" type="xs:long" />
	<xs:element name="calendarDate" nillable="true"
		type="ax26:BaseCalendar$Date" />
	<xs:element name="date" type="xs:int" />
	<xs:element name="day" type="xs:int" />
	<xs:element name="hours" type="xs:int" />
	<xs:element name="julianCalendar" nillable="true"
					type="ax26:BaseCalendar" />
	<xs:element name="minutes" type="xs:int" />
	<xs:element name="month" type="xs:int" />
	<xs:element name="seconds" type="xs:int" />
	<xs:element name="time" type="xs:long" />
	<xs:element name="timeImpl" type="xs:long" />
	<xs:element name="timezoneOffset" type="xs:int" />
	<xs:element name="year" type="xs:int" />

The type name "BaseCalendar$Date" is not a valid QName. This is the
error i get when the wsdl is validated. 

Is there any other means to get around this other than manually
modifying the wsdl? 

Help is welcome.


To unsubscribe, e-mail:
For additional commands, e-mail:

View raw message