|
Hi,
I want to convert my string value into a object depending on the parameter type. I've tried the following but all I get is a nullpointer exception when invoking the makevalue method on the Deserializer instance.
import org.apache.axis.encoding.ser.SimpleDeserializer; ... QName qname = new QName("http://www.w3.org/2001/XMLSchema", "string"); String paramValue = "val1"; SimpleDeserializer deserializer = new SimpleDeserializer(paramValue.getClass(), qname); Object o = deserializer.makeValue(paramValue);
Does anyone know of any ideas or examples where I can do this type of conversion?
Cheers, Chico.
-- The content of this e-mail is confidential, may contain privileged material and is intended solely for the recipient(s) named above. If you receive this in error, please notify Software AG immediately and delete this e-mail. Software AG (UK) Limited Registered in England & Wales 1310740 Registered Office: Hudson House, Hudson Way, Pride Park, Derby DE24 8HS |
