Searching the Help
To search for information in the Help, type a word or phrase in the Search box. When you enter a group of words, OR is inferred. You can use Boolean operators to refine your search.
Results returned are case insensitive. However, results ranking takes case into account and assigns higher scores to case matches. Therefore, a search for "cats" followed by a search for "Cats" would return the same number of Help topics, but the order in which the topics are listed would be different.
Search for | Example | Results |
---|---|---|
A single word | cat
|
Topics that contain the word "cat". You will also find its grammatical variations, such as "cats". |
A phrase. You can specify that the search results contain a specific phrase. |
"cat food" (quotation marks) |
Topics that contain the literal phrase "cat food" and all its grammatical variations. Without the quotation marks, the query is equivalent to specifying an OR operator, which finds topics with one of the individual words instead of the phrase. |
Search for | Operator | Example |
---|---|---|
Two or more words in the same topic |
|
|
Either word in a topic |
|
|
Topics that do not contain a specific word or phrase |
|
|
Topics that contain one string and do not contain another | ^ (caret) |
cat ^ mouse
|
A combination of search types | ( ) parentheses |
|
- Consume an external Web Service
- Use the WSDL2JS utility
- Best practices for writing a JavaScript to consume a Web Service
- Date/Time handling
- Example: Interface to another system
- Generated JavaScript interfaces
- Create a request for a new project
- The structure of the request
- Request object
- Simple fields
- Check the xs_string() function
- Check expected parameters in invoke() function
- Check the syntax for the Response function
- Use getValue
- Write the invoking JavaScript code
- Determine the structure of the request and response
- PPM request
- PPM response
- Web Services with a proxy server
- Connecting to a secure Web Service
- Use SSL connections to connect to an external Web Service
- Web Services connections through a firewall
Example: Interface to another system
This is an example for interfacing the Service Manager ServiceCatalog with Micro Focus’s PPM Demand service via Web Services.
When writing an interface to a different system, it is very important to understand the data structure and the methods available, as well as understand how to interpret the generated JavaScript code. In this example, we will not only discuss the methods and fields published by the WSDL, but reading the generated code to successfully write the invoking code as well.
- Determine the correct URL to enter into the WSDL to JS tool, check with the PPM administrator.
- In Service Manager, go to Menu Navigator and click Utilities > Tools > Web Services. Click Run WSDL to JS.
- Enter the URL to the WSDL, such as http://<hostname>:8080/itg/ppmservices/DemandService?wsdl.
- Click Proceed.
- Click Add to add the new ScriptLibrary record called DemandService.
- Write an interfacing JavaScript record in the ScriptLibrary called DemandServiceInvoke.