Hi,
Sorry, I forgot to include the error message. The error thrown was:
Caught SOAPException (SOAP-ENV:Client): Unable to retrieve
PropertyDescriptor for property 'Symbol' of class 'class QuoteResult'.
Which is thrown in beanserializer, the getWriteMethod method, after it
fails the
if (propertyName.equals(pds[i].getName()))
propertyName, in the previous code, would be Symbol while
pds[i].getName() would be symbol. The equality test then fails and the
exception would be thrown.
In my client code:
smr = new SOAPMappingRegistry();
BeanSerializer beanSer = new BeanSerializer();
smr.mapTypes( Constants.NS_URI_SOAP_ENC, new QName( "",
"GetSimpleQuoteResult" ), Array.class, deserializer,
deserializer );
smr.mapTypes(Constants.NS_URI_SOAP_ENC, new
QName("http://marketdata.earthconnect.net/encodedTypes",
"SimpleQuote"),QuoteResult.class, beanSer, beanSer);
call.setSOAPMappingRegistry(smr);
Thanks,
Adrian