public void processRequest(ProcessRequestData processRequestData) {

		try {

			if (processRequestData.getRequestType().equalsIgnoreCase(
					PacketspanConstants.REQ_ACTIVATION)) {

				JSONObject values = new JSONObject(
						processRequestData.getProduct());

				System.out.println(processRequestData.getHardwareId());
				String credentilaData = "<?xml version=\"1.0\" encoding=\"utf-8\"?>"
						+ "<soap12:Envelope xmlns:xsi=\"http://www.w3.org/2001/XMLSchema-instance\" xmlns:xsd=\"http://www.w3.org/2001/XMLSchema\" xmlns:soap12=\"http://www.w3.org/2003/05/soap-envelope\">"
						+ "<soap12:Header>"
						+ "<Credentials xmlns=\"http://Airspan.WiMax.WebServices\">"
						+ "<Username>Netspanuname</Username>"
						+ "<Password>Netspanpass</Password>"
						+ "</Credentials>"
						+ "</soap12:Header>"
						+ "<soap12:Body>"
						+ "<ProvisionCustomMS xmlns=\"http://Airspan.WiMax.WebServices\">";
				String endtag = "</ProvisionCustomMS>" + "</soap12:Body>"
						+ "</soap12:Envelope>";

				StringBuilder data = new StringBuilder();
				data.append(credentilaData);
				
				data.append("<macAddress>" + values.getString("macId")
						+ "</macAddress>");
				data.append("<serviceProductName>" + values.getString("SERVICE") + "</serviceProductName>");
				// data.append("<homeSectorBsId>" + values.get("Channel") +
				// "</homeSectorBsId>");
				data.append("<customConfigName>ETH_CS</customConfigName>");
				data.append("<vlanPortProfileName>"+ values.getString("VLAN_ID")+"</vlanPortProfileName>");
				
				data.append(endtag);
				logger.info("Packetspan processing Data is :" + data);
				String NetSpanResult = NetSpanProcess(PacketspanConstants.PACKETSPAN_ACTIVATION_URL,data.toString(),
						                     PacketspanConstants.PROVISIONCUSTOMMS_ACTIVATION);

				// for packeteer
				Long id = values.getLong("clientId");
				StringBuilder packteerData = new StringBuilder();
				packteerData.append(values.getString("GROUP_NAME")).append(" ").append(id).append(" inside ")
						.append(values.getString("IP_ADDRESS"));

				String PacketeerResult = PacketeerProcess(packteerData.toString(), id.toString());
				
				String Result;
				if (PacketeerResult.equalsIgnoreCase("Success") && NetSpanResult.equalsIgnoreCase("Success")) {
					Result = "Success";
				} else {
					Result = "Netspan-Result=" + NetSpanResult + " && " + " Packeteer_Result= failure :" + PacketeerResult;
				}

				ProcessCommandImpl.process(Result, processRequestData.getId(), processRequestData.getPrdetailsId());

			} else if (processRequestData.getRequestType().equalsIgnoreCase(
					PacketspanConstants.REQ_DISCONNECTION)) {

				String credentilaData = "<?xml version=\"1.0\" encoding=\"utf-8\"?>"
						+ "<soap12:Envelope xmlns:xsi=\"http://www.w3.org/2001/XMLSchema-instance\" xmlns:xsd=\"http://www.w3.org/2001/XMLSchema\" xmlns:soap12=\"http://www.w3.org/2003/05/soap-envelope\">"
						+ "<soap12:Header>"
						+ "<Credentials xmlns=\"http://Airspan.WiMax.WebServices\">"
						+ "<Username>OBS</Username>"
						+ "<Password>0b5@spice</Password>"
						+ "</Credentials>"
						+ "</soap12:Header>"
						+ "<soap12:Body>"
						+ "<DisableService xmlns=\"http://Airspan.WiMax.WebServices\">";
				String endtag = "</DisableService>" + "</soap12:Body>"
						+ "</soap12:Envelope>";

				StringBuilder data = new StringBuilder();
				data.append(credentilaData);
				data.append("<macAddress>" + processRequestData.getHardwareId()
						+ "</macAddress>");
				data.append(endtag);
				logger.info(data);

				String Result = NetSpanProcess(
						PacketspanConstants.PACKETSPAN_DISABLESERVICE_URL,
						data.toString(),
						PacketspanConstants.DISABLESERVICE_DISCONNECTION);

				/*
				 * //for packeteer StringBuilder packteerData=new
				 * StringBuilder();
				 * packteerData.append(values.getString("GROUP_NAME"))
				 * .append(" ") .append(id) .append(" inside ")
				 * .append(values.getString("IP_ADDRESS"));
				 * 
				 * String
				 * PacketeerResult=PacketeerProcess(packteerData.toString(
				 * ),id.toString()); String Result;
				 * if(PacketeerResult.equalsIgnoreCase("Success") &&
				 * NetSpanResult.equalsIgnoreCase("Success")){ Result="Success";
				 * }else{ Result="Netspan-Result="+NetSpanResult+" && "+
				 * " Packeteer_Result="+PacketeerResult; }
				 */

				ProcessCommandImpl.process(Result, processRequestData.getId(),
						processRequestData.getPrdetailsId());

			}
		} catch (Exception e) {
			logger.error("(ConfigurationException) Properties file loading error.... : "
					+ e.getMessage());
		}

	}