Hi Rémi, Will you please share your WSDD file? Have you specified the type mapping for B[] in your WSDD file? I saw that your stub has ArrayOf_tns2_B mapping.
If you use the array of user defined complex types in your web service then you will have to specify the type mapping for the complex type as well as for array of the complex type. The sample type mapping for using array of user defined types can be as shown below. <typeMapping deserializer="org.apache.axis.encoding.ser.BeanDeserializerFactory" encodingStyle="http://schemas.xmlsoap.org/soap/encoding/" qname="ns670:SOAPStruct" serializer="org.apache.axis.encoding.ser.BeanSerializerFactory" type="java:datainter.SOAPStruct" xmlns:ns670="http://soapinterop.org/xsd"/> <typeMapping deserializer="org.apache.axis.encoding.ser.ArrayDeserializerFactory" encodingStyle="http://schemas.xmlsoap.org/soap/encoding/" qname="ns671:ArrayOfSOAPStruct" serializer="org.apache.axis.encoding.ser.ArraySerializerFactory" type="java:datainter.SOAPStruct[]" xmlns:ns671="http://soapinterop.org/xsd"/> Try this, see if this solves your issue. Good luck. Shrikant Wagh QA Lead, HPP/Eprofile, HP For those who are interested in Web Services testing: ----------------------------------------------------- I found that WebServiceTester from Optimyz software is a very good tool for testing any types of web services, and I'm great fan of this tool. It supports all types of web services, and all simple and complex types and it very usable than any other tool in the market I ever used/evaluated. It automatically generates the SOAP requests and invokes the intended web services. It can perform functional, regression and load testing of web services. Result analysis and status reporting is just wonderful. I'll highly recommend this tool for testing web services, saves lots of time and efforts in testing web services. For more information visit http://www.optimyz.com. DISCLAIMER ================================================================ THESE ARE MY PERSONAL VIEWS/OPINIONS AND DOES NOT REPRESENT HP, AND THE INFORMATION PROVIDED ``AS IS'' AND ANY EXPRESSED OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE I/HP BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS INFORMATION, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. ================================================================= -----Original Message----- From: Rémi Bars [mailto:[EMAIL PROTECTED] Sent: Tuesday, January 20, 2004 12:18 AM To: [EMAIL PROTECTED] Subject: No deserializer hi all, there is my problem i m trying to serialize and deserialize this class : when i launch my application i get the following error : java.io.IOException: java.io.IOException: No mapped schema type for test.B at org.apache.axis.AxisFault.makeFault(AxisFault.java:129) at org.apache.axis.SOAPPart.writeTo(SOAPPart.java:272) at org.apache.axis.SOAPPart.getAsString(SOAPPart.java:483) at org.apache.axis.SOAPPart.getAsBytes(SOAPPart.java:375) at org.apache.axis.Message.getContentType(Message.java:399) at org.apache.axis.transport.http.HTTPSender.writeToSocket(HTTPSender.java:341) at org.apache.axis.transport.http.HTTPSender.invoke(HTTPSender.java:122) at org.apache.axis.strategies.InvocationStrategy.visit(InvocationStrategy.java: 71) at org.apache.axis.SimpleChain.doVisiting(SimpleChain.java:150) at org.apache.axis.SimpleChain.invoke(SimpleChain.java:120) at org.apache.axis.client.AxisClient.invoke(AxisClient.java:180) at org.apache.axis.client.Call.invokeEngine(Call.java:2564) at org.apache.axis.client.Call.invoke(Call.java:2553) at org.apache.axis.client.Call.invoke(Call.java:2248) at org.apache.axis.client.Call.invoke(Call.java:2171) at org.apache.axis.client.Call.invoke(Call.java:1691) could u help me please? thanks Remi ---------------------------------------------------------------------------- ---- Class A implements B { private B[] child; static { typeDesc.setXmlType(new javax.xml.namespace.QName("http://test", "A")); elemField = new org.apache.axis.description.ElementDesc(); elemField.setFieldName("child"); elemField.setXmlName(new javax.xml.namespace.QName("", "_child")); elemField.setXmlType(new javax.xml.namespace.QName("http://test", "A")); typeDesc.addFieldDesc(elemField); } in my stub i have : java.lang.Class cls; javax.xml.namespace.QName qName; java.lang.Class beansf = org.apache.axis.encoding.ser.BeanSerializerFactory.class; java.lang.Class beandf = org.apache.axis.encoding.ser.BeanDeserializerFactory.class; java.lang.Class enumsf = org.apache.axis.encoding.ser.EnumSerializerFactory.class; java.lang.Class enumdf = org.apache.axis.encoding.ser.EnumDeserializerFactory.class; java.lang.Class arraysf = org.apache.axis.encoding.ser.ArraySerializerFactory.class; java.lang.Class arraydf = org.apache.axis.encoding.ser.ArrayDeserializerFactory.class; java.lang.Class simplesf = org.apache.axis.encoding.ser.SimpleSerializerFactory.class; java.lang.Class simpledf = org.apache.axis.encoding.ser.SimpleDeserializerFactory.class; qName = new javax.xml.namespace.QName("http://test", "A"); cachedSerQNames.add(qName); cls = test.A.class; cachedSerClasses.add(cls); cachedSerFactories.add(beansf); cachedDeserFactories.add(beandf); qName = new javax.xml.namespace.QName("urn:axis.test", "ArrayOf_tns2_A"); cachedSerQNames.add(qName); cls = test.A[].class; cachedSerClasses.add(cls); cachedSerFactories.add(arraysf); cachedDeserFactories.add(arraydf); qName = new javax.xml.namespace.QName("http://test", "B"); cachedSerQNames.add(qName); cls = test.B.class; cachedSerClasses.add(cls); cachedSerFactories.add(beansf); cachedDeserFactories.add(beandf); qName = new javax.xml.namespace.QName("urn:test", "ArrayOf_tns2_B"); cachedSerQNames.add(qName); cls = fr.ouestfrance.sip.cezan.structure.statut.A[].class; cachedSerClasses.add(cls); cachedSerFactories.add(arraysf); cachedDeserFactories.add(arraydf);