This week's book giveaway is in the Servlets forum.
We're giving away four copies of Murach's Java Servlets and JSP and have Joel Murach on-line!
See this thread for details.
The moose likes Web Services Certification (SCDJWS/OCEJWSD) and the fly likes MTOM Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of Murach's Java Servlets and JSP this week in the Servlets forum!
JavaRanch » Java Forums » Certification » Web Services Certification (SCDJWS/OCEJWSD)
Bookmark "MTOM" Watch "MTOM" New topic
Author

MTOM

Souvik Dasgupta
Ranch Hand

Joined: Sep 24, 2009
Posts: 77

I had annotated my service with @MTOM and it is working perfectly. But I noticed in the WSDL the below chunk:



Is this something which will always come in any @MTOM annotated service? Also what policy does it specify?


Thanks and Regards, Souvik
SCJP, SCWCD, OCEJWSD
Frits Walraven
Creator of Enthuware JWS+ V6
Bartender

Joined: Apr 07, 2010
Posts: 1629
    
  23

Souvik Dasgupta wrote:Is this something which will always come in any @MTOM annotated service? Also what policy does it specify?

Yes, this indicates that the behavior indicated by the assertion is optional, specifically that non-MTOM-encoded exchanges are also supported by the endpoint.
Souvik Dasgupta
Ranch Hand

Joined: Sep 24, 2009
Posts: 77


Thanks Frits
 
jQuery in Action, 2nd edition
 
subject: MTOM
 
Similar Threads
MTOM example
Problem with MTOM attachment in secured WS
Question on MTOM - The image is returned inline instead of an attachment.
Axis2: Enforce incoming messages must be MTOMised
SOAP with Attachment. and WSDL