Jagan,
You should consult the TN programmers reference that can be found under the /doc directory in TNConsole or in the package pub directory.
Look at Profile management services section in the programmers ref.
You may have to play around a little, but there are a bunch of “get” services, like wm.tn.profile.getProfile.
However, for this to work, you will have to find a way to cross reference your LOCID against the D&B number which may end up being an issue, unless you store LOCID in an extended profiles field, or in another ID field.
TN uses D&B as the default partner ID, however, most people change it to a user defined type.
Cheers.
Ray
#Integration-Server-and-ESB#B2B-Integration#webMethods