"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=3914622#3914622

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


-------------------------------------------------------
This SF.net email is sponsored by: Splunk Inc. Do you grep through log files
for problems?  Stop!  Download the new AJAX search engine that makes
searching your log files as easy as surfing the  web.  DOWNLOAD SPLUNK!
http://ads.osdn.com/?ad_id=7637&alloc_id=16865&op=click
_______________________________________________
JBoss-user mailing list
JBoss-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/jboss-user

Reply via email to