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 116 | Next

Frank Jennings, David Salter

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

This is invoked by right-clicking on elements within the WSDL or
Partner views and selecting the Refactor | Rename menu option.
When invoking the rename refactoring, the IDE gives a view showing all the
references where the element is used within a tree view as shown in the left pane of
the figure below. The two panes on the right of the window show the WSDL before
refactoring and what it will look like after the refactoring. When you are happy that
the refactoring is correct, you can select the Do Refactoring button to confirm.
Building a Simple Contract First Web
Service
Now that we have a good understanding of WSDL and the features that NetBeans
provides for editing WSDL files, let's create a simple contract first web service.
There is a lot of debate in the web services community at present as to whether
contract first web services are the best way to develop interoperable web services or
whether we should develop Java code first and let the WSDL be a by-product that is
automatically generated for us. For our sample application, we are going to develop
a simple Hello World web service. In this case, it's probably overkill to generate the
WSDL manually (with Java EE 5 we can generate this same web service with a few
annotations!), but nevertheless, the technique we are about to outline holds true for
any level of complexity from simple Hello World web services to complex airline
ticket booking web services.


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