Introducing SAP Enterprise Services Explorer for Microsoft.NET

Similar documents
How to Browse an Enterprise Services Registry in Visual Composer

Consuming Web Dynpro components in Visual Composer.

MDM Syndicator Create Flat Syndication File

Visual Composer - Task Management Application

SAP GRC Access Control: Configuring compliant user provisioning (formerly Virsa Access Enforcer) into CUA Systems

Web Page Composer anonymous user access

Cache Settings in Web Page Composer

Visual Composer Build Process

What s New / Release Notes SAP Strategy Management 10.1

Visual Composer for NetWeaver CE: Getting Started with a Typical Workflow

A Step-By-Step Guide on File to File Scenario Using Xslt Mapping

Data Validation in Visual Composer for SAP NetWeaver Composition Environment

How To Configure the Websocket Integration with SAP PCo in SAP MII Self Service Composition Environment Tool

Do Exception Broadcasting

How To Set up NWDI for Creating Handheld Applications in SAP NetWeaver Mobile 7.1

Install TREX for CAF Version 1.00 March 2006

How to Create a New SAPUI5 Development Component

link SAP BPC Excel from an enterprise portal Version th of March 2009

SAP NetWeaver How-To Guide

How To... Reuse Business Objects and Override Operations of a Business Object

configure an anonymous access to KM

How to Set Up and Use the SAP OEE Custom UI Feature

Quick Reference Guide SAP GRC Access Control Compliant User Provisioning (formerly Virsa Access Enforcer): HR Triggers

How to Translate a Visual Composer Model Part I

How to Set Up and Use the SAP OEE Custom KPI Andons Feature

How To... Configure Integrated Configurations in the Advanced Adapter Engine

How to Use Function Keys in Mobile Applications for Handhelds

Enterprise Portal Logon Page Branding

SAP MII: Leveraging the Data Buffering Feature for Connection Error Handling.

How To... Master Data Governance for Material: BADI USMD_SSW_SYSTEM_METHOD_CALLER to create successor change request

WDA - Custom themes for Web Dynpro ABAP applications without SAP Enterprise Portal integration

How To Extend User Details

How to View Dashboards in the Self Service Composition Environment with Additional Metadata

How To Recover Login Module Stack when login to NWA or Visual Administrator is impossible

Preview of Web Services Reliable Messaging in SAP NetWeaver Process Integration 7.1

Process Control 2.5 Implementation Checklist

Building a Composite Business Process from Scratch with SAP NetWeaver BPM Guide 2

Building a Tax Calculation Application

How to Upgr a d e We b Dynpro Them e s from SP S 9 to SP S 1 0

Tutorial: Consuming Web Services in Web Dynpro Java

How To...Configure Integration of CUP with SPM

Simplified Configuration of Single System Update in Maintenance Optimizer

How To... Master Data Governance for Material: BADI USMD_SSW_PARA_RESULT_HANDLER to merge result of parallel workflow tasks

SAP NetWeaver How-To Guide

Integrate a Forum into a Collaboration Room

Create Partitions in SSAS of BPC Version 1.00 Feb 2009

Configure SSO in an SAP NetWeaver 2004s Dual Stack

How To... Promote Reports and Input Schedules Through Your System Landscape

How To Troubleshoot SSL with BPC Version 1.01 May 2009

SDN Contribution HOW TO CONFIGURE XMII BUILD 63 AND IIS 6.0 FOR HTTPS

View Time Security for crystalreports.com

How To Develop a Simple Web Service Application Using SAP NetWeaver Developer Studio & SAP XI 3.0

How-To... Add Sensitive Content into an Area

Setting Up an Environment for Testing Applications in a Federated Portal Network

Value Help in Web Dynpro ABAP - Tutorial.

Extracting Product Attributes in XML using Web Service

xmii UDS Overview and Troubleshooting

BusinessObjects Enterprise XI 3.0 with Complex NAT Networks

How to Use Definitions in Rules Composer

Configure TREX 6.1 for Efficient Indexing. Document Version 1.00 January Applicable Releases: SAP NetWeaver 04

SAP Composite Application Framework. Creating a Content Package Object

Work with Variables in SAP NetWeaver Visual Composer Version 1.00 May 2006

