AnsweredAssumed Answered

Create operation is not working

Question asked by shrikar_mukesh808321 on Jun 13, 2018
Latest reply on Jul 5, 2018 by magali.kain.boomi

Hi ,

I am trying to CREATE a USER with the below code, the process is successfully executed in boomi atomsphere 

but it's not creating any USER.

Please find the code below and please help me out in this issue 




protected void executeUpdate(UpdateRequest request, OperationResponse response) {
          for(ObjectData input : request){
                String requestUrl = "";
                  try {
                      HttpURLConnection httpConnection = (HttpURLConnection) new URL(requestUrl).openConnection();
                      InputStream httpResponse = httpConnection.getInputStream();
                      int httpStatusCode = httpConnection.getResponseCode();

                      if (httpStatusCode == HttpURLConnection.HTTP_OK) {
                          // save response data
                          ResponseUtil.addSuccess(response, input, String.valueOf(httpStatusCode),
                      } else {
                          // indicate failure
                          ResponseUtil.addFailure(response, input, String.valueOf(httpStatusCode));
                  } catch (IOException e) {