I´m tryng to do a Stateless Session Bean as webservice with attachament.

The SessionBean have a method:
public DataHandler getFile();

My deploy is:
<deployment xmlns="http://xml.apache.org/axis/wsdd/";
xmlns:java="http://xml.apache.org/axis/wsdd/providers/java";>
        <service name="ArquivoTeller" provider="java:EJB">
                <parameter name="allowedMethods" value="*"/>
                <parameter name="beanJndiName"
value="java:com/casaevideo/pi/server/informacao/arquivo/ArquivoTellerLocal"/>
                <parameter name="homeInterfaceName"
value="com.casaevideo.pi.server.ejb.informacao.arquivo.ArquivoTellerLocalHome"/>
                <parameter name="remoteInterfaceName"
value="com.casaevideo.pi.server.ejb.informacao.arquivo.ArquivoTellerLocal"/>
        </service>
</deployment>

All run fine... But i WSDL the type is
<wsdl:message name="getFileResponse">
<wsdl:part name="getFileReturn" type="apachesoap:DataHandler"/>
</wsdl:message>


Why? I want to user Attachaments. What I need to do. I tried to use as it, but when I
try to import wsdl to C# this type is not imported.

All other method run fine... The webservice without it is ok.


Please! Help-me!


Reply via email to