dims 2005/01/28 13:47:26
Modified: java/src/org/apache/axis/encoding
DefaultJAXRPC11TypeMappingImpl.java
Log:
Change the order of registering the typemapping.
Revision Changes Path
1.4 +2 -2 ws-axis/java/src/org/apache/axis/encoding/DefaultJAXRPC11TypeMappingImpl.java
Index: DefaultJAXRPC11TypeMappingImpl.java
===================================================================
RCS file: /home/cvs/ws-axis/java/src/org/apache/axis/encoding/DefaultJAXRPC11TypeMappingImpl.java,v
retrieving revision 1.3
retrieving revision 1.4
diff -u -r1.3 -r1.4
--- DefaultJAXRPC11TypeMappingImpl.java 28 Jan 2005 20:11:11 -0000 1.3
+++ DefaultJAXRPC11TypeMappingImpl.java 28 Jan 2005 21:47:26 -0000 1.4
@@ -53,10 +53,10 @@
*/
private void registerXSDTypes() {
// Table 4-1 of the JAXRPC 1.1 spec
- myRegisterSimple(Constants.XSD_UNSIGNEDINT, long.class);
myRegisterSimple(Constants.XSD_UNSIGNEDINT, Long.class);
- myRegisterSimple(Constants.XSD_UNSIGNEDSHORT, int.class);
+ myRegisterSimple(Constants.XSD_UNSIGNEDINT, long.class);
myRegisterSimple(Constants.XSD_UNSIGNEDSHORT, Integer.class);
+ myRegisterSimple(Constants.XSD_UNSIGNEDSHORT, int.class);
myRegisterSimple(Constants.XSD_UNSIGNEDBYTE, short.class);
myRegisterSimple(Constants.XSD_UNSIGNEDBYTE, Short.class);
myRegister(Constants.XSD_DATETIME, java.util.Calendar.class,
|