This week's book giveaway is in the Java 8 forum.
We're giving away four copies of Java 8 in Action and have Raoul-Gabriel Urma, Mario Fusco, and Alan Mycroft 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 Java 8 in Action this week in the Java 8 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: 1529
    
  22

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
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: MTOM
 
Similar Threads
Axis2: Enforce incoming messages must be MTOMised
Question on MTOM - The image is returned inline instead of an attachment.
Problem with MTOM attachment in secured WS
MTOM example
SOAP with Attachment. and WSDL