Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations IamaSherpa on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

URGENT: how can i validate user is inserting right LiveLink CGI URL

Status
Not open for further replies.

otoprpradip

Programmer
Nov 10, 2008
3
I have to develop a client application in C# (or any other languages). This application allows users to connect to server. I want to use HTTP without tunneling. There will be the CGI URL input in application where user should supply correct CGI URL of livelink ( and four other fields (server, username, passowrd and portno).
My problem is how can i validate user is inserting right LiveLink CGI URL( so that if it is wrong i can warn user about error?
Please Help me. Its urgent.
 
Create a live report and run this query
select url from agentconfig

This is how the notification in livelink lknows how to prepend the URL.


Alteratively check Jeff Lang's post in the KB for a webservice method that parts with this info

Well, if I called the wrong number, why did you answer the phone?
James Thurber, New Yorker cartoon caption, June 5, 1937

Certified OT Developer and probably certfiable,Livelink ECM Champion 2008
 
Thnx appnair,
Where to find Jeff Lang's post in the KB for a webservice method that parts with this info?
If you don't mind could you supply some code for me?
 
The code that I mention you would have to call livelink webservices.Only the latest and greatest livelink 9.7.1 has webservices built into it.All others you will have to emulate a service arch by putting lapi code on a web server.The code that Jeff posted is actually uses this call
Class ServerInfo.You can find the api documentation on this path of a livelink 9.7.1 server
<othome>/webservices/sdk/docs/javadoc/index.html

If you were doing straight lapi you could go to the KB download the samaple code for running a livereport
in here



Well, if I called the wrong number, why did you answer the phone?
James Thurber, New Yorker cartoon caption, June 5, 1937

Certified OT Developer and probably certfiable,Livelink ECM Champion 2008
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top