Hi am trying to send attachment in request SWA in CXF. wsdl has the below
mime content part:
<wsdl:input>
<mime:multipartRelated>
<mime:part>
<mime:content
part="tempRequest"/>
</mime:part>
</mime:multipartRelated>
But the interceptors throws an error that the Attachment of type tempRequest
is not supported.
Caused by: org.apache.cxf.interceptor.Fault: Attachments of type class
com.tempRequest are not supported.
at
org.apache.cxf.jaxws.interceptors.SwAOutInterceptor.processAttachments(SwAOutInterceptor.java:232)
at
org.apache.cxf.jaxws.interceptors.SwAOutInterceptor.handleMessage(SwAOutInterceptor.java:154)
at
org.apache.cxf.jaxws.interceptors.SwAOutInterceptor.handleMessage(SwAOutInterceptor.java:75)
at
org.apache.cxf.phase.PhaseInterceptorChain.doIntercept(PhaseInterceptorChain.java:308)
at org.apache.cxf.endpoint.ClientImpl.doInvoke(ClientImpl.java:514)
at org.apache.cxf.endpoint.ClientImpl.invoke(ClientImpl.java:423)
at org.apache.cxf.endpoint.ClientImpl.invoke(ClientImpl.java:324)
at org.apache.cxf.endpoint.ClientImpl.invoke(ClientImpl.java:277)
at org.apache.cxf.frontend.ClientProxy.invokeSync(ClientProxy.java:96)
at
org.apache.cxf.jaxws.JaxWsClientProxy.invoke(JaxWsClientProxy.java:139)
Any suggestions around this would be helpful.
Thanks,
Jai
--
View this message in context:
http://cxf.547215.n5.nabble.com/CXF-not-generating-attachments-for-mime-content-tp5777139.html
Sent from the cxf-user mailing list archive at Nabble.com.