That's right. I'm not using jboss.net - I'm just using the Axis library directly (i.e. my web app registers an org.apache.axis.transport.http.AxisServlet and this uses a /WEB-INF/server-config.wsdd file to configure the services). I do this so I've got app server independence.
> -----Original Message----- > From: [EMAIL PROTECTED] > [mailto:[EMAIL PROTECTED] On Behalf Of Rob Moore > Sent: 28 January 2004 14:40 > To: [EMAIL PROTECTED] > Subject: [JBoss-user] Re: jboss.net: SOAP Attachments anyone? > > > Thanks, Alastair. > > So I take it you are not using the xdoclet module to generate the > web-service.xml? > > Rob > > Alastair Rodgers wrote: > > It sounds like the 'apachesoap:DataHandler' might not be mapped > > correctly. I achieve this using the following in the Axis WSDD file: > > > > > > <service name="myservice" provider="java:RPC" > xmlns:ns1="http://www.blah.com/myservice"> > > <parameter name="wsdlTargetNamespace" > value="http://www.blah.com/myservice"/> > > <parameter name="className" value="com.blah.MyService"/> > > <parameter name="allowedMethods" value="submitFile"/> > > <operation name="submitFile" qname="submitFile" > returnQName="result" returnType="xsd:string"> > > <parameter name="someParam" type="xsd:string"/> > > <parameter name="dh" type="ns1:DataHandler"/> > > </operation> > > <typeMapping > deserializer="org.apache.axis.encoding.ser.JAFDataHandlerDeser > ializerFactory" > > languageSpecificType="java:javax.activation.DataHandler" > > qname="ns1:DataHandler" > > > serializer="org.apache.axis.encoding.ser.JAFDataHandlerSeriali > zerFactory" > > encodingStyle="http://schemas.xmlsoap.org/soap/encoding/"/> > > </service> > > > > > > Note how the ns1:DataHandler parameter type is mapped to > > JAFDataHandlerSerializerFactory / > JAFDataHandlerDeserializerFactory, and that ns1 is defined as > a valid namespace on the service element. > > > > > > > > > ------------------------------------------------------- The SF.Net email is sponsored by EclipseCon 2004 Premiere Conference on Open Tools Development and Integration See the breadth of Eclipse activity. February 3-5 in Anaheim, CA. http://www.eclipsecon.org/osdn _______________________________________________ JBoss-user mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/jboss-user