Service : ======== 1. Create BPEL Module - BpelEchoService 2. Create WSDL - echoService.wsdl 3. Create BPEL - echoService.bpel 4. Add partner link 5. Create Comp App Module - AppEchoService 6. Add BPEL Module BpelEchoService 7. Clean and build 8. Right click on Composite App and Select "Edit Application Configuration" 9. Create new port name = wsitEchoPort interface name = echoServicePortType SOAP Address = http://localhost:9081/wsitEchoService 10. Delete existing connection 11. Add new connection to "wsitEchoPort" 12. Right Click On "wsitEchoPort" and select "Edit WebService Attributes" 13. Select "MTOM" 14. Delete the other port 15. Clean and Build application and deploy 16. Verify in the browser the service is deployed "http://localhost:9081/wsitEchoService?wsdl" Client : ======== 1. Create BPEL Module - BpelEchoClient 2. Create WSDL - trigger.wsdl 3. Create BPEL - echoClient.bpel 4. Create External WSDL document for "http://localhost:9081/wsitEchoService?wsdl" 5. Create partnerlink for trigger.wsdl 6. Create partnerlink for localhost_9081\BpelEchoService\echoServicePort.wsdl 7. Create Comp App - AppEchoClient 8. Add BPEL Module BpelEchoClient 9. Create External WSDL document for "http://localhost:9081/wsitEchoService?wsdl" 10. Cleand and Build 12. Right click on Composite App and Select "Edit Application Configuration" 11. Create new port 12. Select AppEchoClient.wsdl 13. Add WSDL Import, "localhost_9081/wsitEchoService.wsdl" with namespace "TestNS" 14. Return to the CASA editor and select the new port. 15. Go to the Navigator view, and expand the new port's node in that view. Underneath is are two nodes, one is a Port node, the other is a Binding node. Right-click on the Port node and choose Properties. 16. Change its binding so that instead of pointing to "tns:casaBinding1", it instead points to the "TestNS:casaBinding1" 17. Create new connection from "Consumer" to "Provider" of new port. 18. Right-click on the new Port in the CASA editor canvas, and choose Properties. 19. Verify that the Interface points to the right service WSDL-defined portType instead of the "dummy" CASA port type. If it is not correct, edit that field and choose the right interface name. 20. Close the properties and reopen it; a new property "location" should appear, ensure that you specify a valid URL for it, then save the Properties. 21. Clean and Build 22. Select Casa1Port->Edit WebServices Attributes ->Client Configuration