Show TOC

Definition of WS Search ConnectorsLocate this document in the navigation structure

Use

BCV can find application data using Web services with standardized interfaces. You can use Web services, combined with application logic, as the data provision technology. Web services are identified by the following properties:

  • Available in standalone mode

  • Available as application functions

  • Can be used using the Simple Object Access Protocol (SOAP) Internet standard

  • Based on Extended Markup Language (XML) and Web Services Description Language (WSDL)

  • Can be searched and published

The Web services that BCV supports, can be called synchronously, and extract application data using read-only access.

Integration

BCV only uses existing Web services and does not provide any of its own. BCV delivers example implementations for the following Web service:

ProductionBillOfMaterialVariantBasicDataByMaterialAndPlantQueryResponse_In, with the class /BCV/CL_SIN_WS_BOM.

Prerequisites

You can use Web service-based search connectors if the following applies:

  • You have configured the proxy of the service consumer at the consumer side.

    If the consumer proxy is not available, you can configure it in the ABAP Workbench using the service consumer wizard. In the ABAP Workbench, choose Start of the navigation path Enterprise Service Next navigation step Create End of the navigation path for this. You can find the example implementation delivered by SAP for the Web service ProductionBillOfMaterialVariantBasicDataByMaterialAndPlantQueryResponse_In in the package /BCV/SIN_PRX, under Service Consumer /BCV/CO_PRODUCTION_BILL_OF_MAT.

    You can find the communication interface for the related Web service in the transport settings of the logical port.

    Recommendation

    Define the interface in every system. A template for logical ports is available for each Web service proxy. You can create the logical port with the SOA Manager.

Features

Implementation

Recommendation

Implement every Web service implementation with a separate implementation.

Each Web service data provider class should implement the interface /BCV/IF_SIN_WS.

The interface /BCV/IF_SIN_WS has the following methods:

  • IS_ACTIVE (static)

    This method checks if the class of the data provider of the WS search connector is active. The system can only use active classes in the BCV Customizing and execute them in the BCV.

  • GET_INSTANCE (static)

    This method delivers the instance of the data provider of the WS search connector.

  • GET_DATA_SOURCE_DETAIL (static)

    This method searches metadata such as data type, length, decimal places, of an individual object of a data provider and determines the input and output fields of the search connector.

  • SEARCH (instance)

    This method is the executing method of the class of the data provider of the WS search connector. The import and export parameter of this method is based on the results of the method GET_DATA_SOURCE_DETAIL.

More Information

For more information about Web services, see SAP Library at http://help.sap.com, under Start of the navigation path SAP NetWeaver Next navigation step SAP NetWeaver 7.0 including Enhancement Package 1 Next navigation step SAP NetWeaver Library Next navigation step SAP NetWeaver by Key Capability Next navigation step Application Platform by Key Capability Next navigation step ABAP Technology Next navigation step ABAP Workbench (BC-DWB) Next navigation step ABAP Workbench Tools Next navigation step Web Services End of the navigation path.