Consuming Web Services
- Why use Web Services?
- Software Pre-requisites
- Limitations on IBM i
- What is a RESTful Web Service?
- Should You Invoke Web Services on the Client or Server?
- Using XPRIM_HttpRequest
- Setting Up Your HTTP Request
- Using XPRIM_UriBuilder to Build Your URL
- Adding Request Headers
- Adding Contents to Your Request Body
- Constructing JSON Data for Your Request Body
- Creating Multiple Part (Multipart) Body
- Reading the Response
- Re-using the XPRIM_HttpRequest Object
- Logging Request & Response Data
- Working with JSON Data
Tutorials
- Learn How to Use Google Translate API
- Learn How to Interop with Java Code using Web Services and Tomcat
- Learn How to Interop with .NET Code using Web Services
Examples
© LANSA