[esb-issues] [JBoss JIRA] Commented: (JBESB-1528) WS attachments does not work for non-image binary data

Kevin Conner (JIRA) jira-events at lists.jboss.org
Mon Jul 14 11:59:29 EDT 2008


    [ http://jira.jboss.com/jira/browse/JBESB-1528?page=comments#action_12421229 ] 
            
Kevin Conner commented on JBESB-1528:
-------------------------------------

Hiya Jirka.

I have just modified the webservice_mtom to send a random sequence of bytes through as an octet stream and it worked as expected.

What exactly is going wrong?  Can you attach stacktraces/logs?

BTW The jbr/SOAPProcessor combination will not work for attachments, the data has to be inlined.  Is this what you are doing?

> WS attachments does not work for non-image binary data
> ------------------------------------------------------
>
>                 Key: JBESB-1528
>                 URL: http://jira.jboss.com/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
>         Assigned To: Kevin Conner
>             Fix For: 4.4
>
>         Attachments: 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: http://jira.jboss.com/jira/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira

        



More information about the esb-issues mailing list