Use the genMapper command to generate a component that bridges as Service Component Architecture (SCA) reference to a Java interface.
This command generates a component that bridges an SCA reference to a Java™ interface creating files that you import into WebSphere® Integration Developer. After importing to WebSphere Integration Developer, you wire the Web Services Description reference and the Java interface to the generated component.
>>-genMapper-- -- -javaOutput-- --java_output_dir-- ------------> >-- -scdlOutput-- --sca_output_dir-- -- -name-- --java_class_file-><
The input can contain a Java class, a stateless session bean, or a Java interface.
If the input is a Java class, the class can contain only one interface and the interface cannot extend other interfaces.
genMapper -javaOutput c:\customer\src -scdlOutput c:\customer -name com.ibm.mj.Customer
Customermapper.component Customermapper.wsdl
Copy the files from both generated directories to the directory of any module that requires the bridge component. You can then either import that bridge component into WebSphere Integration Developer and wire the reference and interface to the bridge component or use the serviceDeploy command to create an enterprise archive (EAR) file to deploy to the server.