IBM BPM, V8.0.1, All platforms > Programming IBM BPM > Service Component Architecture programming > Service Component Definition Language

Export definition

The export definition is included in a file called <EXPORT_NAME>.export. SCA exports provide access to service components defined in an SCA module for use by clients outside of the current SCA module.

Export components include a name and a target attribute, which names the service component that is to be exported. Like import components, exports have a binding attribute that indicates how the service is bound externally.

The following example shows a Service Component Definition Language (SCDL) export definition:

<?xml version="1.0" encoding="UTF-8"?>
<scdl:export xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"  	
     xmlns:_="http://Resources/StockQuoteService/Binding" xmlns:ns1="http://Resources/StockQuoteService"  	
     xmlns:scdl="http://www.ibm.com/xmlns/prod/websphere/scdl/7.0.0"  	
     xmlns:webservice="http://www.ibm.com/xmlns/prod/websphere/scdl/webservice/7.0.0"  	
     Xmlns:wsdl="http://www.ibm.com/xmlns/prod/websphere/scdl/wsdl/7.0.0"  	
     displayName="StockQuoteService" name="StockQuoteService" target="StockQuote_MediationFlow">
<interfaces>
  <interface xsi:type="wsdl:WSDLPortType" portType="ns1:StockQuoteService">       
    <method name="getQuote"/>     
  </interface>   
</interfaces>

Service Component Definition Language