the WSDD below is used with the standard "sample" for Attachments and for DataHandler Arrays...
it was NOT generated with a utility like Java2Wsdl. Rather it is just an extension of the WSDD included with the original sample that used a single instance of DataHandler for the argument. <!-- This file can be used to deploy the echoAttachments sample --> <!-- using this command: java org.apache.axis.client.AdminClient attachdeploy.wsdd --> <!-- used with axis sample for attachments located at axis_home\samples\attachments --> <!-- This deploys the echo attachment service. --> <deployment xmlns="http://xml.apache.org/axis/wsdd/" xmlns:java="http://xml.apache.org/axis/wsdd/providers/java" xmlns:urn="http://attachment.org/types" xmlns:ns1="http://xml.apache.org/xml-soap" > <service name="urn:EchoAttachmentsService" provider="java:RPC" > <parameter name="className" value="samples.attachments.EchoAttachmentsService"/> <parameter name="allowedMethods" value="echo echoDir postFile"/> <operation name="echo" returnQName="returnqname" returnType="ns1:DataHandler" > <parameter name="dh" type="ns1:DataHandler"/> </operation> <typeMapping deserializer="org.apache.axis.encoding.ser.JAFDataHandlerDeserializerFactory " languageSpecificType="java:javax.activation.DataHandler" qname="ns1:DataHandler" serializer="org.apache.axis.encoding.ser.JAFDataHandlerSerializerFactory" encodingStyle="http://schemas.xmlsoap.org/soap/encoding/" /> </service> </deployment> Ref: to eariler posts... http://marc.theaimsgroup.com/?l=axis-user&m=102201954006317&w=2 --- Outgoing mail is certified Virus Free. Checked by AVG anti-virus system (http://www.grisoft.com). Version: 6.0.524 / Virus Database: 321 - Release Date: 10/6/2003
