[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

User / Password issue



   This is part of my WebSrv subroutine:


          begsr
   websrv;

            URL =
   '';

            szAM$$ =
   0;

            open
   Yourl;

            read yourl;

            close
   yourl;



            // Set basic
   authentication.

               http_setAuth(HTTP_AUTH_BASIC
   :

               %trim(USR)
   :

               %trim(Pwd));



            url = %trim(url) +
   %trim(klame);

            url = %trim(url) +
   '/';

            url = %trim(url) +
   %trim(%char(dat10));

            If khpyin =
   'E';

              url = %trim(url) + '/';

              url = %trim(url) +
   'EFT';

            Else;

              url = %trim(url) +
   '/';

              url = %trim(url) +
   'CHK';

            ENDIF;



          Monitor;

            response =
   '';

            rc=http_url_get_raw(url:1:%paddr(Process):60);

            szHTML =
   response;

          On-Error;

            erz += 1;

          EndMon;

            nBytes =
   %len(%trim(szHTML));



            if rc <>
   1;

              http_crash();

            endif;



   I have URL, User and Password stored in file YOURL.


   This was working fine until they moved to a new box which is requiring
   UserID and Password, so I added the code highlighted in yellow above.


   When it executes I get this message:


   (GSKit) Identifier value is not
   valid.

   (GSKit) Peer not recognized or badly formatted message
   received.

   SSL Handshake: (GSKit) Peer not recognized or badly formatted
   message

     received.

   One or more errors occurred during execution of your job J5504257.
   Check

     lower level messages for further
   information.


   I am pretty lost at the moment and would appreciate any constructive
   criticism.


   Thanks,

   Daniel E. `Danny' Hayes

   Senior JD Edwards Developer

   813 901-2150   x133154

   cid:image001.png@01CFCC0B.D6D16F30

   9119 Corporate Lake Drive | Tampa Florida 33634 |
   [1]www.carecentrix.com

     __________________________________________________________________

   This communication is intended only for the use of the individual or
   entity named as the addressee. It may contain information which is
   privileged and/or confidential under applicable law. If you are not the
   intended recipient or such recipient's employee or agent, you are
   hereby notified that any dissemination, copy or disclosure of this
   communication is strictly prohibited. If you have received this
   communication in error, please immediately notify CareCentrix
   Compliance Hot Line at (877) 848-8229 and notify the sender by
   electronic mail. Please expunge this communication without making any
   copies. Thank you for your cooperation.

References

   1. http://www.carecentrix.com/

PNG image

-----------------------------------------------------------------------
This is the FTPAPI mailing list.  To unsubscribe, please go to:
http://www.scottklement.com/mailman/listinfo/ftpapi
-----------------------------------------------------------------------