callWebService
public java.lang.String callWebService(java.lang.String strUrl,
java.util.Map<java.lang.String,java.lang.String> mapParameters,
fr.paris.lutece.util.signrequest.RequestAuthenticator authenticator,
java.util.List<java.lang.String> listElements,
HttpMethodEnum httpMethod)
throws fr.paris.lutece.plugins.crmclient.util.CRMException
This method calls Rest WS to do an action
- Specified by:
callWebService in interface IWebServiceCaller
- Parameters:
strUrl - the url
mapParameters - the params to pass in the post
authenticator - The request authenticator
listElements - the list of elements to include in the signature
httpMethod - the http method used
- Returns:
- the response as a string
- Throws:
fr.paris.lutece.plugins.crmclient.util.CRMException - the exception if there is a problem