Port Type

A port type is defined in W3C terms this way: “A port type is a named set of abstract operations and the abstract messages involved.” What this really means is that it is the equivalent of an interface. A port type is used to define a group of operations, along with their messages.

As with all of the elements you have seen so far, the port type is not directly realizable. Instead, the port type only provides abstract definitions and requires some of the elements we will cover later to actually be realized. On the other hand, as a consumer of a service, much like the consumer of an interface, the port type provides all the information you will need once you are actually talking to the service.

Creating a Port Type with a One-Way Operation ...

Get Java™ Web Services Unleashed now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.