Thanks for the info.  Yes I'm using 2.0 - i _think_ I should add this
property to the bean whose class is
org.codehaus.xfire.spring.remoting.XFireExporter in xfire-servlet.xml - can
anyone else confirm this?


DNewfield wrote:
> 
> George.Francis wrote:
>> <properties>
>>     <property key="mtom-enabled">true</property>
>> </properties>
>> 
>> Can someone tell me where to set this?
> 
> If you're using appfuse 2.0 I don't know the answer.  In 1.9.x it's in 
> applicationContext-webservice.xml
> 
> 
>> Also, is there an example of the
>> code for sending an attachment?
> 
> Don't forget to set your client to use it, too:
> client.setProperty("mtom-enabled", "true");
> 
> Other than that it's really just as simple as sending a 
> javax.activation.DataSource as an argument to your service method.
> 
> -Dale
> 
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: [EMAIL PROTECTED]
> For additional commands, e-mail: [EMAIL PROTECTED]
> 
> 
> 

-- 
View this message in context: 
http://www.nabble.com/Attachments-in-XFire-tf4774092s2369.html#a13657616
Sent from the AppFuse - User mailing list archive at Nabble.com.

---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to