We assisted a leading financial regulatory entity in Chile providing analytical and decision support tools. using Altova XMLSpy’s schema design component and API to build an advanced SOAP interface
The Challenge
Superintendencia de Valores y Seguros de Chile, needed a sophisticated tool for designing the XML Schemas that would define the data types for their Web service, as well as a mechanism for creating the WSDL documents that would describe the interface as a whole.
The Solution: XMLSpy®
XML Schema is used to express the structure of the data, as well as the individual elements and attributes that it is comprised of. Because a large portion of the data relies on end-user input in the form of address, phone number, driver’s license number, etc., it is vital that this information is in a format that can be digested by the system. Using XMLSpy’s graphical XML Schema editor, the development team was able to easily visualize and maintain the structure of their XML Schema.
XMLSpy’s unique graphical XML Schema editor allowed the development team to create and maintain a complex schema definition without writing any code manually. They were also able to automatically generate human-readable documentation that can be used to present the architecture for review at any time in the development process, and that describes each element and attribute in detail.
XMLSpy enabled the team to quickly and easily create a graphical schema representation and the matching documentation to serve as the basis for the Web service. It also allowed the development team to focus on their Java code, rather than the intricacies of XML Schema and WSDL design.
Find out how Altova can help you solve your XML and Web services application development challenges. Ask us for a free 30-day trial today!
The Solution Gameplan:
The complementary features of XMLSpy® and MapForce® combine in the Altova® MissionKit® to flatten hurdles and accelerate progress at every step of Web services development.
Analyze the data and create an XML Schema
XMLSpy® 2012, the industry standard XML development environment, can automatically derive an XML Schema from a database content model or an XML instance document. You simply point XMLSpy at your data source and it automatically builds an XML schema to embed within your Web service.
Optimize the XML Schema for a Web service
The XMLSpy Schema Editor displays your schema in a clear graphical hierarchy so you can easily and quickly identify the relationships and understand the structure of the data source.
Optimizing your schema may be as trivial as making the service’s key element global or as significant as protecting confidential data. Either way XMLSpy makes it easy.
For instance, in the latter case, your product database could include your company’s cost for each SKU while you only want to reveal product descriptions and retail pricing.
Using XMLSpy you can simply trim confidential elements so they won’t be included in the Web service, or copy and paste only relevant parts to create a new schema optimized for the Web service.
Embed the schema and graphically define the WSDL file Altova XMLSpy contains a WSDL editor that allows you to create, visualize, graphically edit, and validate any WSDL file.
Using the XMLSpy File/New menu selection you create a template for a new WSDL. Next, simply paste in your optimized schema in text view, then switch to graphical WSDL view to define operations, port types, bindings and services. Working in graphical view lets you avoid syntax errors that often occur in manual coding.
Map data sources and generate the Web service implementation code, when your WSDL design is complete, MapForce® , the premier data integration and Web services implementation tool, offers a visual drag-and-drop mapping utility to connect the WSDL operations to their respective data sources. Then, once you’ve defined the mappings (and tested them using SOAP request documents created by XMLSpy)
MapForce generates source code for your Web service in either Java or C#. In either programming language, MapForce creates a complete, ready to compile project.
Test the deployed Web service
Whether your Web service runs on an Apache or Microsoft Web server, you can use XMLSpy as a client to generate a SOAP request for it. You can edit the request parameters, send it to the server, then capture and examine the Web service reply. If you need to examine communications between a your own client application and the Web service, the XMLSpy SOAP debugger lets you step through Web services transactions between a client and server, set breakpoints, and inspect every request and response.
XMLSpy and MapForce even provide tools to help you document your Web services project. MapForce lets you print mapping diagrams for the record, and XMLSpy creates extensive documentation of XML Schema and WSDL files in either HTML or Microsoft Word format.
Download a free 30-day evaluation of the Altova® MissionKit® today!.