Hi,

I get the following error when trying to serialize an integer array. IntArraySerializer is the serializer that will be provided by IntArraySerializerFactory. The type mapping is given below

 {http://xml.apache.org/axis/}stackTrace: javax.xml.rpc.JAXRPCException: unable to get 
serializer for class IntArraySerializer
        at 
org.apache.axis.encoding.ser.BaseSerializerFactory.getSerializerAsInternal(BaseSerializerFactory.java:134)
        at 
org.apache.axis.encoding.ser.BaseSerializerFactory.getSerializerAs(BaseSerializerFactory.java:111)
        at 
org.apache.axis.encoding.SerializationContextImpl.getSerializer(SerializationContextImpl.java:1356)
        at 
org.apache.axis.encoding.SerializationContextImpl.serializeActual(SerializationContextImpl.java:1229)
        at 
org.apache.axis.encoding.SerializationContextImpl.serialize(SerializationContextImpl.java:795)
        at org.apache.axis.message.RPCParam.serialize(RPCParam.java:225)


<typeMapping xmlns:ns="http://soapinterop.org/xsd"; qname="ns:ArrayOfint" type="java:int[]" serializer="IntArraySerializerFactory" deserializer="org.apache.axis.encoding.ser.ArrayDeserializerFactory" encodingStyle="http://schemas.xmlsoap.org/soap/encoding/"; />

Now, I understand why it could say a serializer for a type used in the wsdl description is not found. However, I don't understand why would it say a serializer for the serializer class is not found? How could this happen?


--

Venkatesh Prasad Ranganath,
Dept. Computing and Information Science,
Kansas State University, US.
web: http://www.cis.ksu.edu/~rvprasad



Reply via email to