Il giorno mer, 21/12/2005 alle 17.39 -0500, Anne Thomas Manes ha scritto: > If you want ArrayOfCodes to contain CodeImpl rather than Code, then > you must define the type that way: > > <xsd:complexType name="ArrayOfCodes"> > <xsd:sequence> > <xsd:element maxOccurs="unbounded" minOccurs="0" name="code" > type="pub:CodeImpl"/> > </xsd:sequence> > </xsd:complexType> > > Otherwise, if you define the inner type as Code and you return > CodeImpl, the client should generate an error that it found an > unexpected type.. > > But that doesn't explain why your service doesn't return a SOAP > envelope. I suggets you run wsdl2java and compare the skeleton code. > > Anne > I investigated a bit more about this issue. Looking to logs seems that Axis correctly starts to generate the response. It correctly loads the ArraySerializer configured for my return type. When it finds a single array object of type it.cineca.mods.UIDImpl, invokes serialize() on SerializationContext and throws
java.io.IOException: No serializer found for class it.cineca.mods.UIDImpl in registry [EMAIL PROTECTED] As you can see in my following post, I correctly configured a <typeMapping> element for this type, and Axis doesn't throw any exception while loading service configuration... Someone can help? Bye, Davide Romanini
