Skip to Content
J2EE™ Web Services
book

J2EE™ Web Services

by Richard Monson-Haefel
October 2003
Intermediate to advanced
928 pages
20h 4m
English
Addison-Wesley Professional
Content preview from J2EE™ Web Services

Appendix G. JAX-RPC and SwA

Sending and receiving SOAP Messages with Attachments (SwA) using JAX-RPC is deceptively easy. I say “deceptively” because, like SAAJ, JAX-RPC depends on the Java Activation Framework (JAF) to handle the marshalling of attachments to and from SOAP messages, so sending and receiving attachments depends in large part on the types of DataContentHandler classes that your J2EE application server provides. This appendix will explain how JAX-RPC supports the SwA standard using JAF.

It's important to remember that the WS-I Basic Profile 1.0 does not endorse or support SwA—but you are likely to run into Web services that use SwA, which is why this appendix is here.

JAF Revisited: DataContentHandler and DataSource Types

Essentially ...

Become an O’Reilly member and get unlimited access to this title plus top books and audiobooks from O’Reilly and nearly 200 top publishers, thousands of courses curated by job role, 150+ live events each month,
and much more.
Start your free trial

You might also like

J2EE™ Platform Web Services

J2EE™ Platform Web Services

Ray Lai
Web Services Platform Architecture: SOAP, WSDL, WS-Policy, WS-Addressing, WS-BPEL, WS-Reliable Messaging, and More

Web Services Platform Architecture: SOAP, WSDL, WS-Policy, WS-Addressing, WS-BPEL, WS-Reliable Messaging, and More

Sanjiva Weerawarana, Francisco Curbera, Frank Leymann, Tony Storey, Donald F. Ferguson

Publisher Resources

ISBN: 0321146182Purchase book