[jboss-user] [JBossWS] - Re: How to register SerializerFactory and DeSerializerFactor
thomas.diesler@jboss.com
do-not-reply at jboss.com
Fri Mar 30 02:56:36 EDT 2007
This change might work for you
|
| public EncodedTypeMapping()
| {
| 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());
| }
|
View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4033019#4033019
Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4033019
More information about the jboss-user
mailing list