Forum Discussion

JPiret's avatar
JPiret
Occasional Contributor
15 years ago

[SOLVED]soapUI 3.0.1 and MTOM: cast exception

Hello,

I am using soapUI Pro edition (version 3.0.1) and try to invoke a Web Service with an attachment.

This Web Service (deployed on Oracle WebLogic Server 10gR3) works properly with a Java Client proxy.

Through soapUI, when I submit my SOAP request with an attachment, I got the following error on the server:
Caused by: java.lang.ClassCastException: javax.activation.DataHandler cannot be cast to com.sun.xml.ws.developer.StreamingDataHandler

Is this a known problem or limitation of soapUI?

Is there any workaround or did I miss something?


Thanks for your help

1 Reply

  • JPiret's avatar
    JPiret
    Occasional Contributor
    I solved my issue.

    I have just forgot to change the "Request Properties" in order to set to True the property "Enable MTOM".

    You can also force MTOM.

    The "Request Properties " are available at the lower left part of the soapUI screen.


    S.