Show TOC

Modeling Services with the Service Interface EditorLocate this document in the navigation structure

Use

As a major part of business process modeling, service composition and UI modeling, the definition of service interfaces and data types needs to be easy and intuitive. The Service Interface Editor (SIE) allows you to model and manage local WSDL and XSD files in a convenient and simple manner. The SIE avoids the complexity of customizing a back-end service by the standard interface editors and does not require profound web service development knowledge. If you are an advanced user, you can edit the WSDL source code or import it into another WSDL file. Imported WSDL files are listed at the bottom of the files and elements tree. You can edit an imported WSDL file by opening it in a separate editor using the context menu. Similarly, you can edit a child element from the imported file (foe example XSD schema) and edit it in a separate editor.

You can download from different sources for back-end services service interfaces such as Web services (including SAP-provided Web services, or ones you have created yourself),and JAX-WS annotated EJBs, as the framework transforms them all in WSDL files. You can customize and edit the service interface according to your business process requirements by using only the operations you need. Thus, the SIE allows you to be flexible and adaptable by simplifying and editing the predefined service interfaces and reusing data types across different tools. Once you edit a service interface, you can consume it in other layers of your composite application or use it in the composition of a more complex service.

As part of the SIE, you use the Data Types Editor (DTE) to create and edit data objects in the XSD file of the web service.

You can define SIE as the default WSDL documents editor and DTE as the default XML schema documents editor in your development infrastructure.

With the SIE you can:

  • Create a new service interface from scratch.

  • Edit service interfaces by editing, deleting or adding new service operations, parameters, data types, and faults.

  • Copy and reuse data types.

  • Edit the WSDL source code.

  • Import WSDL file in another WSDL file through the source code.

  • Use SIE in all core composition tools in the SAP NetWeaver Developer Studio (Developer Studio).

Integration

You can change the default preference settings of the Developer Studio when working with the SIE. From the menu path in the Developer Studio, choose Start of the navigation path Window Next navigation step Preferences Next navigation step General Next navigation step Editors End of the navigation path and select File associations . Next, do the following:

  • For WSDL file extensions:

    • Choose *.wsdl . If the file extension is not in the File Associations list, choose the Add pushbutton and type *.wsdl .

    • From the Associated Editors list, choose Service Interface Editor . If the SIE is not in the list, choose the Add pushbutton and select Service Interface Editor .

    • Choose the Default pushbutton.

  • For XSD file extensions:

    • Choose *.xsd . If the file extension is not in the File Associations list, choose the Add pushbutton and type *.xsd .

    • From the Associated Editors list, choose Data Types Editor . If the DTE is not in the list, choose the Add pushbutton and select Data Types Editor .

    • Choose the Default pushbutton.

Activities

Following is a list of activities you can perform with the SIE:

  • Manage service interfaces

    • Create new service interfaces

    • Edit service interfaces

    For more information, see Managing Service Interfaces .

  • Manage types

    • Create new data types

    • Edit data types

    • Copy and delete data types

    For more information, see Managing Data Types .

  • Edit the source code

  • Import documents (WSDL files and XSD schemas) and edit them