Arcadius A. wrote:

So, it seems that my problem is the serializer/deserializer on the server :-(

Here is my deploy.wsdd file :


<?xml version="1.0" encoding="UTF-8"?>
<deployment
xmlns="http://xml.apache.org/axis/wsdd/";
xmlns:ns="http://www.openuri.org";
xmlns:java="http://xml.apache.org/axis/wsdd/providers/java";>
<service name="DP" provider="java:RPC" style="document" >
<parameter name="className" value="cz.cvut.sh.ahouans.DP"/>
<parameter name="allowedMethods" value="addUser findByBirthMonth findByBirthYear findByCity findByCountry findByEmail findByGender findByLastname findByUserId findByUsername isValidUser showAllUsers unsubscribe "/>
<parameter name="scope" value="Request"/>


 <typeMapping
   xmlns:ns="http://www.openuri.org";
   qname="ns:Person"
   type="java:cz.cvut.sh.ahouans.Person"
   serializer="org.apache.axis.encoding.ser.BeanSerializerFactory"
   deserializer="org.apache.axis.encoding.ser.BeanDeserializerFactory"
   encodingStyle="http://schemas.xmlsoap.org/soap/encoding/";
 />

 <typeMapping
   xmlns:ns="http://www.openuri.org";
   qname="ns:ArrayOffPerson"
   type="java:cz.cvut.sh.ahouans.Person[]"
   serializer="org.apache.axis.encoding.ser.ArraySerializerFactory"
   deserializer="org.apache.axis.encoding.ser.ArrayDeserializerFactory"
   encodingStyle="http://schemas.xmlsoap.org/soap/encoding/";
 />
 </service>
</deployment>

Please, is the WSDD file correct for my service?

Thanks.

Arcadius.




Reply via email to