Examples are provided for Service Component Architecture (SCA) import and export files and a corresponding Web Services Description Language (WSDL) file. These artifacts are produced during the enterprise service discovery process.
<?xml version="1.0" encoding="UTF-8"?> <scdl:Export xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:_="http://JDBCEMD/inbound" xmlns:eis="http://www.ibm.com/xmlns/prod/websphere/scdl/eis/6.0.0" xmlns:scdl="http://www.ibm.com/xmlns/prod/websphere/scdl/6.0.0" xmlns:wsdl="http://www.ibm.com/xmlns/prod/websphere/scdl/wsdl/6.0.0" name="inbound/JDBCInboundInterface"> <interfaces> <interface xsi:type="wsdl:WSDLPortType" portType="_:JDBCInboundInterface"/> </interfaces> <esbBinding xsi:type="eis:EISExportBinding" dataBindingType="com.ibm.j2ca.extension.emd.runtime.WBIDataBindingImpl"> <resourceAdapter name="JDBCEMDApp.IBM JDBC Adapter" type="com.ibm.j2ca.jdbc.JDBCResourceAdapter"> <properties/> </resourceAdapter> <connection type="com.ibm.j2ca.jdbc.inbound.JDBCActivationSpec" selectorType="com.ibm.j2ca.extension.emd.runtime.WBIFunctionSelectorImpl"> <properties> <BONamespace>http://www.ibm.com/xmlns/prod/websphere/j2ca/jdbc</BONamespace> <jdbcDriverClass>COM.ibm.db2.jdbc.app.DB2Driver</jdbcDriverClass> <databaseURL>jdbc:db2:somedb<databaseURL> <password>abcdefg</password> <userName>db2admin</userName> </properties> </connection> <methodBinding method="createDb2adminCustomer" nativeMethod="emitCreateAfterImageDb2adminCustomer"/> <methodBinding method="updateDb2adminCustomer" nativeMethod="emitUpdateAfterImageDb2adminCustomer"/> <methodBinding method="deleteDb2adminCustomer" nativeMethod="emitDeleteAfterImageDb2adminCustomer"/> </esbBinding> </scdl:Export>
<?xml version="1.0" encoding="UTF-8"?> <scdl:Import xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:_="http://JDBCEMD/outbound" xmlns:eis="http://www.ibm.com/xmlns/prod/websphere/scdl/eis/6.0.0" xmlns:scdl="http://www.ibm.com/xmlns/prod/websphere/scdl/6.0.0" xmlns:wsdl="http://www.ibm.com/xmlns/prod/websphere/scdl/wsdl/6.0.0" name="outbound/JDBCOutboundInterface"> <interfaces> <interface xsi:type="wsdl:WSDLPortType" portType="_:JDBCOutboundInterface"/> </interfaces> <esbBinding xsi:type="eis:EISImportBinding" dataBindingType="com.ibm.j2ca.extension.emd.runtime.WBIDataBindingImpl"> <resourceAdapter name="JDBCEMDApp.IBM JDBC Adapter" type="com.ibm.j2ca.jdbc.JDBCResourceAdapter"> <properties/> </resourceAdapter> <connection type="com.ibm.j2ca.jdbc.JDBCManagedConnectionFactory" interactionType="com.ibm.j2ca.jdbc.JDBCInteractionSpec"> <properties> <databaseURL>jdbc:db2:somedb</databaseURL> <jdbcDriverClass>COM.ibm.db2.jdbc.app.DB2Driver</jdbcDriverClass> <password>abcdefg</password> <userName>db2admin</userName> </properties> </connection> <methodBinding method="createDb2adminCustomer"> <interaction> <properties> <functionName>Create</functionName> </properties> </interaction> </methodBinding> <methodBinding method="updateDb2adminCustomer"> <interaction> <properties> <functionName>Update</functionName> </properties> </interaction> </methodBinding> <methodBinding method="deleteDb2adminCustomer"> <interaction> <properties> <functionName>Delete</functionName> </properties> </interaction> </methodBinding> <methodBinding method="retrieveDb2adminCustomer"> <interaction> <properties> <functionName>Retrieve</functionName> </properties> </interaction> </methodBinding> <methodBinding method="retrieveallDb2adminCustomer"> <interaction> <properties> <functionName>RetrieveAll</functionName> </properties> </interaction> </methodBinding> <methodBinding method="applychangesDb2adminCustomer"> <interaction> <properties> <functionName>ApplyChanges</functionName> </properties> </interaction> </methodBinding> </esbBinding> </scdl:Import>
<?xml version="1.0" encoding="UTF-8"?> <wsdl:definitions name="CUSTOMER" targetNamespace="http://test/j2c/jdbc/customer" xmlns:tns="http://test/j2c/jdbc/customer" xmlns:wsdl="http://schemas.xmlsoap.org/wsdl/" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:datans="http://test/j2c/jdbc/customer"> <wsdl:types> <xsd:schema xmlns:xsd="http://www.w3.org/2001/XMLSchema"> <xsd:import namespace="http://test/j2c/jdbc/customer" schemaLocation="CUSTOMER.xsd"> </xsd:import> </xsd:schema> </wsdl:types> <wsdl:message name="CUSTOMERRequest"> <wsdl:part name="request" element="datans:CUSTOMER"></wsdl:part> </wsdl:message> <wsdl:portType name="Customer"> <wsdl:operation name="updateCustomer"> <wsdl:input message="tns:CustomerRequest"></wsdl:input> <wsdl:output message="tns:CustomerRequest"></wsdl:output> </wsdl:operation> <wsdl:operation name="createCustomer"> <wsdl:input message="tns:CustomerRequest"></wsdl:input> <wsdl:output message="tns:CustomerRequest"></wsdl:output> </wsdl:operation> <wsdl:operation name="retrieveCustomer"> <wsdl:input message="tns:CustomerRequest"></wsdl:input> <wsdl:output message="tns:CustomerRequest"></wsdl:output> </wsdl:operation> </wsdl:portType> </wsdl:definitions>
Last updated: Thu Mar 23 13:24:31 2006
(c) Copyright IBM Corporation 2005.
This information center is powered by Eclipse technology (http://www.eclipse.org)