cxf-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "chengy@action" <151835...@qq.com>
Subject how to get the attachement filename?
Date Tue, 25 Dec 2012 09:01:09 GMT
I see the cxf-2.6.1 mtom sample:
  <sequence>
                    <element name="name" type="xsd:string" />
                    <element name="attachinfo" type="xsd:base64Binary" 
                            
xmime:expectedContentTypes="application/octet-stream"/>
  </sequence>

public void testDataHandler(Holder<String> name, Holder<DataHandler>
attachinfo){
// can get filename here??
}

while,I use saaj send a attachement with filename by add it in mime
Content-disposition header.but I puzzled how to get the filename at
webservice server?I need do as this.

Can anybody help?



--
View this message in context: http://cxf.547215.n5.nabble.com/how-to-get-the-attachement-filename-tp5720791.html
Sent from the cxf-user mailing list archive at Nabble.com.

Mime
View raw message