Hi SoftwareArtiste,
Has this issue been resolved on your side? Many thanks to everyone's help on this one.
I forwarded this to an internal expert to review and here are some suggestions:
The functionality to pass a .NET Dataset to a WebFOCUS Report was added in WebFOCUS 7.1.
The WebFOCUS Web Service function to do this is WebFocusRunFexExtendedDS.
Page 4-27 of the WebFOCUS Web Services 7.1 manual shows how to do this.
WebFOCUS Web Services 7.1 (You will need to have an InfoResponse username/password to access the manual.)
When the Dataset is passed to this function, it is converted to an XML file in the temp directory.
A master would have to be created in order to report against the XML.
You can use the WebFocusSchemaInfo function to determine what fields should be included in the Master.
This function also takes a Dataset as input.
This function is documented on Page 4-64 of the WebFOCUS Web Services 7.1 manual.
Below is what the Master looks like for the example on Page 4-28 of the WebFOCUS Web Services manual:
FILENAME=MYDATASET, SUFFIX=XML , $
SEGMENT=ROOT, SEGTYPE=S0, $
FIELDNAME=COUNTRY, ALIAS=COUNTRY, USAGE=A30, ACTUAL=A30, $
FIELDNAME=CAR, ALIAS=CAR, USAGE=A30, ACTUAL=A30, $
FIELDNAME=MODEL, ALIAS=MODEL, USAGE=A30, ACTUAL=A30, $
Here is a sample FEX using this Master File:
TABLE FILE MYDATASET
PRINT
COUNTRY
CAR
MODEL
END
Hope this helps.
Cheers,
Kerry
Kerry Zhan
Focal Point Moderator
Information Builders, Inc.