[jboss-user] [JBossWS] - Re: How do I use MIME types other than text/xml
lbrackman
do-not-reply at jboss.com
Mon Mar 12 10:31:17 EDT 2007
Thanks for you response. I attempted to get MTOM enabled on the server side as instructed in the link provided. Using wsprovide with the following endpoint configuration:
@Remote
@WebService(targetNamespace = "http://fileXfer.ws.synoran.com/")
@SOAPBinding(style = SOAPBinding.Style.DOCUMENT, parameterStyle = SOAPBinding.ParameterStyle.BARE)
@BindingType(value="http://schema.xmlsoap.org/wsdl/soap/http?mtom=true")
public interface FileXferEndpoint {
public String sendPart(Long txId, Integer partNum, Long size, DataHandler data);
}
I am getting the following exception:
org.jboss.ws.WSException: Unsupported binding: http://schema.xmlsoap.org/wsdl/soap/http?mtom=true
at org.jboss.ws.metadata.umdm.EndpointMetaData.setBindingId(EndpointMetaData.java:178)
Is the documentation update to date with regards to the URL needed for the binding type to enable MTOM?
View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4027175#4027175
Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4027175
More information about the jboss-user
mailing list