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

kosulin do-not-reply at jboss.com
Tue Aug 12 08:56:24 EDT 2008

The cause is, may be, in 'protected' declaration.
I used 

private DataHandler stmtContent;

@XmlElement(name = "StatementContent", required = false)
public final DataHandler getStmtContent()
	return this.stmtContent;
public final void setStmtContent(DataHandler stmtContent)
	this.stmtContent = stmtContent;

and it works fine with .NET client.

Another thing you can do:
put into your endpoint declaration
@MTOM(enabled = true)
in addition to @BindingType

View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4170061#4170061

Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4170061

More information about the jboss-user mailing list