SOAP Palette

SOAP (Simple Object Access Protocol) is a lightweight protocol for exchange of information in a decentralized, distributed environment. It is an XML based protocol that consists of three parts: an envelope that defines a framework for describing what is in a message and how to process it, a set of encoding rules for expressing instances of application-defined datatypes, and a convention for representing remote procedure calls and responses. SOAP can potentially be used in combination with a variety of other protocols; however, the only bindings defined in this document describe how to use SOAP in combination with HTTP and HTTP Extension Framework.

BusinessWorks makes use of SOAP Palette along with WSDL Palette to implement Web Services. BusinessWorks complies with SOAP 1.1 and SOAP 1.2 of SOAP Specifications for sending and receiving SOAP messages over wire except with all features of SOAP 1.2

SOAP Palette allows one to do following:

  • Generate WSDL for web service clients
  • Create Web Services using Process Definitions
  • invoke request/reply web services
  • use either HTTP or JMS as the transport layer for Web Services
  • Send & Receive SOAP Requests with Attachments (SwA or MTOM)

SOAP Palette consists of following activities:

  • SOAP Event Source: SOAP Event Source is a process starter, which activates on receiving a SOAP message. A client can retrieve a WSDL for a process containing the process starter using an HTTP Request. SOAP Event Source determines the concrete WSDL which is generated based on configuration of this process starter.
  • SOAP Request Reply: SOAP Request Reply is used for sending a SOAP Request to the specified web service and optionally expect a reply from the web service. BusinessWorks supports both document and RPC web services.
  • SOAP Send Reply: SOAP Send Reply helps in sending a response back to the client from where request originated. This is used in process definitions that implement web services – this is generally used in conjunction with SOAP Event Source.
  • SOAP Send Fault: SOAP Send Fault sends a fault message to the client. This is generally used in cases where an error occurs during processing of a SOAP Request. This is also used in conjunction with SOAP Event Source like SOAP Send Reply. This cannot be used in case when it is one-way web Service.
  • Retrieve Resources: Retrieve Resource helps in retrieving any resources, like XSD, WSIL (Web Services Inspection Language) and Concrete WSDL of the process definition which has a SOAP Event Source as process starter.
  • MIME Parser: MIME Parser helps in parsing a MTOM Message into SOAP message which might contain binary attachments as an inline data of the SOAP message. The output can be TEXT or BINARY.