Home. 
.

transparent

transparent

transparent

Web Services Mapping

In addition to the ability to build Web services in a graphical manner, MapForce allows you integrate existing Web services by connecting to them inside your data mappings.

Due to their simplicity and inherent interoperability, Web services have received rapid adoption as tools for exchanging information between disparate systems over intranets, extranets, and the Internet.

MapForce supports the ability to connect to existing WSDL 1.1 or 2.0-based Web services and integrate their functionality into mappings of XML, databases, flat file, EDI, Excel 2007+, and XBRL data. You can even use existing Web services as components for building new Web services in MapForce, and you can aggregate two or more Web services to create a “mash up” that integrates functionality from multiple services.

After you’ve defined a mapping that utilizes a Web service, MapForce connects to the service to process the data, and you can immediately see the results on the Output tab. You can also generate Java or C# code to implement the mapping programmatically.

Download Click here to download a fully functional, free 30-day trial of Altova MapForce® 2012!

Integrating Web Services Graphically

Inserting an existing Web service in a MapForce data mapping design is as easy as specifying the location of its WSDL definition and selecting the operation you require. MapForce fills in the call settings based on details in the WSDL file, and you can even enter username and password authentication details if required.

Inserting a Web service for mapping

Once you have connected to the Web service, MapForce displays its input and output parameters in a graphical component that you can map just like any other supported data format.

graphical Web service representation

Depending on the requirements of your project, you can effectively use a Web service function as a look-up or processing function, a source component, or a target component within a mapping involving XML, database, flat file, EDI, Excel 2007+, XBRL, and/or other Web service data. A few use cases for Web services integration are listed below.

Using a Web service as a look-up or processing function

When you’re mapping data between XML documents, databases, flat files, EDI messages, Excel 2007+ files, XBRL taxonomies, or Web services, it’s often useful to filter, combine, or otherwise process source data before mapping it to the target data structure(s). MapForce allows you to use the functionality provided by existing Web services to look up and process data based on input from the data source structure(s) before passing it to the target(s).

For example, in the WSDL 1.1 Web services integration project shown below, data from multiple XML files is combined, processed, and written to a target XML-based purchase order. The GetShippingRate WSDL operation looks up the current shipping price based on input data supplied by the source files and adds it to the Price field of the target.

Clicking the Output tab will immediately display the results of the mapping, and generating Java or C# code allows you to integrate the functionality of this mapping in another program and generate the PO, complete with the current shipping price, whenever the source data changes.

Similarly, Web services that process data can be used just like any other data processing function available in the built-in and custom function libraries in MapForce.

Using a Web service as a source

Using a Web service as a source in a data mapping is useful for retrieving content from a service provider and writing it to XML, database, flat file, EDI, Excel 2007+, XBRL, or Web services targets quickly and easily. In the example below, a Web service source supplies up-to-the-minute weather information for a particular zip code and writes it to a target XML file for further processing by a stylesheet to create dynamic Web content.

This data is immediately available on the Output tab, and MapForce can also autogenerate Java or C# code to implement the mapping functionality in another application.

using web service as mapping source

Using a Web service as a target

When your goal is to supply data to an existing Web service, you can use the service as a target component in a MapForce mapping. This way, you can access data in databases or EDI messages, for example, manipulate the data as needed, and then send it to the Web service for further processing.

The Web services integration project shown below was created to allow sales representatives to receive notifications about purchase orders (POs) on their mobile phones while they’re on the road. It connects an XML-based purchase order system with an existing Web service that sends information to mobile phones via SMS (Short Message Service). The text file mapped to the Web service output parameter simply collects the response from the Web service confirming receipt of the data. You can view this response on the output tab to ensure the transfer was successful. Then, if desired, MapForce will autogenerate code to implement the mapping programmatically.

Whether you’re using a Web service as a look-up function, source, or target in a data mapping, MapForce makes it easy to harness the functionality of existing Web services for creating new data integration and Web services applications.


Check out these powerful Web services mapping capabilities. Download a free 30-day trial of MapForce.



transparent
Download
Pricelist
Buy
Video
Online Training
Comparison
Datasheet
Print
Mail
Like It
MapForce Flash Demo
.

MapForce Flash demo
Check out the new MapForce flash demo!

.
Customer Quote
.

"Altova has created and delivered tools for developers that were only dreams a few short years ago."

- Byron Bignell, Director of Development for AltruIT

.
.
.

transparent

transparent