boot sector [
http://community.jboss.org/people/bootsector] created the discussion
"How to enable MTOM ?"
To view the discussion, visit:
http://community.jboss.org/message/630119#630119
--------------------------------------------------------------
I have a webservice endpoint which I annotated with MTOM and I have this web method:
*public @XmlMimeType("application/octet-stream") DataHandler binaryTest();*
and I have these lines the wsdl:
*<xs:complexType name="binaryTestResponse">*
**
* <xs:sequence>*
**
* <xs:element xmlns:ns1="
http://www.w3.org/2005/05/xmlmime
http://www.w3.org/2005/05/xmlmime" minOccurs="0"
name="return"ns1:expectedContentTypes="application/octet-stream"
type="xs:base64Binary"/>*
**
*</xs:sequence>*
**
*</xs:complexType>*
The request is sent with these headers:
*Content-Type: multipart/related; type="application/xop+xml"; start="<
mailto:rootpart@soapui.org rootpart(a)soapui.org>"; start-info="text/xml";
boundary="----=_Part_452_1354325.1354355599999"*
*MIME-Version: 1.0*
But I get this response:
*<env:Envelope xmlns:env='
http://schemas.xmlsoap.org/soap/envelope/
http://schemas.xmlsoap.org/soap/envelope/'><env:Header></...
xmlns:ns2="
http://blablabla/ http://blablabla/"><return>
AAAAAAAAAAAAAA ....*
How to force jboss to respect MTOM?
Thanks
--------------------------------------------------------------
Reply to this message by going to Community
[
http://community.jboss.org/message/630119#630119]
Start a new discussion in JBoss Web Services at Community
[
http://community.jboss.org/choose-container!input.jspa?contentType=1&...]