Date: Fri, 29 Mar 2024 00:47:18 -0600 (MDT) Message-ID: <535866355.2715.1711694838862@confluence-external-wiki> Subject: Exported From Confluence MIME-Version: 1.0 Content-Type: multipart/related; boundary="----=_Part_2714_1626286043.1711694838862" ------=_Part_2714_1626286043.1711694838862 Content-Type: text/html; charset=UTF-8 Content-Transfer-Encoding: quoted-printable Content-Location: file:///C:/exported.html
= span>
When developing against Yellowfin Web Services it is possible to generat=
e functional stubs against the WSDL definitions. These definitions can be f=
ound at http://<yellowfin-server>:<port>/services
,=
eg. http://localhost:8080/services.
The functional stub will allow developers to make standard function call= s in their native programming language which will directly communicate with= the Web Services provided by Yellowfin. The process of creating function s= tubs should also generate any objects required by the Web Service.
Some of the objects used by the Web Service examples will include:
AdministrationServiceRequest
- an object that defines the =
type of call being made to the web serviceAdministrationServiceResponse
- an object returned by the =
web serviceAdministrationPerson
- an object that contains user inform=
ationAdministrationGroup
- an object that contains group inform=
ationyfws-<date>.jar . This is located Yellowfin installation directory Yellowfin\dev=
elopment\lib
.=20
The Yellowfin Web Service API contains pre-generated stubs. This can be =
used directly in applications that are developed in Java, or other language=
s that support Java integration, such as Cold Fusion or Lotus Script. This =
makes integration slightly simpler as each request is not required to be ma=
nually generated, as most of the Web Services are wrapped by a standard Jav=
a function.
A web service request is of the form:
Adminis=
trationServiceRequest rsr =3D new AdminstrationServiceRequest();
AdministrationServiceResponse rs =3D null;
AdministrationPerson person =3D new AdministrationPerson();
rsr.setLoginId(this.username);
rsr.setPassword(this.password);
rsr.setOrgId(new Integer(1));
rsr.setFunction("ADDUSER");
rs =3D AdministrationService.remoteAdministrationCall(rsr);
See Administration Se=
rvice or Report Service =
for more information.
=20