A closer look at enhancements to integrated web services – it jungle raid 1 data recovery software

Technology refresh 8 for IBM i 7.2 and TR4 for IBM i 7.3 became available last week. One of the enhancements in this TR pertains to the integrated web services (IWS), which business architect for IBM i application development tim rowe calls IWS “one of our most widely used pieces of software from an integrated perspective.”

Web services provide the capability to expose the database to outside developers via apis and web services. Although that thought brings a shiver down the spine of many developers who learned the proprietary ways of the AS/400, multi-platform integration is the modern development path. The emphasis on integration cannot be overstated.REST services

“in the world of the web, things change radically and quickly,” rowe says. “we are continuously looking at what we can do in our REST web services support to keep it current.”

There have been many enhancements to IWS since its introduction as part of the V5R4 operating system in 2006. Most notable was the evolution from the SOAP protocol to REST services, apis and web interfaces that now dominate web services development. Most new web services development in IBM i shops uses REST services, but the established web services were developed using SOAP and they easily outnumber the new web services.

Although the latest TR enhancements to IWS don’t have the impact of support for REST services, they do further the mission of reducing complexity and shortening development time.REST services

The most important work by the IBM i development team is a security feature that allows web services to run under the authenticated user. Rowe says authenticated user support has been asked for by IWS users for several years and developing this enhancement required a significant amount of work.

When a web services job on IBM i runs using an authenticated user, it was passed on an HTTP request. An authenticated user allows the program to leverage the library list associated with the user, as well as ensuring that the job only accesses objects to which the user has authority.

Prior to this enhancement, developers specified a single user profile to run the web service implementation code and the web service implementation code ensured the client request was allowed.Implementation code

Now the user and library list can be dynamically set when the request is made. It goes from static to dynamic control, which includes permissions and authorities. All the work for static control had to be done in the backend code before this IWS enhancement arrived. Most web service developers would consider this a welcome simplification, rowe figures.

From a security perspective, charles guarino sees an immediate improvement based on the just-released enhancement. Guarino is president of central park data systems, a consulting firm with experience in web services development and implementation.

“in the past, IWS created a wide-open server and it was up to the developer to go into the server configuration and lock it down,” guarino notes.Rowe says

Guarino’s colleague at central park data systems, mike larson, explains that prior to the authentication enhancement, it was necessary to create and exchange certificates to prove authentication, which was a challenging task. That brings to mind systems described as securable but not necessarily secure.

To run web service implementation code under an authenticated user profile requires two steps. The first step is the enablement of HTTP basic authentication in the HTTP server associated with the integrated web services server. The second step involves indicating that the web service implementation code is to be run under an authenticated user profile.Authenticated user neither of these steps are considered complex or cumbersome by anyone I talked with.

The second enhancement just released in the latest technology refresh is referred to as VARCHAR support. VARCHAR (variable character field) is a type of variable commonly included in web services. VARCHAR fields determine the amount of data that get passed in or returned via web services. For years, SQL developers had to specify a separate value that could be passed back.

It also simplifies the detection and determination of lengths of fields when defining large data structure, rowe says. It’s a convenience for system admins because it allows them to re-deploy a service rather than having to un-deploy it and re-deploy it.Implementation code

“we have some users who are advanced and doing interesting things,” rowe says. “this will make things more normal for those people in today’s world. This is part of keeping IBM i current. It’s similar to changes in the RPG language that make it modern and current. These are features that are expected by developers today.”

Web services are considered a key element to providing flexible information technology infrastructure. The integrated web services server and the integrated web services client for ILE enables ILE applications to participate in the web services arena. The combination of web services and IBM i technologies are part of a modernization strategy that furthers the integration of core business assets while extending and reusing them beyond their original scope of design.Implementation code

The integrated web services for IBM i support includes the web services server and the web services client for ILE. The server deploys ILE-based programs. The client generates RPG, C or C++ stubs that can be invoked by an ILE program. The stubs get credit for eliminating the complexity of the web service protocol by handling web service requests and responses.

Bigger isn’t always better. Not only are high end “out of the box” packages costly, they just aren’t built to handle the uniqueness of smaller businesses. Rather than investing in a complicated ERP solution with hopes that you’ll grow into it, we’ve architected our DS90 iseries distribution software solution as an affordable ERP software offering that caters to your increased needs as your business matures.Authenticated user

• efficient, affordable customizations: we’ll offer innovative (yet economical) customizations to support your in-house workflows, improve production and increase yield.

• responsive, skilled and accessible support: one phone call gets you the answers you need without all the technical jargon. No “blame game” or finger-pointing with us as your solutions provider.