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
Use the WSDL2JS utility
The WSDL2JS (Web Services description language to JavaScript) utility translates the operations and types in the WSDL into objects, methods and functions in JavaScript that can be called from another JavaScript record.
The WSDL2JS utility is a JavaScript script library record named SOAP. It is written based on the W3C specifications for WSDL to interpret the content of the WSDL.
To consume a Web Service from Service Manager perform the following steps.
- Obtain the URL to the Web Service's WSDL file.
- Examine the WSDL either as a text file, or using a third-party graphical WSDL analysis tool to determine what functions, inputs, and formats the Web service expects. Some third-party Web Services tools allow you to experiment interactively with Web Services. HPE recommends that you familiarize yourself with the Web Service using such a tool before beginning any Service Manager JavaScript work.
- Execute the Run WSDL to JS wizard to obtain and convert the Web service's WSDL into JavaScript.
- Verify the WSDL to JS output. For details, see Verify the WSDL to JS output.
-
Review and modify the timeout values in the JavaScript generated by the utility according to your integration needs. For example, you may want to increase the timeout values as needed.
- Write custom JavaScript to call the JavaScript functions generated by the WSDL to JS wizard. These functions will enable you to create and send the SOAP messages required to interact with the Web service. HPE recommends that you write a short “standalone” script and invoke it from the Script Library utility to test it prior to implementing the JavaScript call from Format Control, Triggers, or Display Options. After you have determined and debugged the JavaScript code required to invoke the service, you can then integrate the script with your Service Manager application.
- Tailor your Service Manager application to invoke your custom JavaScript when you want to connect to a remote a Web service. Usually Web Services are invoked from the Document Engine, Format Control, Links, Display application, or from similar tailoring tools.
We welcome your comments!
To open the configured email client on this computer, open an email window.
Otherwise, copy the information below to a web mail client, and send this email to docs.feedback@hpe.com.
Help Topic ID:
Product:
Topic Title:
Feedback: