I'm having a problem with BeanSerializer. The problem occurs using a method which passes an array of objects to the SOAP service. The object in question is a Bean, and my service has a type mapping to this bean set up to use BeanSerializer. A BeanInfo class is used to describe the bean.
The client is built using Apache Axis. The SOAP message is at the end of this email. The symptom is as follows: Unable to retrieve PropertyDescriptor for roperty 'ns2:LongDescription' of class 'class com.xxxx.test.web.Code'. This exception appears to come from BeanSerializer.getWriteMethod(). I find this kind of puzzling, as I would not expect to see the "ns2:" prefix used to look into the bean's methods (where it will obviously not be found). The server seems to be treating "ns2:LongDescription" as the bean property name, rather than "LongDescription". Is this a configuration issue on my server end? Any thoughts on this would be much appreciated. Regards, Brian [EMAIL PROTECTED] (SOAP Message follows) POST /testWS/servlet/rpcrouter HTTP/1.0 Content-Length: 1832 Host: localhost Content-Type: text/xml; charset=utf-8 SOAPAction: "" <?xml version="1.0" encoding="UTF-8"?> <SOAP-ENV:Envelope SOAP- ENV:encodingStyle="http://schemas.xmlsoap.org/soap/encoding/" xmlns:SOAP-ENV="http://schemas.xmlsoap.org/soap/envelope/" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:SOAP- ENC="http://schemas.xmlsoap.org/soap/encoding/"> <SOAP-ENV:Body> <ns1:setCodeList2 xmlns:ns1="http://web.test.xxxx.com"> <pCodeDomain xsi:type="xsd:string">Brian</pCodeDomain> <pList xsi:type="SOAP-ENC:Array" SOAP-ENC:arrayType="ns1:Code[2]"> <item href="#id0"/> <item href="#id1"/> </pList> </ns1:setCodeList2> <multiRef id="id1" SOAP-ENC:root="0" xsi:type="ns2:Code" xmlns:ns2="http://web.test.xxxx.com"> <ns2:LongDescription xsi:type="xsd:string">Long Desc2</ns2:LongDescription> <ns2:SortOrder xsi:type="xsd:int">1</ns2:SortOrder> <ns2:ShortDescription xsi:type="xsd:string">Short Desc2</ns2:ShortDescription> <ns2:CodeValue xsi:type="xsd:string">BOK2</ns2:CodeValue> <ns2:DeactivatedFlag xsi:type="xsd:string">N</ns2:DeactivatedFlag> <ns2:DeactivatedDate xsi:type="xsd:dateTime">2002-10- 23T14:55:41.540Z</ns2:DeactivatedDate> </multiRef> <multiRef id="id0" SOAP-ENC:root="0" xsi:type="ns3:Code" xmlns:ns3="http://web.test.xxxx.com"> <ns3:LongDescription xsi:type="xsd:string">Long Desc</ns3:LongDescription> <ns3:SortOrder xsi:type="xsd:int">0</ns3:SortOrder> <ns3:ShortDescription xsi:type="xsd:string">Short Desc</ns3:ShortDescription> <ns3:CodeValue xsi:type="xsd:string">BOK</ns3:CodeValue> <ns3:DeactivatedFlag xsi:type="xsd:string">N</ns3:DeactivatedFlag> <ns3:DeactivatedDate xsi:type="xsd:dateTime">2002-10- 23T14:55:41.540Z</ns3:DeactivatedDate> </multiRef> </SOAP-ENV:Body> </SOAP-ENV:Envelope> -- To unsubscribe, e-mail: <mailto:soap-user-unsubscribe@;xml.apache.org> For additional commands, e-mail: <mailto:soap-user-help@;xml.apache.org>