0 votes
1.5k views
in Interview Questions by (30.6k points)

1 Answer

0 votes
by (30.6k points)

For a BPM / BAW developer the differences that matter in practice:

SOAPREST
ContractWSDL + XSD, strict typing, versioned operationsSwagger / OpenAPI (optional), JSON resources, HTTP verbs
TransportHTTP (also JMS); envelope, headers (WS-Security, WS-Addressing)HTTP only; verbs GET/POST/PUT/DELETE, status codes, headers
SecurityWS-Security (signatures, encryption, tokens), policy sets in WebSphereTLS + HTTP auth (basic, bearer / OAuth 2, API keys); CSRF tokens for browser calls
PayloadXML, larger, schema validatedJSON (usually), lighter, validated by the application
Tooling in BAWWeb service integration (import WSDL → business objects), Web Service exposure of servicesREST external service (import Swagger), BPMRESTRequest, BAW's own REST APIs; coaches call REST directly
Typical useLegacy enterprise back ends, ESB (IIB), transactions with WS-ATModern APIs, mobile / SPA clients, microservices, cloud services

Example of the same call:

SOAP:  POST /CustomerService  Content-Type: text/xml
<soapenv:Envelope><soapenv:Body><cus:getCustomer><id>42</id></cus:getCustomer></soapenv:Body></soapenv:Envelope>

REST:  GET /customers/42  Accept: application/json  Authorization: Bearer ...
{ "id": 42, "name": "Ana Perez" }

In BAW both are integration services in a service flow; choose SOAP when the provider offers WSDL and needs WS-Security, REST for everything else. BAW's own APIs are REST (classic /rest/bpm/wle/v1, v2 /bpm, Operations /ops).

References

Related questions

0 votes
3 answers 3.9k views
0 votes
1 answer 1.2k views
0 votes
1 answer 1.9k views
0 votes
3 answers 4.7k views
0 votes
1 answer 1.3k views
0 votes
1 answer 1.1k views
0 votes
1 answer 2.4k views
0 votes
1 answer 1.1k views

723 questions

807 answers

98 comments

4.9k users

Join BPM Community Discord Channel

Welcome to BPM Tips Q&A, Community wiki/forum where you can ask questions and receive answers from other IBM BPM experts and members of the community. Users with 2000 points will automatically be promoted to expert level.
Created by Dosvak LLC
Our Youtube Channel
...