O'Reilly logo

BPEL and Java Cookbook by Jurij Laznik

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

Creating literal and encoded web services

With the previous two recipes, Creating a document transport web service and Creating a RPC transport web service, we addressed the transport style aspect of web service definition. This recipe will further address the usage of the SOAP binding. With the transport style, we get four combinations of possible usage as shown in the following table:

Transport style

Use

Document

Literal

Document

Encoded

RPC

Literal

RPC

Encoded

This recipe will give an explanation of all four combinations.

Getting ready…

In this recipe, we will amend the example from the previous recipe.

How to do it…

Open the BookLibraryImpl.java class in JDeveloper. Depending on the transport style and use, we modify the @SOAPBinding ...

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