suzan_low Absent Member.
Absent Member.
240 views

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

Labels (1)
0 Likes
9 Replies
Anonymous_User Absent Member.
Absent Member.

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]:DriverConfigName ST:DriverConfigName: subURL-1 =
http://1.2.3.4:1234
[02/17/12 15:06:53.541]:DriverConfigName ST:DriverConfigName:
HTTPSubscriberTransport.init()
[02/17/12 15:06:53.541]:DriverConfigName ST:SubscriptionShim.init()
returned:
[02/17/12 15:06:53.542]:DriverConfigName 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+WJbNqonI7a2yRfdwzr
vkpi/YwbLlXYu6hohQkaGxCChfZdsvsjBK5jhGOSel9AIrvtkRdsEyWHG1TL0TH1
TqxvFzbd4ceMxRo7LCM2nTtXAi6rYMTaAADZ3seVAtVxR7Dy3oMrbT8DvcBr+9Vh
N3XHPbniTZ30bJ6mKCLru2M9K1cySs4cA4OLJWCwoEyJl7fIvt8QZRnfNvwOmsSV
iChZ41FYp1LTlaJR8YRUgaQEfTiACUMnslFfSreGFlwkH1zYQQG/2gjM2fjIMy+D
AwXbIaINep7JazgIr0g/0PJDNL79JL3IwsIT8XtE28txc8osrdTMxNY/4AwT6AGP
Mi2j6qHOi3sf1J9sdRGs/CME8zk9zHrBXNs1e+PlgsphTlbmwWiEKK9LmZlb0qTA
QqWsa2mEhq0K4LGDTWvmW5RMRk2p1BCnAC3OxUH7xSZNW9RbfmVwYsKHA2Wnqwrh
jup+lpekVeiAe49cjTe8E6gzW3uxyUVIA4e2RyLfDIjrdhnRmkqTv4jE3Ry24v2v
+jPN/Gn4Nq1ppGP3u3NKXqAz8uTm5kBwuXBQXrIyIsw6kYYjhDMfREzNdaLJB8qI
PA9O1o4m6+UyhVojFlO1BxvXQonxNc2XOAx+cNUCeT+DyUaBRcw0KVqJk0n1SC77
4Oan2BOW391Lt/4EUMo0
=FpKp
-----END PGP SIGNATURE-----
0 Likes
Anonymous_User Absent Member.
Absent Member.

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]:DriverConfigName ST:DriverConfigName: subURL-1 =
> http://1.2.3.4:1234
> [02/17/12 15:06:53.541]:DriverConfigName ST:DriverConfigName:
> HTTPSubscriberTransport.init()
> [02/17/12 15:06:53.541]:DriverConfigName ST:SubscriptionShim.init()
> returned:
> [02/17/12 15:06:53.542]:DriverConfigName 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+WJbNqonI7a2yRfdwzr
> vkpi/YwbLlXYu6hohQkaGxCChfZdsvsjBK5jhGOSel9AIrvtkRdsEyWHG1TL0TH1
> TqxvFzbd4ceMxRo7LCM2nTtXAi6rYMTaAADZ3seVAtVxR7Dy3oMrbT8DvcBr+9Vh
> N3XHPbniTZ30bJ6mKCLru2M9K1cySs4cA4OLJWCwoEyJl7fIvt8QZRnfNvwOmsSV
> iChZ41FYp1LTlaJR8YRUgaQEfTiACUMnslFfSreGFlwkH1zYQQG/2gjM2fjIMy+D
> AwXbIaINep7JazgIr0g/0PJDNL79JL3IwsIT8XtE28txc8osrdTMxNY/4AwT6AGP
> Mi2j6qHOi3sf1J9sdRGs/CME8zk9zHrBXNs1e+PlgsphTlbmwWiEKK9LmZlb0qTA
> QqWsa2mEhq0K4LGDTWvmW5RMRk2p1BCnAC3OxUH7xSZNW9RbfmVwYsKHA2Wnqwrh
> jup+lpekVeiAe49cjTe8E6gzW3uxyUVIA4e2RyLfDIjrdhnRmkqTv4jE3Ry24v2v
> +jPN/Gn4Nq1ppGP3u3NKXqAz8uTm5kBwuXBQXrIyIsw6kYYjhDMfREzNdaLJB8qI
> PA9O1o4m6+UyhVojFlO1BxvXQonxNc2XOAx+cNUCeT+DyUaBRcw0KVqJk0n1SC77
> 4Oan2BOW391Lt/4EUMo0
> =FpKp
> -----END PGP SIGNATURE-----


0 Likes
suzan_low Absent Member.
Absent Member.

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

0 Likes
Knowledge Partner
Knowledge Partner

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.


0 Likes
Knowledge Partner
Knowledge Partner

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.

0 Likes
suzan_low Absent Member.
Absent Member.

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

0 Likes
suzan_low Absent Member.
Absent Member.

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

0 Likes
Anonymous_User Absent Member.
Absent Member.

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!
>
>


0 Likes
suzan_low Absent Member.
Absent Member.

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

0 Likes
The opinions expressed above are the personal opinions of the authors, not of Micro Focus. By using this site, you accept the Terms of Use and Rules of Participation. Certain versions of content ("Material") accessible here may contain branding from Hewlett-Packard Company (now HP Inc.) and Hewlett Packard Enterprise Company. As of September 1, 2017, the Material is now offered by Micro Focus, a separately owned and operated company. Any reference to the HP and Hewlett Packard Enterprise/HPE marks is historical in nature, and the HP and Hewlett Packard Enterprise/HPE marks are the property of their respective owners.