SEARCH
0-9 A B C D E F G H I J K L M N O P Q R S T U V W X Y Z
Prev | Current Page 113 | Next

Frank Jennings, David Salter

"Building SOA-Based Composite Applications Using NetBeans IDE 6"


NetBeans Support for Editing WSDL
Documents
The NetBeans editor provides raw XML, graphical and partner views of WSDL
documents. These are chosen by selecting either Source, WSDL or Partner buttons at
the top of the WSDL window.
WSDL Editor
[ 126 ]
The Source window displays the raw XML for the WSDL document. Similar to other
code windows within the NetBeans editor, this code window is color coded and
supports code folds for XML elements within the file.
Any changes made to the WSDL file in the Source view is also displayed in the
WSDL and Partner view. If the XML is not well formed however, NetBeans cannot
display the WSDL or Partner views and will display a message indicating this (The
WSDL is not well-formed. message box). To help ensure that your WSDL remains valid
whilst editing the XML, two buttons are provided on the editor toolbar to check the
XML and to validate the XML.
Checks the XML to be valid (Shortcut key: Alt+F9)
Validates the XML against its XML Schema (Shortcut key: Shift+Alt+F9)
The first of these buttons checks whether the WSDL document is a valid XML
document. This performs basic XML checks such as ensuring that each start tag has
a corresponding end tag or that elements do not have multiple attributes with the
same name.
The second of these checks, validates the WSDL document against the WSDL XML
schema, and reports errors such as invalid tags or attributes.


Pages:
101 102 103 104 105 106 107 108 109 110 111 112 113 114 115 116 117 118 119 120 121 122 123 124 125