All pastes #46608 Raw Edit

Stuff

public java v1 · immutable
#46608 ·published 2006-03-22 15:32 UTC
rendered paste body
public static String getMatrixChunk(String sessionID, int elements) throws MalformedURLException, ServiceException, RemoteException {	Call call = getStandardCall("getMatrixChunk");	call.addParameter("op1", XMLType.XSD_STRING, ParameterMode.IN );	call.addParameter("op2", XMLType.XSD_INT, ParameterMode.IN );	call.setReturnType(XMLType.XSD_BASE64 );	call.setEncodingStyle(Constants.URI_SOAP12_ENC);		return (String) call.invoke( new Object [] { sessionID, new Integer(elements) });}private static Call getStandardCall(String methodName) throws ServiceException, MalformedURLException {	Service service = new Service();	Call call = (Call)service.createCall();		call.setTargetEndpointAddress(new URL(END_POINT));	call.setOperationName(methodName);		return call;}