Does the JAXB using in the CXF 2.0.1 support the java.sql.Timestamp and
java.util.HashMap?:-(

i have a web method like this:
public void echo(java.util.Date date, java.sql.Timestamp timestamp);
Howerver, i find this message defination in the wsdl which is generated by
cxf
 <wsdl:message name="echo">
    <wsdl:part name="arg0" type="xsd:dateTime">
    </wsdl:part>
    <wsdl:part name="arg1">
    </wsdl:part>
  </wsdl:message>

I also have a web method like this
public void echo2(HashMap<String, String> map);
Howerver, i find these in the wsdl which is generated by cxf:
<xs:complexType name="hashMap">
<xs:complexContent>
<xs:extension base="abstractMap">
<xs:sequence/>
</xs:extension>
</xs:complexContent>
</xs:complexType>
<xs:complexType abstract="true" name="abstractMap"/>

<wsdl:message name="echo2">
    <wsdl:part name="arg0" type="ns1:hashMap">
    </wsdl:part>
  </wsdl:message>

how can i use java.util.Map datatype with JAXB in CXF ?
-- 
View this message in context: 
http://www.nabble.com/DataBinding-problems-%28Timestamp-and-HashMap%29-using-JAXB-tf4283645.html#a12193877
Sent from the cxf-user mailing list archive at Nabble.com.

Reply via email to