SOAP resouce locking

Dear all,

I am currently trying to re-implement an existing connection-oriented
locking mechanism that was originally written in C. The company that
supplied us the original system has recently implemented a SOAP package
that we can use to expose some of the internal functions. However, how
does one re-implement connection-oriented resource locking with a
connection-less protocol which I presume SOAP is. The external system
that is trying to lock the resouce is written in Java.

Thanks in advance,