Focal Point Banner


As of December 1, 2020, Focal Point is retired and repurposed as a reference repository. We value the wealth of knowledge that's been shared here over the years. You'll continue to have access to this treasure trove of knowledge, for search purposes only.

Join the TIBCO Community
TIBCO Community is a collaborative space for users to share knowledge and support one another in making the best use of TIBCO products and services. There are several TIBCO WebFOCUS resources in the community.

  • From the Home page, select Predict: WebFOCUS to view articles, questions, and trending articles.
  • Select Products from the top navigation bar, scroll, and then select the TIBCO WebFOCUS product page to view product overview, articles, and discussions.
  • Request access to the private WebFOCUS User Group (login required) to network with fellow members.

Former myibi community members should have received an email on 8/3/22 to activate their user accounts to join the community. Check your Spam folder for the email. Please get in touch with us at community@tibco.com for further assistance. Reference the community FAQ to learn more about the community.


Focal Point    Focal Point Forums  Hop To Forum Categories  WebFOCUS/FOCUS Forum on Focal Point     Problem listing applications using WebFocus Web Services

Read-Only Read-Only Topic
Go
Search
Notify
Tools
Problem listing applications using WebFocus Web Services
 Login/Join
 
Member
posted
Hello,

I'm having an issue running reports and listing the applications from WebFocus using WebFocus Web Services.

I am able to login to the Reporting Server ok and list the servers and get config info using the following code.

Get Config Info:

WebFocusWs.WebFocus wfs = new WebFocusWs.WebFocus();
WebFocusWs.LogOnInfo logon = new WebFocusWs.LogOnInfo();
WebFocusWs.WSDLInfoStruct retWSDL = new WebFocusWs.WSDLInfoStruct();


logon = wfs.WebFocusLogOn("[valid username]", "[valid password]", "", "");
retWSDL = wfs.WebFocusWSDLInfo(logon);

string s = String.Empty;

s = retWSDL.WSDLInfo.IBIUDDI_webApplocation + " - " + retWSDL.WSDLInfo.IBIC_server + " - " + retWSDL.WSDLInfo.IBIUDDI_cgiLocation;

Response.Write(s.ToString());

---------------------------

List Servers:

WebFocusWs.WebFocus wfs = new WebFocusWs.WebFocus();
WebFocusWs.LogOnInfo logon = new WebFocusWs.LogOnInfo();
WebFocusWs.ServerInfo serverInfo = new WebFocusWs.ServerInfo();
string s = String.Empty;

logon = wfs.WebFocusLogOn("[valid username]", "[valid password]", "", "");

serverInfo = wfs.WebFocusListServers(logon);

for (int i = 0; i < serverInfo.servers.Length; i++)
{
s += "Handle = " + serverInfo.servers[i].handle + "
" + "Class = " + serverInfo.servers[i].@class + "
" + "Default = " + serverInfo.servers[i].@default + "
" + "Protocol = " + serverInfo.servers[i].protocol + "
" + "Description = " + serverInfo.servers[i].description + "

";
}

Response.Write(s);

---------------------------

When I try to list the applications I get an error:

WebFocusWs.WebFocus wfs = new WebFocusWs.WebFocus();
WebFocusWs.LogOnInfo logon = new WebFocusWs.LogOnInfo();
WebFocusWs.WebFocusReturn ret = new WebFocusWs.WebFocusReturn();
try
{
logon = wfs.WebFocusLogOn("[valid username]", "[valid password]", "", "");
ret = wfs.WebFocusListApps(logon, "EDASERVE");

for (int i = 0; i < ret.values[0].Length; i++)
{
Response.Write("App Name : " + ret.values[0][i].ToString() + " - " + ret.values[1][i].ToString() + " - " + ret.values[2][i].ToString() + "
");
}
}
catch (Exception ex)
{
Response.Write(ex.ToString());
}

The error:

Error message : A connection attempt failed because the connected party did not
properly respond after a period of time, or established connection failed
because connected host has failed to respond


Has anyone else encountered this?

I would be grateful for any advice on how to fix this.

Thanks

Micheal
 
Posts: 12 | Registered: August 17, 2007Report This Post
Expert
posted Hide Post
Hi Micheal,

Has this issue been resolved?

If not, can you please check a few things: is the connected server started? Is there any limit on number of attempts to re-connect? Is there a time-out limit, e.g. 30 seconds or 60 seconds?

Since this one is more of a configuration issue, rather than developer question, I would strongly suggest you to contact Information Builders' Customer Support Services and open a case for assistance. You may either call at 1-800-736-6130, or access online InfoResponse. Here is a list of information to be ready when you call: http://techsupport.ibi.com/before_you_call.jsp.

Hope this helps. Smiler

Cheers,

Kerry


Kerry Zhan
Focal Point Moderator
Information Builders, Inc.
 
Posts: 1948 | Location: New York | Registered: November 16, 2004Report This Post
  Powered by Social Strata  

Read-Only Read-Only Topic

Focal Point    Focal Point Forums  Hop To Forum Categories  WebFOCUS/FOCUS Forum on Focal Point     Problem listing applications using WebFocus Web Services

Copyright © 1996-2020 Information Builders