Hi,

  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="http://www.w3.org/2001/XMLSchema";
                        xmlns:ax22="http://sql.java/xsd";
                        xmlns:ax26="http://calendar.util.sun/xsd";
                        attributeFormDefault="qualified" 
elementFormDefault="qualified"
                        targetNamespace="http://sql.java/xsd";>

<xs:import namespace="http://calendar.util.sun/xsd"; />
<xs:element name="Timestamp" type="ax22:Timestamp" />
<xs:complexType name="Timestamp">
<xs:sequence>
        <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" />
</xs:sequence>
</xs:complexType>
</xs:schema>
 

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.

Thanks.
vedha





---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to