Win a copy of Five Lines of Code this week in the OO, Patterns, UML and Refactoring forum!
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
programming forums Java Mobile Certification Databases Caching Books Engineering Micro Controllers OS Languages Paradigms IDEs Build Tools Frameworks Application Servers Open Source This Site Careers Other all forums
this forum made possible by our volunteer staff, including ...
  • Campbell Ritchie
  • Bear Bibeault
  • Ron McLeod
  • Jeanne Boyarsky
  • Paul Clapham
  • Tim Cooke
  • Liutauras Vilda
  • Junilu Lacar
Saloon Keepers:
  • Tim Moores
  • Stephan van Hulst
  • Tim Holloway
  • fred rosenberger
  • salvin francis
  • Piet Souris
  • Frits Walraven
  • Carey Brown

Saaj in JAXWS(jdk1.6)

Posts: 3
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Can any one tell how attachments can be sent through JAXWS
Posts: 2968
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Have you looked at "Java Web Services in a Nutshell" Sample: Chapter 3 SAAJ (PDF) starting at "SOAP Messages and MIME Headers" (p.128) yet?

SAAJ is independent of JAX-WS. JAX-WS uses parts of SAAJ.

SAAJ handles attachments through the older "SOAP with Attachments" (SwA) standard.
In JAX-WS attachments are handled through the more recent "SOAP Message Transmission Optimization Mechanism (MTOM)" standard. JAX-WS: Binary Attachments (MTOM)
[ December 11, 2008: Message edited by: Peer Reynders ]
I'm thinking about a new battle cry. Maybe "Not in the face! Not in the face!" Any thoughts tiny ad?
Building a Better World in your Backyard by Paul Wheaton and Shawn Klassen-Koop
    Bookmark Topic Watch Topic
  • New Topic