[jboss-user] [JBossWS] - Re: mtom on the server

2008-08-16 Thread lfoggy
I am concerned if a client can not process mtom encoded attachments, so I like to make mtom optional on the server. (this is an in-house application, so customers will have control over the server) So when server is not mtom-enabled, attachment is send inline. The javadoc for BindingType annotat

[jboss-user] [JBossWS] - mtom on the server

2008-08-13 Thread lfoggy
Hi, If I want to make mtom optional on the server, what is the best way of configuring that? Is there any way to package the BindingType outside the webservice class, so that users can turn mtom on or off? Thanks, View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic

[jboss-user] [JBossWS] - Re: Enabling MTOM-Support at JBossWS client fails

2008-08-12 Thread lfoggy
Thank you very much for the replies. In your case the code is working because StatementDO has a single DataHandler field. public final class StatementDO implements Serializable { ... private DataHandler stmtContent; I think the problem is when there is a List of DataHandlers. public final c

[jboss-user] [JBossWS] - Re: Enabling MTOM-Support at JBossWS client fails

2008-08-12 Thread lfoggy
Well, I am using document/literal wrapped for my wsdl file, and what I have found so far is that mtom only works if the parameter type of the method is DataHandler. For example, this works: @WebMethod @RequestWrapper(localName = "sendOctet", targetNamespace = "http://xxx.com/webservice/mtom/";,

[jboss-user] [JBossWS] - Re: Enabling MTOM-Support at JBossWS client fails

2008-08-11 Thread lfoggy
Hi, I have been trying to compare my classes with the sample xop examples in jbossws package and finally I was able to find the problem. Here are my classes: class AttachmentType { @XmlMimeType("application/octet-stream") protected DataHandler dh; class AttachmentTypeHolder {

[jboss-user] [JBossWS] - Re: Enabling MTOM-Support at JBossWS client fails

2008-08-06 Thread lfoggy
Hi, I am also having the same problem. I am using JAX-WS 2.0.3 with jboss 4.0.5, and enabling mtom on the client side to send an attachment to the server. When I check the content of the msg in trace mode, it looks like it is inline. Is there anything else I need to do or maybe the trace mode is

[jboss-user] [Installation, Configuration & DEPLOYMENT] - Re: jboss 4.0.5 SP1

2008-05-28 Thread lfoggy
Hi again, Can at least someone tell me where I can go to ask this question? We need access to 4.0.5 SP1 that has a few security fixes, but I can not find it on the download page. Do we have to get it from the source? Any help would be appreciated. Thanks, View the original post : http://www.jb

[jboss-user] [Installation, Configuration & DEPLOYMENT] - jboss 4.0.5 SP1

2008-05-27 Thread lfoggy
Hi, Can anybody tell me where I can download Jboss 4.0.5 SP1 from? Thanks View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4153797#4153797 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4153797

[jboss-user] [Installation, Configuration & Deployment] - jboss4 classloader web-inf/lib

2007-01-16 Thread lfoggy
Not sure if this is the correct forum. This issue relates to JBAS-2072 bug fix. I was deploying a .war file under Jboss-4.0.5 and had trouble seeing the Oracle jdbc drivers. Turns out the above bug fix works for .jar files, but it does not work for .zip files. I am posting this in case this help