[esb-issues] [JBoss JIRA] Commented: (JBESB-1528) WS attachments does not work for non-image binary data
Jiri Pechanec (JIRA)
jira-events at lists.jboss.org
Wed Jul 16 06:47:25 EDT 2008
[ https://jira.jboss.org/jira/browse/JBESB-1528?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12421491#action_12421491 ]
Jiri Pechanec commented on JBESB-1528:
--------------------------------------
OK,
I've the problem. If I set the MIME-type for DHResponse it switches from inline to attachment method
@XmlMimeType("application/x-zip-compressed")
public DataHandler getDataHandler() {
> WS attachments does not work for non-image binary data
> ------------------------------------------------------
>
> Key: JBESB-1528
> URL: https://jira.jboss.org/jira/browse/JBESB-1528
> Project: JBoss ESB
> Issue Type: Bug
> Security Level: Public(Everyone can see)
> Components: Web Services
> Affects Versions: 4.2.1
> Reporter: Jiri Pechanec
> Assignee: Kevin Conner
> Fix For: 4.4
>
> Attachments: webservice_mtom.zip, wsa.tgz
>
>
> In the JBossWS docs there is a list of supported MIME types together with appropriate java data types http://jbws.dyndns.org/mediawiki/index.php?title=User_Guide#Attachments
> java.awt.Image and javax.xml.transform.Source works but javax.activation.DataHandler that can be used to transfer any binary data does not.
> Attached is test app and TestNG test that can be convereted into standalone client in two minutes
> If call is done against WS itself then it works, if it send via ESB facade, the attachment is not added.
> Can it be related to JBESB-1479 ?
--
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: https://jira.jboss.org/jira/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira
More information about the esb-issues
mailing list