Tivoli NetView for z/OS, Version 5.4

Using a WSDL-Generated Proxy Client

The NetView® Web Services Description Language (WSDL) files automatically generate a proxy-client connection. You can create the client for any language that supports WSDL (for example, Java™, C/C++, COBOL, C#, JavaScript™, and Perl). Java users can create client-side bindings using the Axis WSDL-to-Java tool. The following example uses the basic invocation form:

% java org.apache.axis.wsdl.WSDL2Java (WSDL-file-URL)

You can use one of the following URLs depending on the output format (see Table 5) that you use:

The output generates bindings that are necessary for the client. You can also use Rational Rose® Technical Developer V7.0 to generate the proxy-client connection.

Table 5 lists the supported output formats for the NetView WSDL files.

Table 5. XML Output Formats
URL Value Output Format WSDL File Description
/znvsoa
<resp>
 <dl>
...
line-mode-
output
...
 </dl>
</resp> 
znvwsdl.wsdl Use to capture the output of a command that is entered from the command line. The <dl> tag encloses a single line of output.
/znvsoa1
<xmlout>
...
xml document
fragment
...
</xmlout>
znvwsdl1.wsdl Use to exchange XML or HTML document fragments. Output escape mode is disabled. When an XSLT processor translates an XML or HTML string, it escapes any significant characters, for example, angle brackets (< >), quotation mark ("), and ampersand (&). Do not use this file if you expect special characters in your output or if you are using unescaped special characters. Verify that the output document fragment is well-formed.
/znvsoa2
<xmloutp>
   <out>...
xml document
fragment
...
   </out>
</xmloutp>
znvwsdl2.wsd Use to exchange XML or HTML document fragments. Output escape mode is enabled. The special charactersangle brackets (< >), quotation mark ("), and ampersand (&). are escaped in the output using &lt;, &gt;, &amp;, and &quot;. Standard Java utilities are available to convert them back to the XML specification.



Feedback

[ Top of Page | Previous Page | Next Page | Contents ]