Hi!
I'm trying to expose a WebService inside Spring Container through Axis 1.2 and I'm having problems with DataHandlers.

I've tried with a test class and a test method that accepts a DataHandler type argument (I want to pass a binary file content through the parameter).

This is the method signature:

Code:
public class TestServiceEndpoint extends ServletEndpointSupport implements RemoteTestService
public int testHandler(DataHandler data) {
return 0;
}
Here is the Axis wsdd configuration:

Code:
<?xml version="1.0" encoding="UTF-8"?>
<deployment xmlns="http://xml.apache.org/axis/wsdd/"
            xmlns:java="http://xml.apache.org/axis/wsdd/providers/java"
            xmlns:ns1="http://xml.apache.org/xml-soap">
	<globalConfiguration>
  		<parameter name="adminPassword" value="admin"/>
  		<parameter name="attachments.Directory" value="./attachments"/>
  		<parameter name="attachments.implementation"
             value="org.apache.axis.attachments.AttachmentsImpl"/>
  		<parameter name="sendXsiTypes" value="true"/>
  		<parameter name="sendMultiRefs" value="true"/>
  		<parameter name="sendXMLDeclaration" value="true"/>
  		<parameter name="axis.sendMinimizedElements" value="true"/>
  		<requestFlow>
   			<handler type="java:org.apache.axis.handlers.JWSHandler">
   				<parameter name="scope" value="session"/>
 			</handler>
   			<handler type="java:org.apache.axis.handlers.JWSHandler">
    			<parameter name="scope" value="request"/>
    			<parameter name="extension" value=".jwr"/>
   			</handler>
  		</requestFlow>
 	</globalConfiguration>
 	<handler name="LocalResponder"
          type="java:org.apache.axis.transport.local.LocalResponder"/>
 	<handler name="URLMapper"
          type="java:org.apache.axis.handlers.http.URLMapper"/>
 	<handler name="Authenticate"
          type="java:org.apache.axis.handlers.SimpleAuthenticationHandler"/>
 	<service name="AdminService" provider="java:MSG">
  		<parameter name="allowedMethods" value="AdminService"/>
  		<parameter name="enableRemoteAdmin" value="false"/>
  		<parameter name="className" value="org.apache.axis.utils.Admin"/>
  		<namespace>http://xml.apache.org/axis/wsdd/</namespace>
 	</service>
 	<service name="Version" provider="java:RPC">
  		<parameter name="allowedMethods" value="getVersion"/>
  		<parameter name="className" value="org.apache.axis.Version"/>
 	</service>
 	
 	
    <service name="TestService" style="wrapped">
 		<parameter name="className" value="TestServiceEndpoint"/>
  		<parameter name="enableRemoteAdmin" value="false"/>
  		<parameter name="allowedMethods" value="testHandler"/>
  		<operation name="testHandler" returnType="xsd:int">
  		   <parameter name="data" type="ns1:DataHandler"/>
 	        </operation>
  	 
 	         <typeMapping
      				 qname="ns1:DataHandler"
      				 languageSpecificType="java:javax.activation.DataHandler"
      				 serializer="org.apache.axis.encoding.ser.JAFDataHandlerSerializerFactory"
	  				 deserializer="org.apache.axis.encoding.ser.JAFDataHandlerDeserializerFactory"
      				 encodingStyle="http://schemas.xmlsoap.org/soap/encoding/"/>
  		<namespace>http://test/test-service</namespace>  		
 	</service>
	
	<transport name="http">
  		<requestFlow>
   			<handler type="URLMapper"/>
   			<handler type="java:org.apache.axis.handlers.http.HTTPAuthHandler"/>
  		</requestFlow>
 	</transport>
 	<transport name="local">
  		<responseFlow>
   			<handler type="LocalResponder"/>
  		</responseFlow>
 	</transport>
</deployment>
When I try to access to the web service with soapUI I get the following error in soapUI:

Error loading schema types from http://localhost:8080/test/services/TestService?wsdl

in the log console of soapUI I get the following:

http://localhost:8080/test/services/...ervice?wsdl:0: error: src-resolve: type 'DataHandler@http://xml.apache.org/xml-soap' not found.

ERROR:Loading of definition failed for [http://localhost:8080/test/services/...Service?wsdl]; com.eviware.soapui.impl.wsdl.support.xsd.SchemaExc eption: Error loading schema types

Could anyone give some help with this error? Should I use a different xmlns than xmlns:ns1="http://xml.apache.org/xml-soap"?

Thanks in advance.