"ameisinger" wrote : Hi to everyone!
  | 
  | I made some attempts with complex types. Now they're working after 
inserting the corresponding typeMapping.
  | 
  | I tried a new method: String setStrings(String[]) and there is the same 
error like before: 
  | 
  | No deserializer defined for array type 
{http://www.w3.org/2003/05/soap-encoding}string.
  | 
  | My ws4ee-deployment.xml looks like
  | 
  |   | <deployment
  |   |         xmlns='http://xml.apache.org/axis/wsdd/'
  |   |         xmlns:java='http://xml.apache.org/axis/wsdd/providers/java'
  |   |         xmlns:soap='http://schemas.xmlsoap.org/soap/encoding/'
  |   |         xmlns:xsi='http://www.w3.org/2000/10/XMLSchema-instance'
  |   |         xmlns:xsd='http://www.w3.org/2001/XMLSchema'>
  |   | 
  |   |                 ...
  |   | 
  |   |         <typeMapping 
  |   |                 qname="ns1:ArrayOf_soapenc_string" 
  |   |                 xmlns:ns1='http://Hello'
  |   |                 type="java:java.lang.String[]"
  |   |                 
serializer="org.jboss.axis.encoding.ser.ArraySerializerFactory"
  |   |                 
deserializer="org.jboss.axis.encoding.ser.ArrayDeserializerFactory"
  |   |                 
encodingStyle="http://schemas.xmlsoap.org/soap/encoding/";
  |   |         />
  |   |                 ...
  |   | 
  | 
  | My wsdl file:
  | 
  |   | <complexType name="ArrayOf_soapenc_string">
  |   |   <complexContent>
  |   |     <restriction base="soapenc:Array">
  |   |       <attribute ref="soapenc:arrayType" 
wsdl:arrayType="soapenc:string[]" xmlns:wsdl="http://schemas.xmlsoap.org/wsdl/"; 
/> 
  |   |     </restriction>
  |   |   </complexContent>
  |   | </complexType>
  |   | 
  | 
  | The method String[] getStrings() works without the typeMapping. 
  | 
  | 
  | Is there any solution available for this problem?

View the original post : 
http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3908659#3908659

Reply to the post : 
http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3908659


-------------------------------------------------------
This SF.Net email is sponsored by the JBoss Inc.  Get Certified Today
Register for a JBoss Training Course.  Free Certification Exam
for All Training Attendees Through End of 2005. For more info visit:
http://ads.osdn.com/?ad_id=7628&alloc_id=16845&op=click
_______________________________________________
JBoss-user mailing list
JBoss-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/jboss-user

Reply via email to