[prev in list] [next in list] [prev in thread] [next in thread] 

List:       jboss-user
Subject:    [jboss-user] [JBossWS] - Could not find MessageBodyWriter for class
From:       jej2003 <do-not-reply () jboss ! com>
Date:       2009-02-27 20:51:33
Message-ID: 21025704.1235767893307.JavaMail.jboss () colo-br-02 ! atl ! jboss ! com
[Download RAW message or body]

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-resteasy/ ?

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#4213863

Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=4213863
 _______________________________________________
jboss-user mailing list
jboss-user@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/jboss-user


[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic