IBM webMethods Hybrid Integration

IBM webMethods Hybrid Integration

Join this online group to communicate across IBM product users and experts by sharing advice and best practices with peers and staying up to date regarding product enhancements.

 View Only
Expand all | Collapse all

Passing EntireX Security and Natural Security parameters

  • 1.  Passing EntireX Security and Natural Security parameters

    Posted Fri March 18, 2005 08:02 PM

    Does anyone have a generic class module and/or code snippet of how to pass user id and password for EntireX Security and Natural from a VB client to mainframe using EntireX Communicator and broker?

    Thanks in advance!


    #webMethods
    #EntireX-DCOM
    #Mainframe-Integration


  • 2.  RE: Passing EntireX Security and Natural Security parameters

    Posted Tue March 29, 2005 07:40 PM

    Assuming you are using the DCOM wrapper and VB6 or ASP (not .Net), you can use VBScript such as:

    <%
    dim obj
    set obj = Server.CreateObject(“EOL.TESTRPC”)
    ’ EntireX Security logon
    obj.UserID = “USER00” 'Request.Form(“USERID”)
    obj.Password = “PWD” 'Request.Form(“password”)
    ’ if RPC server has LOGONRQ=ON, NaturalLogon must be Y. Optional otherwise
    objCalc.NaturalLogon = “Y”
    obj.RpcUserID = obj.UserID
    obj.RpcPassword = “NSSPWD”
    obj.Logon

    dim result
    ’ invoke DCOM object to invoke RPC to call function on mainframe Natural
    result = obj.DCOM001()

    objCalc.MYPROG operator, result

    Response.Write(“
    ” & result)
    obj.Logoff
    %>


    #Mainframe-Integration
    #EntireX-DCOM
    #webMethods


  • 3.  RE: Passing EntireX Security and Natural Security parameters

    Posted Tue March 29, 2005 07:52 PM


  • 4.  RE: Passing EntireX Security and Natural Security parameters

    Posted Mon July 07, 2008 02:11 PM

    Hi LaJuan and Douglas. Im new on this forum, can you help me with the property .NewPassword on DCOM objects? Im using this but didnt work.

    I posted one topic on this forum at the address: http://tech.forums.softwareag.com/viewtopic.php?C=&p=45857#45857

    Im writted one little code on Delphi, ASP and ASP.Net to change the password on Natural Security via DCOM.NewPassword but this not work.

    Tanks a lot in advance!!!

    Best regards.


    #Mainframe-Integration
    #webMethods
    #EntireX-DCOM