Home

Results 1 to 10 of 10

Thread: Handshake Process with SOAP Driver

Hybrid View

  1. #1
    Join Date
    Nov 2009
    Posts
    8

    Handshake Process with SOAP Driver


    Hi,

    Server environment: SLES 10 SP4
    IDM: 3.6.1

    Currently I am setting up a SOAP driver. This SOAP driver required to
    perform handshake process before create/modify/delete action send to the
    target web services.
    This is to ensure the connectivity of the SOAP driver with target
    system.

    Is there any way or implementation I can refer?

    Thanks in advanced!


    --
    suzan_low
    ------------------------------------------------------------------------
    suzan_low's Profile: http://forums.novell.com/member.php?userid=71556
    View this thread: http://forums.novell.com/showthread.php?t=453140


  2. #2
    ab NNTP User

    Re: Handshake Process with SOAP Driver

    -----BEGIN PGP SIGNED MESSAGE-----
    Hash: SHA1

    I am not sure I understand the question. Most of the shims make
    connections at the start of the shim and will keep those for a while,
    but the HTTP protocol is not made to work that way so I would be
    surprised if a connection was made to be kept long term. Having a
    connection created from the start of the driver just to test
    credentials may make sense, but I do not know that it is doen currently.
    If youa re asking if it is or not then I cannot provide anything either
    way (though I have not looked extensively). In a trace of an SPML
    config I see the following lines on startup which do not really give
    much information and a LAN trace would probably be a better way to test
    this:

    [02/17/12 15:06:53.540]riverConfigName STriverConfigName: subURL-1 =
    http://1.2.3.4:1234
    [02/17/12 15:06:53.541]riverConfigName STriverConfigName:
    HTTPSubscriberTransport.init()
    [02/17/12 15:06:53.541]riverConfigName ST:SubscriptionShim.init()
    returned:
    [02/17/12 15:06:53.542]riverConfigName ST:
    <nds dtdversion="2.0">
    <source>
    <product build="20090519_235451" instance="DriverConfigName"
    version="3.5.4">Identity Manager Driver for SOAP</product>
    <contact>Novell, Inc.</contact>
    </source>
    <output>
    <status level="success" type="driver-general"/>
    </output>
    </nds>

    Good luck.
    -----BEGIN PGP SIGNATURE-----
    Version: GnuPG v2.0.18 (GNU/Linux)
    Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org/

    iQIcBAEBAgAGBQJPWHtuAAoJEF+XTK08PnB5P04QALxqX+WJbN qonI7a2yRfdwzr
    vkpi/YwbLlXYu6hohQkaGxCChfZdsvsjBK5jhGOSel9AIrvtkRdsEyW HG1TL0TH1
    TqxvFzbd4ceMxRo7LCM2nTtXAi6rYMTaAADZ3seVAtVxR7Dy3o MrbT8DvcBr+9Vh
    N3XHPbniTZ30bJ6mKCLru2M9K1cySs4cA4OLJWCwoEyJl7fIvt 8QZRnfNvwOmsSV
    iChZ41FYp1LTlaJR8YRUgaQEfTiACUMnslFfSreGFlwkH1zYQQ G/2gjM2fjIMy+D
    AwXbIaINep7JazgIr0g/0PJDNL79JL3IwsIT8XtE28txc8osrdTMxNY/4AwT6AGP
    Mi2j6qHOi3sf1J9sdRGs/CME8zk9zHrBXNs1e+PlgsphTlbmwWiEKK9LmZlb0qTA
    QqWsa2mEhq0K4LGDTWvmW5RMRk2p1BCnAC3OxUH7xSZNW9Rbfm VwYsKHA2Wnqwrh
    jup+lpekVeiAe49cjTe8E6gzW3uxyUVIA4e2RyLfDIjrdhnRmk qTv4jE3Ry24v2v
    +jPN/Gn4Nq1ppGP3u3NKXqAz8uTm5kBwuXBQXrIyIsw6kYYjhDMfREz NdaLJB8qI
    PA9O1o4m6+UyhVojFlO1BxvXQonxNc2XOAx+cNUCeT+DyUaBRc w0KVqJk0n1SC77
    4Oan2BOW391Lt/4EUMo0
    =FpKp
    -----END PGP SIGNATURE-----

  3. #3
    Will Schneider NNTP User

    Re: Handshake Process with SOAP Driver

    Do you mean that you need an authentication to take place prior to the event?
    If so you will need to put a policy that is executed on driver start.
    Is that just a preference or a requirement?


    On 3/8/2012 3:27 AM, ab wrote:
    > -----BEGIN PGP SIGNED MESSAGE-----
    > Hash: SHA1
    >
    > I am not sure I understand the question. Most of the shims make
    > connections at the start of the shim and will keep those for a while,
    > but the HTTP protocol is not made to work that way so I would be
    > surprised if a connection was made to be kept long term. Having a
    > connection created from the start of the driver just to test
    > credentials may make sense, but I do not know that it is doen currently.
    > If youa re asking if it is or not then I cannot provide anything either
    > way (though I have not looked extensively). In a trace of an SPML
    > config I see the following lines on startup which do not really give
    > much information and a LAN trace would probably be a better way to test
    > this:
    >
    > [02/17/12 15:06:53.540]riverConfigName STriverConfigName: subURL-1 =
    > http://1.2.3.4:1234
    > [02/17/12 15:06:53.541]riverConfigName STriverConfigName:
    > HTTPSubscriberTransport.init()
    > [02/17/12 15:06:53.541]riverConfigName ST:SubscriptionShim.init()
    > returned:
    > [02/17/12 15:06:53.542]riverConfigName ST:
    > <nds dtdversion="2.0">
    > <source>
    > <product build="20090519_235451" instance="DriverConfigName"
    > version="3.5.4">Identity Manager Driver for SOAP</product>
    > <contact>Novell, Inc.</contact>
    > </source>
    > <output>
    > <status level="success" type="driver-general"/>
    > </output>
    > </nds>
    >
    > Good luck.
    > -----BEGIN PGP SIGNATURE-----
    > Version: GnuPG v2.0.18 (GNU/Linux)
    > Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org/
    >
    > iQIcBAEBAgAGBQJPWHtuAAoJEF+XTK08PnB5P04QALxqX+WJbN qonI7a2yRfdwzr
    > vkpi/YwbLlXYu6hohQkaGxCChfZdsvsjBK5jhGOSel9AIrvtkRdsEyW HG1TL0TH1
    > TqxvFzbd4ceMxRo7LCM2nTtXAi6rYMTaAADZ3seVAtVxR7Dy3o MrbT8DvcBr+9Vh
    > N3XHPbniTZ30bJ6mKCLru2M9K1cySs4cA4OLJWCwoEyJl7fIvt 8QZRnfNvwOmsSV
    > iChZ41FYp1LTlaJR8YRUgaQEfTiACUMnslFfSreGFlwkH1zYQQ G/2gjM2fjIMy+D
    > AwXbIaINep7JazgIr0g/0PJDNL79JL3IwsIT8XtE28txc8osrdTMxNY/4AwT6AGP
    > Mi2j6qHOi3sf1J9sdRGs/CME8zk9zHrBXNs1e+PlgsphTlbmwWiEKK9LmZlb0qTA
    > QqWsa2mEhq0K4LGDTWvmW5RMRk2p1BCnAC3OxUH7xSZNW9Rbfm VwYsKHA2Wnqwrh
    > jup+lpekVeiAe49cjTe8E6gzW3uxyUVIA4e2RyLfDIjrdhnRmk qTv4jE3Ry24v2v
    > +jPN/Gn4Nq1ppGP3u3NKXqAz8uTm5kBwuXBQXrIyIsw6kYYjhDMfREz NdaLJB8qI
    > PA9O1o4m6+UyhVojFlO1BxvXQonxNc2XOAx+cNUCeT+DyUaBRc w0KVqJk0n1SC77
    > 4Oan2BOW391Lt/4EUMo0
    > =FpKp
    > -----END PGP SIGNATURE-----



  4. #4
    Join Date
    Nov 2009
    Posts
    8

    Re: Handshake Process with SOAP Driver


    Hi ab, Will,

    Thanks for your help.

    Ya, Will, you are right I need an authentication event take place to
    ensure my connection to the target system is alive.
    This is requirement from my client, they need us to send over the
    action only when connection is alive else I may need to stop my driver.

    But this need to be done periodically, any idea?

    Thanks.


    --
    suzan_low
    ------------------------------------------------------------------------
    suzan_low's Profile: http://forums.novell.com/member.php?userid=71556
    View this thread: http://forums.novell.com/showthread.php?t=453140


  5. #5
    Join Date
    Dec 2007
    Location
    Brooklyn, NY
    Posts
    6,213

    Re: Handshake Process with SOAP Driver

    On 3/20/2012 3:16 AM, suzan low wrote:
    >
    > Hi ab, Will,
    >
    > Thanks for your help.
    >
    > Ya, Will, you are right I need an authentication event take place to
    > ensure my connection to the target system is alive.
    > This is requirement from my client, they need us to send over the
    > action only when connection is alive else I may need to stop my driver.
    >
    > But this need to be done periodically, any idea?


    Use the publisher channel heartbeat? The configuration allows you to
    specify its period in minutes.

    in the Pub-Event, if op=status and if XPATH @level='heartbeat' then do
    something.



  6. #6
    Join Date
    Dec 2007
    Location
    Brooklyn, NY
    Posts
    6,213

    Re: Handshake Process with SOAP Driver

    On 3/20/2012 6:17 AM, Geoffrey Carman wrote:
    > On 3/20/2012 3:16 AM, suzan low wrote:
    >>
    >> Hi ab, Will,
    >>
    >> Thanks for your help.
    >>
    >> Ya, Will, you are right I need an authentication event take place to
    >> ensure my connection to the target system is alive.
    >> This is requirement from my client, they need us to send over the
    >> action only when connection is alive else I may need to stop my driver.
    >>
    >> But this need to be done periodically, any idea?

    >
    > Use the publisher channel heartbeat? The configuration allows you to
    > specify its period in minutes.
    >
    > in the Pub-Event, if op=status and if XPATH @level='heartbeat' then do
    > something.


    Sorry, heartbeat looks like:

    <nds dtdversion="2.2">
    <source>
    <product version="3.6.13.5349">DirXML</product>
    <contact>Novell, Inc.</contact>
    </source>
    <input>
    <status level="success" type="heartbeat"/>
    </input>
    </nds>


    So should be
    op=status
    XML attr level=success
    XML attr type=heartbeat

    to properly detect it.


  7. #7
    Join Date
    Nov 2009
    Posts
    8

    Re: Handshake Process with SOAP Driver


    Hi geoffc,

    Ok, i will try it out! and will post the result soon, thanks!


    --
    suzan_low
    ------------------------------------------------------------------------
    suzan_low's Profile: http://forums.novell.com/member.php?userid=71556
    View this thread: http://forums.novell.com/showthread.php?t=453140


  8. #8
    Join Date
    Nov 2009
    Posts
    8

    Re: Handshake Process with SOAP Driver


    How can I send the SOAP message over in Publisher Channel?

    I try to do it from Subscriber Output Channel, seems not works, it
    wouldn't send out the message to target.

    Thanks!


    --
    suzan_low
    ------------------------------------------------------------------------
    suzan_low's Profile: http://forums.novell.com/member.php?userid=71556
    View this thread: http://forums.novell.com/showthread.php?t=453140


  9. #9
    Will Schneider NNTP User

    Re: Handshake Process with SOAP Driver

    You have to post something to a web service and then process the reply on the publisher.
    The SOAP driver isn't an endpoint itself that can be called. There are other parts for that

    On 4/4/2012 5:06 AM, suzan low wrote:
    >
    > How can I send the SOAP message over in Publisher Channel?
    >
    > I try to do it from Subscriber Output Channel, seems not works, it
    > wouldn't send out the message to target.
    >
    > Thanks!
    >
    >



  10. #10
    Join Date
    Nov 2009
    Posts
    8

    Re: Handshake Process with SOAP Driver


    Thanks for your advice

    Instead of using heartbeat, I used a driver job to trigger subscriber
    channel send document periodically.

    And yes, its working.

    Thank you everyone.

    Will Schneider;2187272 Wrote:
    > You have to post something to a web service and then process the reply
    > on the publisher.
    > The SOAP driver isn't an endpoint itself that can be called. There are
    > other parts for that
    >
    > On 4/4/2012 5:06 AM, suzan low wrote:
    > >
    > > How can I send the SOAP message over in Publisher Channel?
    > >
    > > I try to do it from Subscriber Output Channel, seems not works, it
    > > wouldn't send out the message to target.
    > >
    > > Thanks!
    > >
    > >



    --
    suzan_low
    ------------------------------------------------------------------------
    suzan_low's Profile: http://forums.novell.com/member.php?userid=71556
    View this thread: http://forums.novell.com/showthread.php?t=453140


Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •