mirror of https://github.com/OpenIdentityPlatform/OpenDJ.git

neil_a_wilson
09.41.2007 fc649ad091ca53cbb9798ab193f0e36695abe825
opends/src/dsml/org/opends/dsml/protocol/DSMLExtendedOperation.java
@@ -83,19 +83,7 @@
    throws IOException, LDAPException, ASN1Exception
  {
    ExtendedResponse extendedResponse = objFactory.createExtendedResponse();
    String requestID = extendedRequest.getRequestID();
    int reqID = 1;
    try
    {
      reqID = Integer.parseInt(requestID);
    } catch (NumberFormatException nfe)
    {
      throw new IOException(nfe.getMessage());
    }
    // Set the response id.
    extendedResponse.setRequestID(requestID);
    extendedResponse.setRequestID(extendedRequest.getRequestID());
    String requestName = extendedRequest.getRequestName();
    Object value = extendedRequest.getRequestValue();
@@ -103,7 +91,7 @@
    // Create and send the LDAP request to the server.
    ProtocolOp op = new ExtendedRequestProtocolOp(requestName, asnValue);
    LDAPMessage msg = new LDAPMessage(reqID, op);
    LDAPMessage msg = new LDAPMessage(DSMLServlet.nextMessageID(), op);
    int numBytes = connection.getASN1Writer().writeElement(msg.encode());
    // Read and decode the LDAP response from the server.