O'Reilly logo

Sams Teach Yourself J2EE™ in 21 Days by Peter Roxburgh, Andy Longshaw, Debbie Law, Dan Haywood, Martin Bond

Stay ahead with the world's most comprehensive technology and business learning platform.

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, tutorials, and more.

Start Free Trial

No credit card required

Using a Message-Based SOAP Interface

So far, you have examined Web Services largely from an RPC-oriented perspective. For the rest of today, you will examine how message-based Web Services can be used under J2EE.

Message-Style Versus RPC-style

To a large degree, there is little difference between the mechanics of message-style and RPC-style Web Services. Essentially, a message-style Web Service uses a single operation with a single parameter. This single parameter is an XML document to be processed. There is no reason why you could not define an RPC-style interface that takes a single parameter that is an XML document. Under the covers, in SOAP-land, these interfaces would look largely the same. However, there are some differences in application ...

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, interactive tutorials, and more.

Start Free Trial

No credit card required