How To Generate XSD Schemas from Existing MDM Repositories

Consuming Directory API in ABAP

Setting up Single Sign On Between xmii and Enterprise Portal

Working with Select Options in Web Dynpro for ABAP

Installation Guide Business Explorer

How to Use Other Conditions in Decision Tables in Rules Composer

Monitoring System Landscapes Using the DBA Cockpit

How To...Use a Debugging Script to Easily Create a Test Environment for a SQL-Script Planning Function in PAK

How To... Master Data Governance for Material: File Down- and Upload

Transport in GP. How-to Guide Beginning with SAP NetWeaver 2004s SPS06. Version 2.00 January 2006

SAP Composite Application Framework. Creating an External Service type Callable Object in Guided Procedures

Integrating a Web Service in a Composite Application. SAP Composite Application Framework

Extract Archived data from R3

How To Customize the SAP User Interface Using Theme Editor

SAP NetWeaver How-To Guide How to use Process Execution Manager Using SAP Test Data Migration Server

Web Dynpro Java for Newbies: a Quick Guide to Develop Your First Application

How To Configure IDoc Adapters

Authentication of a WS Client Using a SAP Logon Ticket

Visual Composer for SAP NetWeaver Composition Environment - Connectors

Use Business Objects Planning and Consolidation (version for the Microsoft platform) BPF services in Xcelsius

Setup an NWDI Track for Composition Environment Developments

Configure UD Connect on the J2EE Server for JDBC Access to External Databases

Best Practices Using KMC Capabilities in an External Facing Portal Version 1.00 October 2006

MODULE 2: CREATE A DECISION TABLE USING RULES COMPOSER (BRM)

Web Intelligence Caching in BusinessObjects Enterprise XI Release 2

Business Rules Framework plus Workbench

How To Integrate the TinyMCE JavaScript Content Editor in Web Page Composer

SOA Security Scenarios: WebAS Java, Message Level Security with no Transport Guarantee

SAP NetWeaver Master Data Management 7.1 Web Service Enhancements

Using Tools to Represent Appraisal Status Flow (HR module Objectives Settings and Appraisals ) as Diagram

Configure Peripheral Drivers with Mobile Infrastructure

SAP NetWeaver 04. Unification Terminology

How to receive and convert PDF-documents with SAP XI

How To... Configure Drill Through Functionality

Use the BI Java SDK in a Web Dynpro Application Version 1.01 July 2005

How To...Custom BADI for rounding off values in SAP BUSINESSOBJECTS Planning and Consolidation, version for SAP NetWeaver.

How To Use Surveys with Mobile Sales for handheld Version 1.00 January 2007

How To Set Up and Use the SAP ME Work Instructions Feature

Transcription:

Introducing SAP Enterprise Services Explorer for Microsoft.NET Applies to: SAP SOA, SAP NetWeaver Composition Environment 7.1 including enhancement package 1, SAP Services Registry, SAP - Microsoft interoperability, Microsoft Visual Studio 2005 and 2008. For more information, visit the SOA Management homepage. Summary As part of its Service-Oriented Architecture (SOA) offering, SAP provides a set of consumer tools that allow discovering and consuming enterprise services from various development environments, such as NetWeaver Developer Studio, Visual Composer and Microsoft Visual Studio. SAP Enterprise Services Explorer tool for Microsoft.NET (ES Explorer for.net) is an add-in for Microsoft Visual Studio 2005 and 2008 that helps to leverage SAP SOA by enabling.net developers to discover SAP enterprise services and consume them in their applications, as well as publish their own custom services. It is an important element of SAP Microsoft interoperability. This document provides an overview of the tool, its architecture, capabilities, and the two basis scenarios it supports. Author: Anne Tarnoruder, SAP NetWeaver Product Management Company: SAP Created on: 07 October 2008 Author Bio Anne Tarnoruder is part of the Knowledge Management & Enablement team of SAP NetWeaver Product Management in SAP Labs Israel, responsible for documentation of the development tools in the areas of.net interoperability, Portal and Visual Composer. 2008 SAP AG 1

