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
- 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
Best practices for writing a JavaScript to consume a Web service
Never modify the JavaScript that is automatically generated by WSDL2JS unless you are specifically instructed to do so by Service Manager Customer Support. To invoke the Web service, write a JavaScript record that calls the functions generated by WSDL2JS. The JavaScript that invokes an external Web service should perform the following tasks:
- Create the Service Object.
- Create the Request Object.
- Fill the Request Object with information that defines the request.
- Invoke the Service Object and pass in the Request Object.
- Return either the Response Object, an instance of the Response Object, or a specific value of that instance.
- Perform error handling to test each response. Use try {…}, throw {…}, catch {…}, and the isFault function.
As a best practice, do not reuse the names of variables and functions in the calling JavaScript that are the names of variables and functions in the generated script. This can help avoid confusion.
Caution Never use the “new” keyword on a subordinate object unless it is an array. Unlike conventionally compiled applications that invoke a Web service, the generated function objects described in this document already use “new” when instantiating all children, so it is not necessary to do so in the calling JavaScript. The only exception is for arrays, where you use the newInstance() function to generate the array and fill its elements.