
Questions: 23,672 //
Answers: 52,200 //
Contributing Members: 17,942
Hi,
I am calling a SOAP based webservice in Mule flow using WebServiceConsumer. The webservice which I am calling expects XML data as input and it is returning XML as output. However there is an error related to MIME boundaries during the WS call. Following is the error.
org.apache.cxf.phase.PhaseInterceptorChain: Interceptor for {http://support.cxf.module.mule.org/}ProxyService#{http://support.cxf.module.mule.org/}invoke has thrown exception, unwinding now
org.apache.cxf.interceptor.Fault: Couldn't find MIME boundary: ------=_Part_41939_284538774.1511339675755
After good 7 days analysis, I came to the conclusion that the webservice which I am calling is returning XML data with below details.
Content-Encoding:gzip
Content-Type:multipart/related;type="application/xop+xml";boundary="----=_Part_41937_124342244.797979432";
And the above encoding and content-type is causing issue in Mule flow. To fix this, I've tried implementing CustomInterceptor by copying code from here and there. I am super confused in implementing the interceptor and to decide if it is inbound or outbound interceptor. Evenutally it didn't work.
Could anyone suggest how to fix this? I am new to Mule and SpringFramework both. I've been working on this issue continuously but going no where. Please provide pointers.
The POC which I am doing is in AnypointStudio of version 6.4.1 and the runtime version is 3.9.0
Appreciate your help.
Regards, DevV.
MuleESB Cosuming SOAP API making flow 2 Answers
Errors in Proxy based SOAP Webservice deployment. 2 Answers
How to consume HTTPS SOAP 0 Answers