The following diagram demonstrates how a complete Web Services application is created using the various components of the OSS FWS Tools.
The OSS FWS compiler takes a WSDL 1.1 service description as input and generates schema-derived Java classes to include in your application. The classes represent messages and message parts which contain the application-specific content described in the WSDL file. The compiler supports both document/literal and RPC/literal service descriptions as mandated by WS-I Profile. Using compiler-generated classes in your application requires the OSS FWS Runtime component. The generated message class instances can be encoded (serialized) into any output stream as XML SOAP or as X.892 Fast SOAP messages; message class instances can be created by decoding (parsing) the input stream which contains either XML or Fast SOAP messages.
Clients and servers of a Web service apply different handling to messages. For example, a server will rarely be required to be able to construct input messages by itself rather than creating them via parsing client requests. The FWS compiler can optionally generate different sets of methods in a message class depending on whether client-only or server-only functionality is required by an application. Both client and server functionality are supported.
Client-only Methods
Server-only Methods
The OSS FWS Runtime library is a collection of classes for use in writing efficient Web Services applications in Java. The library contains:
The functionality of encoding, decoding, copying and comparing the application-specific messages is also available to your Fast Web Services applications. Multiple Web services in a single application are also supported.
The OSS-provided transport-layer runtime library can be used to send and receive SOAP messages. It encapsulates all transport protocol-related functionality. The OSS FWS Transport Layer supports SOAP HTTP(S) bindings
Transport layers use a simple, open and documented API. You can plug-in your own transport layer if you don't wish to use the generic implementation of HTTP provided by OSS.
For more information, contact us at 1-888-OSS-2761 (USA and Canada only), +1-732-302-9669 (international), or info@oss.com.