Author: thomas.diesler(a)jboss.com
Date: 2007-03-30 02:58:30 -0400 (Fri, 30 Mar 2007)
New Revision: 2723
Modified:
trunk/jbossws-core/src/java/org/jboss/ws/core/jaxrpc/EncodedTypeMapping.java
Log:
[jbws-1595] No typemapping for xsd:anyType with soap encoding
Modified: trunk/jbossws-core/src/java/org/jboss/ws/core/jaxrpc/EncodedTypeMapping.java
===================================================================
---
trunk/jbossws-core/src/java/org/jboss/ws/core/jaxrpc/EncodedTypeMapping.java 2007-03-30
06:44:55 UTC (rev 2722)
+++
trunk/jbossws-core/src/java/org/jboss/ws/core/jaxrpc/EncodedTypeMapping.java 2007-03-30
06:58:30 UTC (rev 2723)
@@ -78,6 +78,10 @@
registerStandardLiteralTypes();
registerStandardSOAP11EncodedTypes();
+ // register mapping for xsd:anyType
+ register(SOAPElement.class, Constants.TYPE_LITERAL_ANYTYPE, new
SOAPElementSerializerFactory(), new SOAPElementDeserializerFactory());
+ register(Element.class, Constants.TYPE_LITERAL_ANYTYPE, new
ElementSerializerFactory(), new ElementDeserializerFactory());
+
// register mapping for soap11-enc:anyType
register(SOAPElement.class, Constants.TYPE_SOAP11_ANYTYPE, new
SOAPElementSerializerFactory(), new SOAPElementDeserializerFactory());
register(Element.class, Constants.TYPE_SOAP11_ANYTYPE, new
ElementSerializerFactory(), new ElementDeserializerFactory());