[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: nett4-http endpoint - sending multipart request

Hi John,
the `netty4-http` component doesn't have any SOAP functionality (I'm
guessing you're doing SOAP), I guess you'd need to look into a binding
implementation that does that.

I would suggest that you look into CXF[1] or Spring WS[2] components
that has support for SOAP and SOAP attachments.

Since in the end you're getting an error from lower levels than
HTTP/SOAP message parsing (in SSL or sockets) be sure that the issue
you're facing has to do with attachments and not with something else
like network connectivity, SSL protocol versions/algorithms...


[1] https://github.com/apache/camel/blob/master/components/camel-cxf/src/main/docs/cxf-component.adoc#attachment-support
[2] https://github.com/apache/camel/blob/master/components/camel-spring-ws/src/main/docs/spring-ws-component.adoc#the-header-and-attachment-propagation

On Sat, Oct 13, 2018 at 4:25 PM, John Smith
<jszjsmith@xxxxxxxxxxxxxx.invalid> wrote:
> Hello,
> I have a netty4-http endpoint that I can send XML to with
> Content-Type=application/xml from a SoapUI REST project.
> I'd also like to send XML with attachments as a multipart/form or
> multipart/mixed content type.
> However when I switch the Content-Type to multipart/form or multipart/mixed
> in SOAPUI and run the POST to the netty4 Endpoint the request does not
> reach the camel route - I just get an SSL Exception in SOAPUI:
> Software caused connection abort: socket write error
> Does anyone know if netty4-http supports multipart messages?
> Thank you.

Zoran Regvart