Win a copy of Clojure in Action this week in the Clojure forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

Saaj in JAXWS(jdk1.6)

 
DTR Prasad
Greenhorn
Posts: 3
  • 0
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Can any one tell how attachments can be sent through JAXWS
 
Peer Reynders
Bartender
Posts: 2938
5
  • 0
  • 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 agree. Here's the link: http://aspose.com/file-tools
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic