Table of Contents

Search

  1. Preface
  2. Introduction to Business Entity Services
  3. Enterprise Java Bean Business Entity Service Calls
  4. Representational State Transfer Business Entity Service Calls
  5. Simple Object Access Protocol Business Entity Service Calls
  6. Services for Cross-reference Records and BVT Calculations
  7. Supporting Corporate Linkage Service
  8. External Calls to Cleanse, Analyze, and Transform Data
  9. Using REST APIs to Add Records
  10. Using REST APIs to Upload Files

SOAP Requests and Responses

SOAP Requests and Responses

Use the SOAP XML message format to send requests through a SOAP client to the business entity service and to receive responses from the business entity service to the client. The SOAP request and response format is the same.
A SOAP message contains the following elements:
Envelope
Defines the start and the end of the message.
Header
Optional. Contains additional attributes, such as authentication details for processing the message. If the Header element is present, it must be the first child element of the Envelope element.
Body
Contains the XML data that the client or the web service processes.
A SOAP message has the following format:
<?xml version="1.0"?> <env:Envelope xmlns:env="http://schemas.xmlsoap.org/soap/envelope/" > <env:Header> </env:Header> <env:Body> </env:Body> </env:Envelope>
A SOAP request has the following format:
POST /<host>:<port>/<context>/<database ID> HTTP/1.0 Content-Type: text/xml; charset=utf-8 <?xml version="1.0"?> <env:Envelope xmlns:env="http://schemas.xmlsoap.org/soap/envelope/" > <env:Header> </env:Header> <env:Body> </env:Body> </env:Envelope>
A SOAP response has the following format:
HTTP/1.0 200 OK Content-Type: text/xml; charset=utf-8 <?xml version="1.0"?> <env:Envelope xmlns:env="http://schemas.xmlsoap.org/soap/envelope/" > <env:Header> </env:Header> <env:Body> </env:Body> </env:Envelope>

0 COMMENTS

We’d like to hear from you!