1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
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
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
329
330
331
332
333
334
335
336
337
338
339
340
341
342
343
344
345
346
|
<!--
Licensed to the Apache Software Foundation (ASF) under one or more
contributor license agreements. See the NOTICE file distributed with
this work for additional information regarding copyright ownership.
The ASF licenses this file to You under the Apache License, Version 2.0
(the "License"); you may not use this file except in compliance with
the License. You may obtain a copy of the License at
http://www.apache.org/licenses/LICENSE- 2.0
Unless required by applicable law or agreed to in writing, software
distributed under the License is distributed on an "AS IS" BASIS,
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
See the License for the specific language governing permissions and
limitations under the License.
-->
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
<HTML>
<HEAD>
<!-- generateKeywords macro -->
<META name="description" content="Apache Tuscany">
<META name="keywords" content="apache, apache tuscany, tuscany, service, services, fabric, soa, service oriented architecture, sca, service component architecture, das, sdo, csa, ruby, opensource">
<!-- generateKeywords macro end -->
<LINK type="text/css" rel="stylesheet" href="http://tuscany.apache.org/stylesheets/default.css">
<LINK rel="SHORTCUT ICON" href="https://cwiki.apache.org/confluence/display/TUSCANY/$images/favicon.ico">
<TITLE>Apache Tuscany : Build your first Web Services with Tuscany</TITLE>
<META http-equiv="Content-Type" content="text/html;charset=UTF-8"></HEAD>
<BODY onload="init()">
<!-- topNav macro -->
<TABLE valign="top" border="0" cellspacing="0" cellpadding="0" width="100%" background="http://tuscany.apache.org/images/TuscanyLogoNEW_Text_120px_bg.jpg">
<TR>
<TD valing="top" align="left">
<A href="https://cwiki.apache.org/confluence/pages/viewpage.action?spaceKey=TUSCANY&title=$siteroot"><IMG src="http://tuscany.apache.org/images/TuscanyLogoNEW_Text_120px_bg.jpg" height="91" width="25" border="0"></A>
</TD>
<TD>
<A href="http://tuscany.apache.org/"><IMG src="http://tuscany.apache.org/images/TuscanyLogo.jpg" border="0"></A>
</TD>
<TD width="100%">
</TD>
<!-- Adds the edit page link to the top banner-->
<TD valign="bottom">
<DIV style="padding: 2px 10px; margin: 0px;">
<A href="https://cwiki.apache.org/confluence/pages/editpage.action?pageId=82971">
<IMG src="http://tuscany.apache.org/images/notep_16.gif" height="16" width="16" border="0" align="absmiddle" title="Edit Page"></A>
</DIV>
</TD>
</TR>
</TABLE>
<!-- topNav macro end -->
<!-- breadCrumbs macro -->
<TABLE border="0" cellpadding="2" cellspacing="0" width="100%">
<TR class="topBar">
<TD align="left" valign="middle" class="topBarDiv" nowrap="true" width="100%">
<A href="home.html" title="Apache Tuscany">Apache Tuscany</A> > <A href="home.html" title="Home">Home</A> > <A href="sca-overview.html" title="SCA Overview">SCA Overview</A> > <A href="sca-java.html" title="SCA Java">SCA Java</A> > <A href="java-sca-documentation-menu.html" title="Java SCA Documentation Menu">Java SCA Documentation Menu</A> > <A href="" title="Build your first Web Services with Tuscany">Build your first Web Services with Tuscany</A>
</TD>
<TD align="right" valign="middle" class="topBarDiv" align="left" nowrap="true">
<A href="http://mail-archives.apache.org/mod_mbox/tuscany-user">User List</A> | <A href="http://mail-archives.apache.org/mod_mbox/tuscany-dev">Dev List</A> | <A href="http://issues.apache.org/jira/browse/Tuscany">Issue Tracker</A>
</TD>
</TR>
</TABLE>
<!-- breadCrumbs macro end -->
<TABLE border="0" cellpadding="0" width="100%" bgcolor="#FFFFFF">
<TR>
<TD align="left" valign="top">
<!-- pageContent macro -->
<DIV id="PageContent">
<DIV class="pagecontent">
<DIV class="wiki-content">
<H1><A name="BuildyourfirstWebServiceswithTuscany-BuildyourfirstWebServiceswithTuscany"></A>Build your first Web Services with Tuscany</H1>
<P><A href="http://cwiki.apache.org/confluence/display/TUSCANYWIKI/Create%20Your%20First%20Web%20Service%20with%20Apache%20Tuscany" class="external-link" rel="nofollow"><IMG class="emoticon" src="https://cwiki.apache.org/confluence/images/icons/emoticons/star_yellow.gif" height="16" width="16" align="absmiddle" alt="" border="0"> "Creating Your First Web Service with Apache Tuscany video"</A><BR>
This guide will give you step by step instructions on how to build your first web services.<BR>
The first part, we will learn how we can add the Tuscany Runtime to Eclipse IDE.<BR>
The second part, will show how easy is to create a webservices using Apache Tuscany.</P>
<H2><A name="BuildyourfirstWebServiceswithTuscany-InstalltheLatestTuscanyEclipsePlugin"></A>Install the Latest Tuscany Eclipse Plugin</H2>
<P><A href="http://cwiki.apache.org/confluence/display/TUSCANYWIKI/Installing%20the%20Apache%20Tuscany%20Eclipse%20Plugins" class="external-link" rel="nofollow"><IMG class="emoticon" src="https://cwiki.apache.org/confluence/images/icons/emoticons/star_yellow.gif" height="16" width="16" align="absmiddle" alt="" border="0"> "Installing the Apache Tuscany Eclipse Plugins video"</A></P>
<P>A quick Step by Step walk through of downloading, installing, and verifying the Tuscany Eclipse Plugins.</P>
<P>This section shows you how to install the lastest Tuscany Eclipse plugin. The plugin gives you the ability to run an SCA composite file from the Package Explorer. You will see a "Run As Tuscany" menu item when you bring up the context menu on composite files.</P>
<P>Start Eclipse and go to Help -> Software Updates -> Find and Install. Select "Search for new features to install" and then click next</P>
<P>Create a new Remote Site. On the next dialog, click on "New Remote Site..." to create a new site entry. Give it a name such as<BR>
"Tuscany" and add the site URL from the latest <B><A href="sca-java-1x-releases.html" title="SCA Java 1.x Releases">Tuscany release</A></B> (e.g <B><A href="http://www.apache.org/dist/tuscany/java/sca/1.5.1/tuscany-sca-1.5.1-updatesite/" class="external-link" rel="nofollow">http://www.apache.org/dist/tuscany/java/sca/1.5.1/tuscany-sca-1.5.1-updatesite/</A></B>.</P>
<P>Select the "Remote Site" you just created, and click "Finish"</P>
<P>Select the "Apache Tuscany SCA Tools" and click "Next", and then, on the next dialog, click "Finish". Accept the "Plugin License" and next click on "Install All".</P>
<P>When asked to "restart eclipse", click the "yes" button. </P>
<H2><A name="BuildyourfirstWebServiceswithTuscany-CreateyourServiceBusinessLogic"></A>Create your Service Business Logic</H2>
<H2><A name="BuildyourfirstWebServiceswithTuscany-CreateaJavaProject"></A>Create a Java Project</H2>
<P>In this step you create a Java Project in Eclipse to hold the composite service application.<BR>
Click on the <B><EM>New Java Project</EM></B> button <SPAN class="image-wrap" style=""><IMG src="build-your-first-web-services-with-tuscany.data/new_java_project.png" style="border: 0px solid black"></SPAN> in the toolbar to launch the project creation dialog.<BR>
Next you enter "ws" as the <B><EM>Project name</EM></B>, and for <B><EM>Project Layout</EM></B> select <B><EM>Create separate</EM></B><BR>
<B><EM>folders for sources and class files.</EM></B><BR>
<SPAN class="image-wrap" style=""><IMG src="build-your-first-web-services-with-tuscany.data/ws_create_new_java_project_name.JPG" style="border: 0px solid black"></SPAN><BR>
<BR>
<SPAN class="image-wrap" style=""><IMG src="build-your-first-web-services-with-tuscany.data/ws_create_new_java_project_layout.JPG" style="border: 0px solid black"></SPAN><BR>
<BR>
Hit the <B><EM>Next</EM></B> button, and on the following page go to the <B><EM>Libraries</EM></B> tab. Use the <B><EM>Add Library...</EM></B><BR>
button on the right to add the <B>Tuscany Library</B> library to the project.<BR>
<BR>
<SPAN class="image-wrap" style=""><IMG src="build-your-first-web-services-with-tuscany.data/ws_create_new_java_project_tuscany_library.JPG" style="border: 0px solid black"></SPAN><BR>
<BR>
<BR>
Hit the <B><EM>Finish</EM></B> button to complete the <B><EM>New Java Project</EM></B> dialog to create the "ws" java project. <BR>
<BR>
<SPAN class="image-wrap" style=""><IMG src="build-your-first-web-services-with-tuscany.data/ws_new_java_project_structure_1.JPG" style="border: 0px solid black"></SPAN><BR>
<BR>
</P>
<H2><A name="BuildyourfirstWebServiceswithTuscany-ConstructServices"></A>Construct Services</H2>
<P>First you create the "helloworld" package folders into which later in this step you place service implementations.<BR>
Select the "ws" project and click on the <B><EM>New Java Package</EM></B> button <SPAN class="image-wrap" style=""><IMG src="build-your-first-web-services-with-tuscany.data/new_java_pkg_btn.png" style="border: 0px solid black"></SPAN> in the toolbar to launch<BR>
the package creation dialog.</P>
<P>Next you enter "helloworld" as the package <B><EM>Name</EM></B>, and press the <B><EM>Finish</EM></B> button to complete the<BR>
dialog.<BR>
<SPAN class="image-wrap" style=""><IMG src="build-your-first-web-services-with-tuscany.data/ws_new_java_package.JPG" style="border: 0px solid black"></SPAN><BR>
</P>
<H3><A name="BuildyourfirstWebServiceswithTuscany-HelloWorld"></A><EM>HelloWorld</EM></H3>
<P>In this step you create the HelloWorld service interface and implementation.<BR>
Select the "helloworld" package. Next you click on the dropdown arrow next to the <B><EM>New Java Class</EM></B><BR>
button <SPAN class="image-wrap" style=""><IMG src="build-your-first-web-services-with-tuscany.data/class_btn.png" style="border: 0px solid black"></SPAN> and select the <B><EM>New Java Interface</EM></B> <SPAN class="image-wrap" style=""><IMG src="build-your-first-web-services-with-tuscany.data/interface_btn.png" style="border: 0px solid black"></SPAN> option from the dropdown list. In the dialog<BR>
enter "HelloWorld" as the <B><EM>Name</EM></B> of the interface and select the Finish button to complete the dialog.<BR>
The Java editor will open on the new created Java interface. Replace the content of the editor by<BR>
<B><EM>copy-paste</EM></B> of the following Java interface code snippet.</P>
<DIV class="code panel" style="border-width: 1px;"><DIV class="codeContent panelContent">
<PRE class="code-java">
<SPAN class="code-keyword">package</SPAN> helloworld;
<SPAN class="code-keyword">import</SPAN> org.osoa.sca.annotations.Remotable;
@Remotable
<SPAN class="code-keyword">public</SPAN> <SPAN class="code-keyword">interface</SPAN> HelloWorld {
<SPAN class="code-object">String</SPAN> sayHello(<SPAN class="code-object">String</SPAN> name);
}
</PRE>
</DIV></DIV>
<P>Select the "helloworld" package again. Select the <B><EM>New Java Class</EM></B> button <SPAN class="image-wrap" style=""><IMG src="build-your-first-web-services-with-tuscany.data/class_btn.png" style="border: 0px solid black"></SPAN> . In the dialog enter<BR>
"HelloWorldImpl" as the <B><EM>Name</EM></B> of the class, add "Catalog" as the interface this class implements, and<BR>
then select <B><EM>Finish</EM></B> to complete the dialog.</P>
<P>The Java editor will open on the new created Java class. Replace the content of the editor by<BR>
<B><EM>copy-paste</EM></B> of the following Java class code snippet.</P>
<DIV class="code panel" style="border-width: 1px;"><DIV class="codeContent panelContent">
<PRE class="code-java">
<SPAN class="code-keyword">package</SPAN> helloworld;
<SPAN class="code-keyword">public</SPAN> class HelloWorldImpl <SPAN class="code-keyword">implements</SPAN> HelloWorld {
<SPAN class="code-keyword">public</SPAN> <SPAN class="code-object">String</SPAN> sayHello(<SPAN class="code-object">String</SPAN> name) {
<SPAN class="code-keyword">return</SPAN> <SPAN class="code-quote">"Hello "</SPAN> + name;
}
}
</PRE>
</DIV></DIV>
<P>After completing these steps the content of the "ws" project will look as follows.<BR>
<SPAN class="image-wrap" style=""><IMG src="build-your-first-web-services-with-tuscany.data/ws_new_java_project_structure_1.JPG" style="border: 0px solid black"></SPAN><BR>
</P>
<H2><A name="BuildyourfirstWebServiceswithTuscany-ComposeServices"></A>Compose Services</H2>
<P>Now that you have all the required service implementations you compose them together to provide<BR>
the helloworld composite service. The composition is stored in a .composite file.</P>
<P>Select the "src" folder of the "ws" project. <B><EM>Right click</EM></B> to get the context menu, select <B><EM>New</EM></B>, and<BR>
then <B><EM>File</EM></B>. In the <B><EM>New File</EM></B> dialog enter "helloworld.composite" for the <B><EM>File name</EM></B>, and then select <B><EM>Finish</EM></B><BR>
to complete the dialog.</P>
<P>The Text editor will open on the new created composite file. Replace the content of the editor by<BR>
<B><EM>copy-paste</EM></B> of the following composite snippet.</P>
<DIV class="code panel" style="border-width: 1px;"><DIV class="codeContent panelContent">
<PRE class="code-java">
<?xml version=<SPAN class="code-quote">"1.0"</SPAN> encoding=<SPAN class="code-quote">"UTF-8"</SPAN>?>
<composite xmlns=<SPAN class="code-quote">"http:<SPAN class="code-comment">//www.osoa.org/xmlns/sca/1.0"</SPAN>
</SPAN> xmlns:t=<SPAN class="code-quote">"http:<SPAN class="code-comment">//tuscany.apache.org/xmlns/sca/1.0"</SPAN>
</SPAN> xmlns:c=<SPAN class="code-quote">"http:<SPAN class="code-comment">//helloworld"</SPAN>
</SPAN> targetNamespace=<SPAN class="code-quote">"http:<SPAN class="code-comment">//helloworld"</SPAN>
</SPAN> name=<SPAN class="code-quote">"helloworld"</SPAN>>
<component name=<SPAN class="code-quote">"HelloWorldComponent"</SPAN>>
<implementation.java class=<SPAN class="code-quote">"helloworld.HelloWorldImpl"</SPAN>/>
<service name=<SPAN class="code-quote">"HelloWorld"</SPAN>>
<binding.ws uri=<SPAN class="code-quote">"http:<SPAN class="code-comment">//localhost:8080/HelloWorld"</SPAN>/>
</SPAN> </service>
</component>
</composite>
</PRE>
</DIV></DIV>
<P>After completing these steps the content of the "ws" project will look as follows.</P>
<P><SPAN class="image-wrap" style=""><IMG src="build-your-first-web-services-with-tuscany.data/ws_new_java_project_structure_3.JPG" style="border: 0px solid black"></SPAN><BR>
</P>
<P>Congratulations you completed your 1st composite service applications, now its time to take it into<BR>
action.</P>
<H2><A name="BuildyourfirstWebServiceswithTuscany-UseServices"></A>Use Services</H2>
<P>In this step you launch and use the ws composite service application you created.</P>
<P>First select the "helloworld.composite" file, in your "ws" project. <B><EM>Right click</EM></B> to get the<BR>
context menu, select <B><EM>Run As</EM></B>, and then <B><EM>Tuscany</EM></B>. The Tuscany runtime will start up adding<BR>
the helloworld composition to its domain and will make the helloworld web service live.</P>
<P>The Eclipse console will show the following messages.</P>
<P> <SPAN class="image-wrap" style=""><IMG src="build-your-first-web-services-with-tuscany.data/ws_new_project_console_output.PNG" style="border: 0px solid black"></SPAN></P>
<P> Next Launch your Web browser and enter the following address:</P>
<P><A href="http://localhost:8080/HelloWorld?wsdl" class="external-link" rel="nofollow">http://localhost:8080/HelloWorld?wsdl</A> </P>
<P>You should now have your web service live, and the url should give you back a generated wsdl for the service.</P>
<DIV class="code panel" style="border-width: 1px;"><DIV class="codeContent panelContent">
<PRE class="code-java">
<?xml version=<SPAN class="code-quote">"1.0"</SPAN> encoding=<SPAN class="code-quote">"UTF-8"</SPAN>?>
<wsdl:definitions targetNamespace=<SPAN class="code-quote">"http:<SPAN class="code-comment">//helloworld"</SPAN> xmlns:soap12=<SPAN class="code-quote">"http://schemas.xmlsoap.org/wsdl/soap12/"</SPAN> xmlns:ns0=<SPAN class="code-quote">"http://helloworld"</SPAN> xmlns:mime=<SPAN class="code-quote">"http://schemas.xmlsoap.org/wsdl/mime/"</SPAN> xmlns:http=<SPAN class="code-quote">"http://schemas.xmlsoap.org/wsdl/http/"</SPAN> xmlns:ns1=<SPAN class="code-quote">"http://org.apache.axis2/xsd"</SPAN> xmlns:wsaw=<SPAN class="code-quote">"http://www.w3.org/2006/05/addressing/wsdl"</SPAN> xmlns:xs=<SPAN class="code-quote">"http://www.w3.org/2001/XMLSchema"</SPAN> xmlns:soap=<SPAN class="code-quote">"http://schemas.xmlsoap.org/wsdl/soap/"</SPAN> xmlns:wsdl=<SPAN class="code-quote">"http://schemas.xmlsoap.org/wsdl/"</SPAN>>
</SPAN> <wsdl:types>
<xs:schema attributeFormDefault=<SPAN class="code-quote">"qualified"</SPAN> elementFormDefault=<SPAN class="code-quote">"qualified"</SPAN> targetNamespace=<SPAN class="code-quote">"http:<SPAN class="code-comment">//helloworld"</SPAN> xmlns:ns=<SPAN class="code-quote">"http://helloworld"</SPAN>>
</SPAN> <xs:element name=<SPAN class="code-quote">"sayHello"</SPAN>>
<xs:complexType>
<xs:sequence>
<xs:element minOccurs=<SPAN class="code-quote">"0"</SPAN> name=<SPAN class="code-quote">"param0"</SPAN> nillable=<SPAN class="code-quote">"<SPAN class="code-keyword">true</SPAN>"</SPAN> type=<SPAN class="code-quote">"xs:string"</SPAN>/>
</xs:sequence>
</xs:complexType>
</xs:element>
<xs:element name=<SPAN class="code-quote">"sayHelloResponse"</SPAN>>
<xs:complexType>
<xs:sequence>
<xs:element minOccurs=<SPAN class="code-quote">"0"</SPAN> name=<SPAN class="code-quote">"<SPAN class="code-keyword">return</SPAN>"</SPAN> nillable=<SPAN class="code-quote">"<SPAN class="code-keyword">true</SPAN>"</SPAN> type=<SPAN class="code-quote">"xs:string"</SPAN>/>
</xs:sequence>
</xs:complexType>
</xs:element>
</xs:schema>
</wsdl:types>
<wsdl:message name=<SPAN class="code-quote">"sayHelloRequest"</SPAN>>
<wsdl:part name=<SPAN class="code-quote">"parameters"</SPAN> element=<SPAN class="code-quote">"ns0:sayHello"</SPAN>>
</wsdl:part>
</wsdl:message>
<wsdl:message name=<SPAN class="code-quote">"sayHelloResponse"</SPAN>>
<wsdl:part name=<SPAN class="code-quote">"parameters"</SPAN> element=<SPAN class="code-quote">"ns0:sayHelloResponse"</SPAN>>
</wsdl:part>
</wsdl:message>
<wsdl:portType name=<SPAN class="code-quote">"HelloWorldPortType"</SPAN>>
<wsdl:operation name=<SPAN class="code-quote">"sayHello"</SPAN>>
<wsdl:input message=<SPAN class="code-quote">"ns0:sayHelloRequest"</SPAN> wsaw:Action=<SPAN class="code-quote">"urn:sayHello"</SPAN>>
</wsdl:input>
<wsdl:output message=<SPAN class="code-quote">"ns0:sayHelloResponse"</SPAN> wsaw:Action=<SPAN class="code-quote">"urn:sayHelloResponse"</SPAN>>
</wsdl:output>
</wsdl:operation>
</wsdl:portType>
<wsdl:binding name=<SPAN class="code-quote">"HelloWorldHttpBinding"</SPAN> type=<SPAN class="code-quote">"ns0:HelloWorldPortType"</SPAN>>
<http:binding verb=<SPAN class="code-quote">"POST"</SPAN>/>
<wsdl:operation name=<SPAN class="code-quote">"sayHello"</SPAN>>
<http:operation location=<SPAN class="code-quote">"HelloWorld/sayHello"</SPAN>/>
<wsdl:input>
<mime:content part=<SPAN class="code-quote">"sayHello"</SPAN> type=<SPAN class="code-quote">"text/xml"</SPAN>/>
</wsdl:input>
<wsdl:output>
<mime:content part=<SPAN class="code-quote">"sayHello"</SPAN> type=<SPAN class="code-quote">"text/xml"</SPAN>/>
</wsdl:output>
</wsdl:operation>
</wsdl:binding>
<wsdl:binding name=<SPAN class="code-quote">"HelloWorldSOAP11Binding"</SPAN> type=<SPAN class="code-quote">"ns0:HelloWorldPortType"</SPAN>>
<soap:binding style=<SPAN class="code-quote">"document"</SPAN> transport=<SPAN class="code-quote">"http:<SPAN class="code-comment">//schemas.xmlsoap.org/soap/http"</SPAN>/>
</SPAN> <wsdl:operation name=<SPAN class="code-quote">"sayHello"</SPAN>>
<soap:operation soapAction=<SPAN class="code-quote">"urn:sayHello"</SPAN> style=<SPAN class="code-quote">"document"</SPAN>/>
<wsdl:input>
<soap:body use=<SPAN class="code-quote">"literal"</SPAN>/>
</wsdl:input>
<wsdl:output>
<soap:body use=<SPAN class="code-quote">"literal"</SPAN>/>
</wsdl:output>
</wsdl:operation>
</wsdl:binding>
<wsdl:service name=<SPAN class="code-quote">"HelloWorld"</SPAN>>
<wsdl:port name=<SPAN class="code-quote">"HelloWorldSOAP11port_http"</SPAN> binding=<SPAN class="code-quote">"ns0:HelloWorldSOAP11Binding"</SPAN>>
<soap:address location=<SPAN class="code-quote">"http:<SPAN class="code-comment">//192.168.209.1:8080/HelloWorld"</SPAN>/>
</SPAN> </wsdl:port>
<wsdl:port name=<SPAN class="code-quote">"HelloWorldHttpport"</SPAN> binding=<SPAN class="code-quote">"ns0:HelloWorldHttpBinding"</SPAN>>
<http:address location=<SPAN class="code-quote">"http:<SPAN class="code-comment">//192.168.209.1:8080/HelloWorld"</SPAN>/>
</SPAN> </wsdl:port>
</wsdl:service>
</wsdl:definitions>
</PRE>
</DIV></DIV>
<P>You are finished. You have created the HelloWorld web service using Apache Tuscany.</P>
</DIV>
</DIV>
</DIV>
<!-- pageContent macro end -->
</TD>
</TR>
</TABLE>
<!-- footer macro -->
<SCRIPT src="http://www.google-analytics.com/urchin.js" type="text/javascript">
</SCRIPT>
<SCRIPT type="text/javascript">
_uacct = "UA-1174707-5";
urchinTracker();
</SCRIPT>
<A href="http://www.statcounter.com/" target="_blank"><IMG src="http://c26.statcounter.com/counter.php?sc_project=2619156&java=0&security=94bd7e7d&invisible=0" alt="website stats" border="0"></A>
<DIV class="footer">
Copyright � 2003-2012, The Apache Software Foundation </BR>
Apache Tuscany and the Apache Tuscany project logo are trademarks of The Apache Software Foundation.
</DIV>
<!-- footer macro end -->
</BODY>
</HTML>
|