org.ow2.orchestra.console.ws.client
Interface WSConsoleServicesAsync


public interface WSConsoleServicesAsync

Author:
Loic Albertin

Method Summary
 void generateRequest(ActivityEndpoint activityEndpoint, com.google.gwt.user.client.rpc.AsyncCallback<SoapRequest> async)
          Generates a sample request for an ActivityEndpoint
 void getProcessEndpoints(String processId, com.google.gwt.user.client.rpc.AsyncCallback<ProcessEndpoints> async)
          Retrieves a ProcessEndpoints for a given process id
 void sendRequest(SoapRequest request, com.google.gwt.user.client.rpc.AsyncCallback<String> async)
          Send a request on a given ActivityEndpoint
 

Method Detail

getProcessEndpoints

void getProcessEndpoints(String processId,
                         com.google.gwt.user.client.rpc.AsyncCallback<ProcessEndpoints> async)
Retrieves a ProcessEndpoints for a given process id

Parameters:
processId - The process id
async - Callback allowing to retrieve the ProcessEndpoints

generateRequest

void generateRequest(ActivityEndpoint activityEndpoint,
                     com.google.gwt.user.client.rpc.AsyncCallback<SoapRequest> async)
Generates a sample request for an ActivityEndpoint

Parameters:
activityEndpoint - The ActivityEndpoint for which a request should be generated
async - Callback allowing to retrieve the generated request as String

sendRequest

void sendRequest(SoapRequest request,
                 com.google.gwt.user.client.rpc.AsyncCallback<String> async)
Send a request on a given ActivityEndpoint

Parameters:
request - The request to send
async - Callback allowing to retrieve the response in case of request/response service


Copyright © 2012 OW2 Consortium. All Rights Reserved.