Table of Contents Introduction...3 Architecture and Workflow...3 Definition and Discovery...3 Publishing...4 ES Explorer versus SAP Connector for.net...5 Using ES Explorer for.net...6 Prerequisites...6 Installing and Configuring ES Explorer...6 Discovering and Consuming Enterprise Services...7 Logging On...7 Searching...8 Selecting a Service...9 Browsing...10 Adding a Service Reference...11 Consuming Enterprise Services...11 Publishing Custom Web Services...11 Developing and Deploying a Custom Web Service...11 Configuring ES Explorer...12 Starting the Wizard...13 Retrieving the Web Service Details...13 Logging on to the Services Registry...13 Defining the Service Properties...13 Publishing the Service...14 Related Content...15 Documentation...15 Other Resources...15 Copyright...16 2008 SAP AG 2

Introduction SAP SOA is a foundation for an adaptable and open IT architecture used to develop service-based, enterprise-scale business solutions. SAP offers an enterprise services platform that allows customers, partners, and SAP experts to collaborate in building enterprise SOA. Enterprise services are collections of closely-related Web services combined with business logic that together support a particular business process. SAP Services Registry (SR) is a part of SAP NetWeaver Composition Environment 7.1 (CE), a UDDIcompliant registry of service definitions available in the repository. It provides API for search and discovery of services, as well as for publishing custom services in the registry, and supports the Web Service Definition Language (WSDL) standard. ES Explorer for.net is an add-in for Microsoft Visual Studio that enables.net developers to discover enterprise services in the SAP Services Registry, and consume them in their applications. It helps to leverage SAP SOA and succeeds the SAP connector for Microsoft.NET (NCo) as the connectivity tool between SAP back-end systems and the Microsoft. NET platform. Architecture and Workflow Definition and Discovery The following diagram illustrates the process in which SAP enterprise services are discovered and consumed in a Microsoft.NET environment with the help of ES Explorer. 2008 SAP AG 3

Enterprise services are implemented in the SAP back-end systems, and published into the Services Registry. During application development, you discover services with the help of consumer tools, such as ES Explorer for.net, and integrate them in your applications: 1. In Microsoft Visual Studio, launch ES Explorer for.net to add a service reference to your project. 2. Set the parameters to search or browse the Services Registry for required services. ES Explorer invokes the discovery API of the Services Registry to perform a search based on these parameters, and retrieves service definitions (WSDL) and endpoints (actual service implementation addresses). 3. From the displayed list of retrieved services, select the service that you need. The selected service reference is added to your project. ES Explorer invokes the standard Visual Studio mechanism to create Web service local proxies through which you consume the service in your code. At runtime, your application invokes actual services through these proxies. Publishing The following diagram illustrates the process of publishing custom Web services in the SR. In this process: 1. The developer creates a custom Web service and deploys it to a local Web server. 2. ES Explorer retrieves the definition of the deployed Web service, enables the developer to define additional properties required by the SR, and publishes this service to the SR. As a result, information about the custom Web service becomes publicly available in the SR for subsequent discovery and consumption in the client applications. 2008 SAP AG 4

Features and Capabilities Connectivity to the SAP Services Registry Seamless integration with Microsoft Visual Studio Easy and intuitive wizard interface Service discovery and consumption capabilities o o o o o Consumption of the discovered services from any type of Visual Studio project Automatic conversion of WSDL from SAP (Document style) to Microsoft (RPC style) standard Standard Microsoft Web service proxy generation No dedicated runtime support required relies on Microsoft Web Services client Supports proxy generation for Microsoft Windows Communication Foundation (WCF) Publishing of custom services ES Explorer versus SAP Connector for.net ES Explorer for.net is a successor of the SAP connector for.net, a widely used tool for connecting the.net platform to SAP back ends via a proprietary BAPI/RFC interface. Although the SAP connector for.net is fully supported by SAP (currently on Visual Studio 2003), and can also be used with Visual Studio 2005 with a workaround, ES Explorer for.net represents a more advanced form of connectivity from the.net platform to an SAP back end. 2008 SAP AG 5

