Importing XML schema files into the WSDL document saves
having to re-specify any custom data types in your WSDL file that may be in use
elsewhere within your application. The WSDL creation wizard only allows one XML
schema file to be imported, however additional XML schema files can be imported
once the WSDL file is created??”we'll see how to do that in the next section.
Chapter 6
[ 123 ]
The following screenshot shows the NetBeans dialog that allows XML schema files to
be imported into the WSDL document. This dialog allows files to be imported based
upon either the File Name or the Namespace of the file. To use this feature therefore,
the XML schema file must already be a part of the current NetBeans project??”it is not
possible to import XML schema files that are hosted on remote servers, without first
adding them to the current NetBeans project.
After specifying the file and namespace details for the new WSDL document, the
wizard continues to the Abstract Configuration page for the WSDL file. You will
remember that we discussed the abstract configuration previously??”this contains
details of the methods, parameters, and faults that are described in the WSDL
document. This page in the dialog allows us to specify one operation only within the
WSDL file??”further operations can be specified once the file has been created.
Pages:
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123