Has anyone had any experience with getting the java.util.List multipart support working as
described at
http://bill.burkecentral.com/2008/10/23/jax-rs-multipart-support-with-res... ?
When running the Client Framework I get the following:
Exception in thread "main" java.lang.RuntimeException: Could not find
MessageBodyWriter for class java.util.List and mediaType multipart/mixed
| at
org.jboss.resteasy.client.core.MessageBodyParameterMarshaller.getMessageBodyWriter(MessageBodyParameterMarshaller.java:59)
| at
org.jboss.resteasy.client.core.MessageBodyParameterMarshaller.buildRequest(MessageBodyParameterMarshaller.java:48)
| at
org.jboss.resteasy.client.core.WebRequestIntializer.setHeadersAndRequestBody(WebRequestIntializer.java:43)
| at
org.jboss.resteasy.client.core.ClientInvoker.initBaseMethod(ClientInvoker.java:107)
| at org.jboss.resteasy.client.core.ClientInvoker.invoke(ClientInvoker.java:67)
| at org.jboss.resteasy.client.core.ClientProxy.invoke(ClientProxy.java:47)
I see the provider being loaded (or at least what I would assume is the provider)
| ...
| 78 [main] INFO org.jboss.resteasy.plugins.providers - Adding built in provider
org.jboss.resteasy.plugins.providers.multipart.ListMultipartReader
| 78 [main] INFO org.jboss.resteasy.plugins.providers - Adding built in provider
org.jboss.resteasy.plugins.providers.multipart.MultipartFormDataReader
| 78 [main] INFO org.jboss.resteasy.plugins.providers - Adding built in provider
org.jboss.resteasy.plugins.providers.multipart.MapMultipartFormDataReader
| 94 [main] INFO org.jboss.resteasy.plugins.providers - Adding built in
providerorg.jboss.resteasy.plugins.providers.multipart.MultipartWriter
| 94 [main] INFO org.jboss.resteasy.plugins.providers - Adding built in
providerorg.jboss.resteasy.plugins.providers.multipart.MultipartFormDataWriter
| 94 [main] INFO org.jboss.resteasy.plugins.providers - Adding built in
providerorg.jboss.resteasy.plugins.providers.multipart.ListMultipartWriter
| ...
|
View the original post :
http://www.jboss.org/index.html?module=bb&op=viewtopic&p=4213863#...
Reply to the post :
http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&a...