Using ES Explorer for.net The following section provides a quick guide to ES Explorer for.net. Prerequisites Microsoft Windows (XP/2003/Vista) Microsoft Visual Studio 2005 or 2008.NET Framework 2.0 or higher for the runtime environment Connection and credentials to the SAP Services Registry Connection and credentials to services in the SAP back-end systems (SAP ERP 2005) ES Explorer for.net installed and configured Installing and Configuring ES Explorer To install ES Explorer, download and run the supplied installation wizard. To configure ES Explorer, go to Tools -> Options -> SAP ES Explorer. To obtain the connection and authentication parameters for the Services Registry, as well as credentials for the back-end systems in which enterprise services are implemented, contact your system administrator. For a quick start, you can also connect to the Services Registry provided by SAP on SDN. To do so, go to ES Workplace Configuration to obtain the connection and authentication parameters for the SR, and request a user account for the ES Workplace back-end systems. 2008 SAP AG 6

Discovering and Consuming Enterprise Services To discover enterprise services in the Services Registry and consume them in your applications, right-click your Visual Studio project node in Solution Explorer and choose Add SAP Enterprise Service from the context menu. The SAP Enterprise Services Explorer for Microsoft.NET wizard opens. Follow the wizard instructions to discover the required service. To add more than one service, repeat the procedure for each service. Logging On In the Log on to Services Registry screen, provide your credentials for the Services Registry, and select either Search or Browse service discovery mode. The screen displays the default connection and authentication parameters that you have previously configured, but you can change them as required for the current session. 2008 SAP AG 7

Searching In the Search Services Registry screen, you can define search parameters and launch the search. To narrow your search, you can set basic and/or advanced classification parameters, such as service state, physical system or classifications. Classification systems are used in the Services Registry to categorize services for the search. You can select multiple classifications for a single search. 2008 SAP AG 8

Selecting a Service In the Select Service screen, you can browse through the search results displayed in the table, view detailed information about the services and, finally, select one of the available endpoints (implementations) of the service that you want to consume in your project. If no endpoints are available for the currently highlighted service, you cannot reference it. In this case, you can only view the WSDL file in the browser by navigating to the General tab and clicking the WSDL URL link. 2008 SAP AG 9

Browsing In the Browse Services Registry screen, you can directly browse the Services Registry tree, view detailed information about each service, and select one of the available service endpoints. To narrow the browsing scope, you can set filters by selecting classification systems and/or physical systems, where the services are implemented. The tree displays the classification hierarchy including actual services according to the filter. The tabbed area below the tree displays detailed information about the services. 2008 SAP AG 10

Adding a Service Reference In the Add Service Reference screen, you can: View and confirm or reject selection of the service reference View the WSDL file in the browser by clicking the Service endpoint URL link Change the service reference name that will appear in you project If WCF is installed on your machine, ES Explorer offers an option to generate WCF-compatible proxies. When you close the wizard, the service reference and local proxies to the selected service are created in your project. Consuming Enterprise Services Now you can consume the services in much the same way as you would consume any other Web services. You can discover and consume enterprise services in any type of Visual Studio applications, such as Windows Smart Client applications, Microsoft Office applications, Web (ASP.NET) applications or SAP NetWeaver Portal (PDK for.net) applications. Publishing Custom Web Services To publish your own custom Web service in the SAP Services Registry in your organization, perform the following steps: Developing and Deploying a Custom Web Service Develop a custom Web service and deploy it on a local IIS server in your network. 2008 SAP AG 11

Configuring ES Explorer Define the default connection and authentication parameters for the SR in which you want to publish the service. Define the default location in which you have deployed the service. 2008 SAP AG 12

Starting the Wizard In the context menu of your service in Solution Explorer, choose Publish to SAP Services Registry... to open the ES Explorer wizard. Retrieving the Web Service Details In the Get Web Service Details screen, you can: Modify the URL of the Web service you want to publish, if required View the service details View the service WSDL, if required Logging on to the Services Registry In the Log on to Services Registry screen, provide your credentials for the SR in which you want to publish the service. The screen displays the default connection and authentication parameters that you have previously configured, but you can change them as required for the current session. Defining the Service Properties In this screen (either Publish New Service or Update Published Service) you can view and specify some of the service properties that define its position in the SR and enable its subsequent discovery by consumers. Depending on whether the service you want to publish is new or already published, you create a new service record in the SR or update the existing one by adding its current deployment location as an endpoint. Access the service properties in the following tabs: 2008 SAP AG 13

