Andrew Bowers Implementation Cert Quizlet Flashcards
what does S.O.A.P. stand for?
Simple Object Access Protocol
What are the four parts of SOAP message transformation
- Endpoint
- Action
- Headers/Attributes
- Envelope
Action, endpoint, and envelope are all populated automatically based on the Web Service Descriptive Language (WSDL) definition.
What is a SOAP Endpoint
This is the URL or Address where the SOAP request is delivered. It must be able to reach that endpoint over the network in order for the communication to succeed.
What is a SOAP Action
String that is often optional with the SOAP web service. However, some services do require this to be set. The string is often descriptive of what action should be performed by the web services.
SOAP Headers/Attributes
Found within the HTTP request. They contain information regarding the protocol being used as well as other custom information such as session IDs, authentication token, etc.
SOAP Envelope definition
Actual document that describes the details of the SOAP request. This is written in XML format. Has a header and a body similar to an HTML webpage. Header and body details are dictated by the web service and explained in a corresponding WSDL document
SOAP Envelope Elements
- Main document
- Header (optional)
- Body
- Fault Element (Optional)
SOAP Envelope Header
Often contains processing instructions for the envelope, but it is not used in all web services
SOAP Envelope Body
Main part of the envelope, required for SOAP requests. Contains the actual message or request that is to be delivered to the web service
SOAP Envelope Fault Element
Often present if there was an error processing the web service request. The web service is responsible for populating this element with descriptive information to help the consumer understand what went wrong, and/or what to do next.
SOAP WSDL
Another XML document that is used in the SOAP protocol. It is a catalog of available functions provided by the web service. A SOAP web service consuming client information should be able to read this and generate a template of each of the available service requests provided by the web service.
What are the 3 Main steps in SOAP communication flow
- Client generates an XML envelope document and sends it to the service as a SOAP request.
- Server receives the SOAP request and processes that request in the manner in which it was coded.
- Server sends a SOAP response back to the client with an answer or response to the request that was submitted.
How to generate a sample SOAP Message
UI action “Generate sample SOAP Message” - will generate templates for all of the available services provided by that SOAP web service.
How does a SOAP Message UI connect to a Web Service
It can either specify a URL to a WSDL document or paste the WSDL document contents directly into the tool
SOAP Message Function UI
- You can open a function record to view details on the template for the request
- Check the Lock field to ensure that future regenerations of SOAP functions do not overwrite the changes that you make to the current template
- SN Supports the use of basic authentication, WS-security with outbound SOAP requests.
- Customize SOAP action or endpoint manually by changing the text. May need to click the lock button to change the endpoint URL
Where do you create test values for SOAP message variables
SOAP Message Function UI - OPEN message parameters section
What are the most common ways to call SOAP Messages through script?
Server-side scripts including:
- Business Rules
- Script Includes
- Workflows
What is the SOAPMessage Library
Application Program Interface (API) Around SN Graphical User Interface for Soap Messages (SOAP Message UI) Can be used to set point values, set variables, submit request, etc.
Which Script includes from the Script Includes library support users who are sending out SOAP requests
1) SOAPMessage - supports the SOAP Message UI
2) SOAPEnvelope - Used behind the curtain by SOAP Message UI, can be leveraged directly by an admin to create custom messages, bypassing the UI
3) SOAPRequest - Same as above
XPATH
Standard mechanism used to parse XML documents
XPATH Character - /
Most basic and primary element. Level separator similar to Linus/UNIX paths on a file system
XPATH Character - //
Denotes a relative path, rather than a strict path
XPATH Character - *
Wildcard character in a string
How do you use XPATH to get values out of an XML document?
Script include - XMLDocument