private Object deserialize(QName xmlName, QName xmlType, String val, SerializationContext serContext) throws BindingException
{
if(log.isDebugEnabled()) log.debug("deserialize: [xmlName=" + xmlName + ",xmlType=" + xmlType + "]");
// Expect the specific JAXRPC serialization context
SerializationContextJAXRPC jaxrpcContext = (SerializationContextJAXRPC)serContext;
Object value = null;
String typeName = xmlType.getLocalPart();
try
{
// Get the parsed model
XSModel model = jaxrpcContext.getXsModel();
// Get the jaxrpc-mapping.xml meta data
JavaWsdlMapping jaxrpcMapping = jaxrpcContext.getJavaWsdlMapping();
unmarshaller.setProperty(JBossXBConstants.JBXB_XS_MODEL, model);
unmarshaller.setProperty(JBossXBConstants.JBXB_ROOT_QNAME, xmlName);
unmarshaller.setProperty(JBossXBConstants.JBXB_TYPE_QNAME, xmlType);
unmarshaller.setProperty(JBossXBConstants.JBXB_JAVA_MAPPING, jaxrpcMapping);