Thank your for your answer.

Does it mean, that I have to modify wsdl and add a new parameter for data I
want to be sent as attachment?

And - is there any documentation on how to use CXF with services which don't
support MTOM ?

-- 

Roderic
2009/3/30 Freeman Fang <[email protected]>

> Hi,
>
> Take a look at [1]
> [1]http://cwiki.apache.org/CXF20DOC/mtom-attachments-with-jaxb.html
>
> Freeman
>
> Roderic Green wrote:
>
>> Hi,
>>
>>  I need to write a client to external web service - one of the methods
>> requires that some data are sent as SOAP Attachment - but it seems that it
>> is not defined in anynway in wsdl. How can I attach the file to soap
>> request
>> in this situation? Is it possible to achieve using Spring configuration
>> (all
>> other parts of CXF client I implemented use Spring).
>>
>>
>>
>
>

Reply via email to