General: View and modify the general properties. Classifications: To facilitate discovery of your service, you can assign it to the existing SR classification groups. Published Endpoints: A list of published endpoints of your service. Each time you publish the same service to a different location, a new endpoint is added to the existing service record in the SR. Physical System: Properties of the physical system in the SR that matches the server on which your service is deployed. Publishing the Service In the Publish Web Service screen, review the summary information about the service you intend to publish and choose whether to complete the publishing process. 2008 SAP AG 14

Related Content Documentation The documentation of ES Explorer, which includes detailed instructions and tutorials, is available in the Microsoft Visual Studio local help after installation. You can also press F1 in any of the ES Explorer screens to display context-sensitive help. Other Resources Explore Enterprise Services Enterprise Services Workplace.NET Interoperability 2008 SAP AG 15

Copyright Copyright 2008 SAP AG. All rights reserved. No part of this publication may be reproduced or transmitted in any form or for any purpose without the express permission of SAP AG. The information contained herein may be changed without prior notice. Some software products marketed by SAP AG and its distributors contain proprietary software components of other software vendors. Microsoft, Windows, Outlook, and PowerPoint are registered trademarks of Microsoft Corporation. IBM, DB2, DB2 Universal Database, OS/2, Parallel Sysplex, MVS/ESA, AIX, S/390, AS/400, OS/390, OS/400, iseries, pseries, xseries, zseries, System i, System i5, System p, System p5, System x, System z, System z9, z/os, AFP, Intelligent Miner, WebSphere, Netfinity, Tivoli, Informix, i5/os, POWER, POWER5, POWER5+, OpenPower and PowerPC are trademarks or registered trademarks of IBM Corporation. Adobe, the Adobe logo, Acrobat, PostScript, and Reader are either trademarks or registered trademarks of Adobe Systems Incorporated in the United States and/or other countries. Oracle is a registered trademark of Oracle Corporation. UNIX, X/Open, OSF/1, and Motif are registered trademarks of the Open Group. Citrix, ICA, Program Neighborhood, MetaFrame, WinFrame, VideoFrame, and MultiWin are trademarks or registered trademarks of Citrix Systems, Inc. HTML, XML, XHTML and W3C are trademarks or registered trademarks of W3C, World Wide Web Consortium, Massachusetts Institute of Technology. Java is a registered trademark of Sun Microsystems, Inc. JavaScript is a registered trademark of Sun Microsystems, Inc., used under license for technology invented and implemented by Netscape. MaxDB is a trademark of MySQL AB, Sweden. SAP, R/3, mysap, mysap.com, xapps, xapp, SAP NetWeaver, and other SAP products and services mentioned herein as well as their respective logos are trademarks or registered trademarks of SAP AG in Germany and in several other countries all over the world. All other product and service names mentioned are the trademarks of their respective companies. Data contained in this document serves informational purposes only. National product specifications may vary. These materials are subject to change without notice. These materials are provided by SAP AG and its affiliated companies ("SAP Group") for informational purposes only, without representation or warranty of any kind, and SAP Group shall not be liable for errors or omissions with respect to the materials. The only warranties for SAP Group products and services are those that are set forth in the express warranty statements accompanying such products and services, if any. Nothing herein should be construed as constituting an additional warranty. These materials are provided as is without a warranty of any kind, either express or implied, including but not limited to, the implied warranties of merchantability, fitness for a particular purpose, or non-infringement. SAP shall not be liable for damages of any kind including without limitation direct, special, indirect, or consequential damages that may result from the use of these materials. SAP does not warrant the accuracy or completeness of the information, text, graphics, links or other items contained within these materials. SAP has no control over the information that you may access through the use of hot links contained in these materials and does not endorse your use of third party web pages nor provide any warranty whatsoever relating to third party web pages. Any software coding and/or code lines/strings ( Code ) included in this documentation are only examples and are not intended to be used in a productive system environment. The Code is only intended better explain and visualize the syntax and phrasing rules of certain coding. SAP does not warrant the correctness and completeness of the Code given herein, and SAP shall not be liable for errors or damages caused by the usage of the Code, except if such damages were caused by SAP intentionally or grossly negligent. 2008 SAP AG 16