|
Comments
Did you read today's front page stories & breaking news?
SYS-CON.TV
|
Product Review Integration Server 1.2
Integration Server 1.2
By: Joe Mitchko
Oct. 21, 2001 12:00 AM
No one involved in Web development needs to be reminded of the continued rapid changes in the industry. Even with the current financial downturn, driven by the burst of the Internet bubble, innovation is still happening on many fronts. Nowhere is this truer than in the evolving area of Web services. Feeling overwhelmed by yet more change, I recently decided to do something I usually never do and subscribed to several Web services-related mailing groups. In this case, some SOAP-related lists would do the trick, especially since SOAP (Simple Object Access Protocol) is one of the key elements of Web service-related architecture. Not long after I signed up, the mail started to trickle in. Actually, it was a flood. Browsing through several dozen e-mails, I got the sense that implementing the SOAP protocol was not for the faint of heart. Contributors to the list span all levels of expertise from beginners looking for assistance in configuring their SOAP demo environment to open-source code developers making revision announcements. You would also get the occasional frantic message from someone who has had enough but doesn't have a clue how to unsubscribe from the mailing list. The reason I bring this up is that familiarity with all of the standards that comprise Web service architecture is one thing (SOAP, WSDL, UDDI, etc.); implementing a working Web service is an entirely different subject. In response, a new breed of application servers and IDE-like development tools is hitting the market to address the complexities of e-business integration and drive Web services into the mainstream. One such Web service integration platform is Shinka Integration Server (IS), from Shinka Technologies.
Overview
IS provides you with an XDK library and code generation tools for translating SOAP request (and reply) messages to and from your enterprise application. IS 1.2 not only provides all of the necessary libraries for handling marshalling and dispatching of SOAP requests, it will do a lot of the hard work for you by generating the initial "stubbed out" version of the integration code as well as test SOAP messages.
Installation
There were slight glitches during the installation. First, I needed to edit the XDK_ROOT and JAVA_HOME values in the SETENV.BAT file to point to the D: drive and not the C: drive that it appeared to default to. Second, the installation doesn't provide an Oracle JDBC driver, so I needed to place a copy of the CLASSES11.ZIP file in the lib directory and modify the SETCLASSES.BAT file. I had to hunt for a missing PDF file containing the installation instructions (later found on the CD). Then, the user and password I received from Shinka didn't work when I logged into the command center. My hacking skills saved the day as I tried the easy-to-guess admin/admin combination. You will need to start up two programs through the command menu, the Integration Service and the Command Center. The latter is responsible for serving up the browser-based, administration facility. At this point, we're ready to start designing a Web service.
Developing a Service
Start up the Shinka Designer tool using the command menu and create a new project. Next, we need to create an XML schema that will be used by the SOAP interface. The schema will contain a combination of simple and complex XML schema types to define the input and output parameters of SOAP messages. In addition, the XML schema should include data types that define any SOAP exceptions that may be generated by the service. The designer utilizes a UML-based graphical representation to help design your XML schema. You can switch between a graphical representation and an XML-coded (.xsd file) version by switching between the tabs in the designer. The next step is to create the SOAP service request interface using the designer. You need to provide a unique name for the service along with identifying input, output, and exception parameter names and XML schema types. Again, you can view an XML-formatted view of the interface or the WSDL definition for the service by selecting the tabs on the user interface. Once you have defined the services for the project, you are ready to generate a series of service stubs. Depending on your platform, the designer can generate Java, C++, or Visual Basic code. (You also may generate enterprise JavaBean components when generating Java code). The stub code that's generated serves as the initial prototype for your implementation, and contains all of the necessary SOAP message conversion bindings to your target language. In fact, the stub is fully functional and can be immediately tested once compiled and configured into the IS server.
Deploying the Service
Once you have a service prototype compiled and running on your Integration Server, you can use the designer tool to test your service. The designer will automatically create a test version of a SOAP request message and forward the message to the service. Then you can view the resulting SOAP reply message to assess your service prototype. Once you are satisfied with the interface, you are ready to migrate the current stub to a fully functioning service. At this point, the designer will be of no further assistance in the continued development of your service (i.e., the tool cannot reverse-engineer existing code). This step requires you to substitute the stubbed-out code for fully functioning client calls to an enterprise application. It's up to the developer to be aware of client requirements and exception handling at this point, and to make sure all exception conditions are handled within the SOAP reply message. In our case, we'd be tying the various SOAP request calls to their corresponding EJB methods using Java. We'd also make sure all exceptions are being properly caught and transposed into SOAP exception element tags. The beauty of the designer is that it takes care of many SOAP integration issues, including data marshalling (SOAP to native language bindings), service dispatching on the HTTP server, multi-threading, etc. In addition to generating service-side code, the designer will also create client-side stubs, useful when you need to create SOAP service requests from a remote client.
The Command Center
Additional Features
Some things to look forward to in future releases include SMTP support, Lotus Notes integration, and support for mainframe integration including COBOL code generation and CICS support. After working with the designer for a while, I noticed improvements that can make it more full-featured. They include adding wizards to help in the service configuration (instead of manually updating an XML file), the ability to edit and compile source code from the designer, and the ability to print from the tool. Since this product and similar ones in the marketplace are still in their infancy, I imagine they may add such features in the future.
Documentation
Obtaining a Copy
Conclusion
Handling a lot of the tedious work involved in developing and setting up a SOAP-based Web service, Shinka Integration Server version 1.2 leaves you with time to do more important things - like checking your e-mail.
Shinka Technologies Reader Feedback: Page 1 of 1
SOA World Latest Stories
Subscribe to the World's Most Powerful Newsletters
Subscribe to Our Rss Feeds & Get Your SYS-CON News Live!
|
SYS-CON Featured Whitepapers
Most Read This Week |
||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||