Generated JavaScript interfaces

This section helps provide a general understanding of how the generated JavaScript interfaces with the invoking JavaScript. As a best practice, find the proper objects and methods using a tool such as SoapUI and test the Web Service there prior to writing the invoking script. It should not be necessary to interpret the generated code when taking that approach.

Check these sections in the “master” JavaScript to write the calling JavaScript:

The first line in the master code gives the name of the main function or Service Object to call in the calling JavaScript:

function DemandService( )
{
  this.location = new String( "http://<ppm server>:15000/itg/
ppmservices/DemandService" );