Hello,

Is there someother way to access the BPEL process other than sending SOAP
messages  ?

If so plz can anyone plz post it ?

I saw this code  for ActiveBPEL  in  their website ?


public class TestClient
{
 public static void main(String [] args)
 {
  try {
      String endpoint =
        "http://localhost:8080/active-bpel/services/echoService";;

      Service service = new Service();
      Call call = (Call) service.createCall();

      call.setTargetEndpointAddress( new java.net.URL(endpoint) );
      call.setOperationName(
             new QName("http://activebpel.org/echoDefs";, "echo") );
      call.addParameter("echoPart1", org.apache.axis.Constants.XSD_STRING,
             ParameterMode.IN);
      call.addParameter("echoPart2", org.apache.axis.Constants.XSD_STRING,
             ParameterMode.IN);
      call.setReturnType(org.apache.axis.Constants.XSD_STRING);

      String ret = (String) call.invoke(
      new Object[] { "Hello, ", "World!" } );

      System.out.println("Sent 'Hello, ' and 'World!', got '"
                           + ret + "'");
   } catch (Exception e) {
      System.err.println(e.toString());
   }
 }
}


Do we have some thing like that in Apache ODE to access the HelloWorld BPEL
process ?


Thanx in Advance !

Sam ...Tam...

Reply via email to