Uploaded image for project: 'SwitchYard'
  1. SwitchYard
  2. SWITCHYARD-2902

MTOM in SOAP binding does not work for data type "image/jpeg"

    Details

    • Type: Bug
    • Status: Closed (View Workflow)
    • Priority: Major
    • Resolution: Out of Date
    • Affects Version/s: 2.1.0
    • Fix Version/s: 3.0
    • Component/s: component-soap
    • Labels:
      None
    • Steps to Reproduce:
      Hide

      Quickstart: soap-mtom

      • Fuse - UnsupportedDataTypeException: image/jpeg
      • EAP - OK
      Show
      Quickstart: soap-mtom Fuse - UnsupportedDataTypeException: image/jpeg EAP - OK

      Description

      
      Caused by: javax.activation.UnsupportedDataTypeException: image/jpeg
      	at javax.activation.DataHandler$ObjectDataSource.getInputStream(DataHandler.java:184)
      	at org.switchyard.common.camel.HandlerDataSource.getInputStream(HandlerDataSource.java:45)
      	at org.switchyard.common.camel.HandlerDataSource.getInputStream(HandlerDataSource.java:45)
      	at javax.activation.DataHandler.getInputStream(DataHandler.java:67)
      	at javax.activation.DataHandler.writeTo(DataHandler.java:80)
      	at org.apache.cxf.attachment.AttachmentSerializer.writeAttachments(AttachmentSerializer.java:264)
      	at org.apache.cxf.interceptor.AttachmentOutInterceptor$AttachmentOutEndingInterceptor.handleMessage(AttachmentOutInterceptor.java:103)
      	at org.apache.cxf.phase.PhaseInterceptorChain.doIntercept(PhaseInterceptorChain.java:307)[74:org.apache.cxf.cxf-core:3.0.4.redhat-621084]
      	at org.apache.cxf.endpoint.ClientImpl.doInvoke(ClientImpl.java:516)
      	at org.apache.cxf.endpoint.ClientImpl.invoke(ClientImpl.java:425)
      	at org.apache.cxf.endpoint.ClientImpl.invoke(ClientImpl.java:326)
      	at org.apache.cxf.endpoint.ClientImpl.invoke(ClientImpl.java:279)
      	at org.apache.cxf.endpoint.ClientImpl.invokeWrapped(ClientImpl.java:314)
      	at org.apache.cxf.jaxws.DispatchImpl.invoke(DispatchImpl.java:327)
      	... 142 more

        Gliffy Diagrams

          Attachments

            Issue Links

              Activity

                People

                • Assignee:
                  igarashitm tomohisa igarashi
                  Reporter:
                  igarashitm tomohisa igarashi
                • Votes:
                  0 Vote for this issue
                  Watchers:
                  1 Start watching this issue

                  Dates

                  • Created:
                    Updated:
                    Resolved: