You are viewing a plain text version of this content. The canonical link for it is here.
Posted to java-user@axis.apache.org by Christian Schröder <cs...@theta-soft.de> on 2004/11/02 22:29:39 UTC
Exception: No deserializer defined for array type ...
Hi!
I've tried to build a Java client for the wsdl which can be found at
http://62.146.42.45/soap/complextest1.wsdl
The wsdl file is compiled (using WSDL2Java from axis 1.1) without
problems. But when I try to call the "findSecurities" function, an
exception "No deserializer defined for array type Security" is raised.
I found the section about custom serialization in the Axis User's Guide,
but since I'm building a client (and not a server) I don't think that a
WSDD file is a solution for me.
What can I do instead to make it work?
Thanks in advance.
Christian
Re: Exception: No deserializer defined for array type ...
Posted by Egor Pervuninski <pe...@quorus.ru>.
Hello,
## Christian Schröder : Tue, 02 Nov 2004 22:29:39 +0100
CS> Hi! I've tried to build a Java client for the wsdl which can be
CS> found at http://62.146.42.45/soap/complextest1.wsdl The wsdl file
CS> is compiled (using WSDL2Java from axis 1.1) without problems. But
CS> when I try to call the "findSecurities" function, an exception "No
CS> deserializer defined for array type Security" is raised. I found
CS> the section about custom serialization in the Axis User's Guide,
CS> but since I'm building a client (and not a server) I don't think
CS> that a WSDD file is a solution for me. What can I do instead to
CS> make it work?
WSDD file is actualy a solution for you because Axis doesn't know
how to deserialize SOAP encoded array Security in your case. Run
WSDl2Java with -s param and it will give you deploy.wsdd with
requires type mappings. Just use it to create your client-config.wsdd
Regards,
Egor Pervuninski