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     [CASE-OPENED] Restful Webservices - WF 8 : Parm Array

Read-Only Read-Only Topic
Go
Search
Notify
Tools
[CASE-OPENED] Restful Webservices - WF 8 : Parm Array
 Login/Join
 
Gold member
posted
Anyone have a .NET example on how to incorporate a parm array to a restful webservice call in WF 8? The sample provided in the manual is too generic. I want to dynamically push an array of parms to the service.

This message has been edited. Last edited by: <Kathryn Henning>,


Version: 8.0.0.6
Windows platform
All output formats will probably be used.
 
Posts: 80 | Registered: June 25, 2009Report This Post
Platinum Member
posted Hide Post
The parameters for a WebFOCUS report using RESTful Web Services is passed as name/value pairs either as parameters to the GET request or in the Body of the POST request.

Documentation example:
postData = "IBIRS_action=run&COUNTRY=ENGLAND"

If there are additional parameters the name value pairs would be appended:
postData = "IBIRS_action=run&COUNTRY=ENGLAND&CAR=JAGUAR"

If the number of parameters are dynamic, I would suggest concatenating each of the name/value pairs to the parameter string in a loop based on the number of parameters for the report.

eg:
postData = postData + "&" + parmName(i) + "=" + parmValue(i)
 
Posts: 229 | Location: New York | Registered: July 27, 2004Report This Post
Gold member
posted Hide Post
Thank you Efrem. I have an open case about this, but I have noticed that both a SOAP and a restful webservice report that is AHTML does NOT respect the DIV.innerHTML tag. So if I have a .NET app, I call a report that is AHTML and want it to position itself inside a DIV tag. It does not work, and the report renders to the upper left hand of the screen, overlaying the other content on the screen.


Version: 8.0.0.6
Windows platform
All output formats will probably be used.
 
Posts: 80 | Registered: June 25, 2009Report This Post
Platinum Member
posted Hide Post
It seems that your AHTML issue is not a Web Services issue.
If you run an AHTML report via the WebFOCUS front-end, it produces the same output.
So, if you opened a case for this, the Product Manager in charge of Active Reports will look at this.
 
Posts: 229 | Location: New York | Registered: July 27, 2004Report This Post
Gold member
posted Hide Post
Thank you Efrem. I have an opened case, and they are looking into the AHTML.


Version: 8.0.0.6
Windows platform
All output formats will probably be used.
 
Posts: 80 | Registered: June 25, 2009Report 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     [CASE-OPENED] Restful Webservices - WF 8 : Parm Array

Copyright © 1996-2020 Information Builders