ase64 to be selected. How to do that in SwA type attachment?
>
>
> Thanks
> Vadim.
> (310)765-3812
>
> -Original Message-
> From: Andreas Veithen [mailto:andreas.veit...@gmail.com]
> Sent: Friday, July 24, 2009 12:13 AM
> To: axis-user@ws.apache.org
> Subject: Re: [a
0)765-3812
-Original Message-
From: Andreas Veithen [mailto:andreas.veit...@gmail.com]
Sent: Friday, July 24, 2009 12:13 AM
To: axis-user@ws.apache.org
Subject: Re: [axis2] How to set Content Type for SwA type attachment
Vadim,
The content type of the attachment is determined by a call to
Vadim,
The content type of the attachment is determined by a call to
DataSource#getContentType(). The problem is that FileDataSource
doesn't allow you to set the content type explicitly, but uses some
filetype mapping mechanism. There is an alternative implementation
called "CachedFileDataSource"
Hi Vadim,
AFAIK for HTTP binding for the SOAP with Attachment type messages
content types should be as follows.
1.) content-type for HTTP header - multipart/related.
2.) Content type of SOAP message - text/xml ( for SOAP 1.1 ) ,
application/soap+xml (for SOAP 1.2). and binary data attac
I have used "Sample client which sends a message with SwA type attachments"
code snippet to adjust my Stab generated from WSDL.
Particularly these strings:
FileDataSource fileDataSource = new FileDataSource("Name.tar.gz");
DataHandler dataHandler = new DataHandler(fileDataSource);