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.
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.
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 ProductionBillOfMaterialVariantBasicDataByMaterialAndPlantQueryResponse_In in the package /BCV/SIN_PRX, under Service Consumer /BCV/CO_PRODUCTION_BILL_OF_MAT.
for this. You can find the example implementation delivered by SAP for the Web serviceYou can find the communication interface for the related Web service in the transport settings of the logical port.
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.
Implementation
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.
For more information about Web services, see SAP Library at http://help.sap.com, under .