Generate a Web Service Map from a Data Service
This page last changed on Nov 28, 2008.
Oracle Data Service Integrator Documentation > Data Services Developer's Guide How To Generate a Web Service Map and WSDL from a Data ServiceIf you intend to access a data service through web services using the Data Services Mediator API, you must generate a web service map file first. A web service map file maps data service functions to web service operations. The map file is also used for setting and configuring security policies for web services applications. TopicsCreating a Map FileThis section describes the basic steps that are required to create a map file. You can accomplish all of these tasks using the Oracle Data Service Integrator Eclipse IDE. The procedure assumes that you have created or have access to the data service (.ds) file from which you want to create a data service.
There are two ways to create a web service map file (.ws file): Method 1:
Method 2:
Adding a Data Service to a Web Services Map File
Generating a WSDL File from Map FileTo generate a WSDL file from a .WS file:
The validation error warnings should disappear. Examining the Generated WSDLYou can examine the generated WSDL file. See Web Services Map File Reference for details. Testing the Generated WSDLYou can test the generated WSDL file. See Web Services Map File Reference for details. Modifying the Map FileThis section describes additional ways to add data services and operation to a map, and how to delete operations from an existing map. Adding Data Services and OperationsYou can drag and drop either an entire data service or individual data service operations from the Project Explorer onto an existing map file in the map file editor. You can right-click in the map editor and select Add Data Services/Operations to Map. Use the Select Resources to Add to Map dialog to add data service resources to the map. Deleting Data Services and Operations from a Map FileTo delete one or more operations, select the operations and right-click on the selected operations, and then select Delete. To delete all operations that are related to a data service, right-click on the .ds dataservice box and select Delete. Renaming Mapped OperationsTo rename a mapped operation, select the operation, right-click and select Rename Operation. Then enter a new name for the mapped operation. |
![]() |
Document generated by Confluence on Jan 13, 2009 15:57 |