SAXException: No deserializer defined for array type
----------------------------------------------------
Key: AXIS-1914
URL: http://issues.apache.org/jira/browse/AXIS-1914
Project: Axis
Type: Bug
Versions: 1.1
Environment: WebLogic EJB webservice to .net 1.1
Reporter: Radu Marian
After excecuting a webservice that that is about to return an array of simple
java beans I get the following exception:
org.xml.sax.SAXException: No deserializer defined for array type
{FundAttributes}FundAttributesJavaBean
my exposed session bean method looks like:
public FundAttributesJavaBean[] findAllFundAttributess(String[]
searchCriteria){
...
return bean_array;
}
I use the following descriptior:
<deployment xmlns="http://xml.apache.org/axis/wsdd/"
xmlns:java="http://xml.apache.org/axis/wsdd/providers/java">
<service name="FundAttributesService" provider="java:EJB">
<parameter name="className"
value="com.ing.fundattributes.ejb.FundAttributesServiceRemote" />
<parameter name="beanJndiName"
value="FundAttributes_com_ing_fundattributes_FundAttributesServiceHome" />
<parameter name="homeInterfaceName"
value="com.ing.fundattributes.ejb.FundAttributesServiceHome" />
<parameter name="remoteInterfaceName"
value="com.ing.fundattributes.ejb.FundAttributesServiceRemote" />
<parameter name="jndiContextClass"
value="weblogic.jndi.WLInitialContextFactory"/>
<parameter name="jndiURL" value="t3://localhost:7001"/>
<parameter name="allowedMethods" value="findAllFundAttributess"/>
<typeMapping
xmlns:ns="FundAttributes"
qname="ns:ArrayOfFundAttributesJavaBean"
type="java:com.ing.fundattributes.valueobject.FundAttributesJavaBean[]"
serializer="org.apache.axis.encoding.ser.ArraySerializerFactory"
deserializer="org.apache.axis.encoding.ser.ArrayDeserializerFactory"
encodingStyle="http://schemas.xmlsoap.org/soap/encoding/"/>
<typeMapping
xmlns:ns="FundAttributes"
qname="ns:FundAttributesJavaBean"
type="java:com.ing.fundattributes.valueobject.FundAttributesJavaBean"
serializer="org.apache.axis.encoding.ser.BeanSerializerFactory"
deserializer="org.apache.axis.encoding.ser.BeanDeserializerFactory"
encodingStyle="http://schemas.xmlsoap.org/soap/encoding/"/>
</service>
</deployment>
Is this a bug in 1.1? When can this be fixed?
Radu
--
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators:
http://issues.apache.org/jira/secure/Administrators.jspa
-
If you want more information on JIRA, or have a bug to report see:
http://www.atlassian.com/software/jira