My bpel process uses two webservices running in two different instances(ie, the url is the same except for the port number). The port types and contents of the wsdl file are same. Here webservices A and B are registered as partner services by giving its Base Location in http://localhost:8080/jbpm-bpel/partners.jsp.
How I can i tell bpel engine to invoke a particular operation in a web service A, and another operation in the same bpel process from web service B.
The two different invocations in the process are using the same web service.
Kindly help me resolve this,
You will need to declare two different partner links and assign an endpoint reference to each. Endpoint references can be assigned in either the process document itself or the bpel-deployment.xml descriptor. Let me know which way do you want to go and I'll tell you how to do it. Also specify the BPEL version you are working on.