Skip to main content
summaryrefslogtreecommitdiffstats
blob: 03b8889b0ee4fe97aa66971b682d59b4673126f5 (plain) (blame)
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
<?xml version="1.0" encoding="UTF-8"?><!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html lang="en-us" xml:lang="en-us">
<head>
<meta content="text/html; charset=utf-8" http-equiv="Content-Type" />
<meta name="copyright" content="Copyright (c) 2000, 2009 IBM Corporation and others. All rights reserved. This program and the accompanying materials are made available under the terms of the Eclipse Public License v2.0 which accompanies this distribution, and is available at https://www.eclipse.org/legal/epl-2.0/. Contributors: IBM Corporation - initial API and implementation" />
<meta name="DC.rights.owner" content="(C) Copyright 2000, 2009" />
<meta content="public" name="security" />
<meta content="index,follow" name="Robots" />
<meta http-equiv="PICS-Label" content='(PICS-1.1 "http://www.icra.org/ratingsv02.html" l gen true r (cz 1 lz 1 nz 1 oz 1 vz 1) "http://www.rsac.org/ratingsv01.html" l gen true r (n 0 s 0 v 0 l 0) "http://www.classify.org/safesurf/" l gen true r (SS~~000 1))' />
<meta content="task" name="DC.Type" />
<meta name="DC.Title" content="Publishing a Web service" />
<meta name="abstract" content="The Web service, also known as the business service, describes a Web service's endpoint and where its WSDL file resides. The WSDL file lists the operations that service provides." />
<meta name="description" content="The Web service, also known as the business service, describes a Web service's endpoint and where its WSDL file resides. The WSDL file lists the operations that service provides." />
<meta content="UDDI, publishing a Web service, Web services, publishing, UDDI registry" name="DC.subject" />
<meta content="UDDI, publishing a Web service, Web services, publishing, UDDI registry" name="keywords" />
<meta content="XHTML" name="DC.Format" />
<meta content="tpublish" name="DC.Identifier" />
<meta content="en-us" name="DC.Language" />
<link href="../../org.eclipse.wst.doc.user/common.css" type="text/css" rel="stylesheet" />
<title>Publishing a Web service</title>
</head>
<body id="tpublish"><a name="tpublish"><!-- --></a>


<h1 class="topictitle1">Publishing a Web service</h1>




<div><p>The Web service, also known as the business service, describes
a Web service's endpoint and where its WSDL file resides. The WSDL
file lists the operations that service provides.</p>

<div class="p">Prerequisites:<ol>
<li> <a href="treg.html">Register with a registry</a>.</li>

<li> <a href="tstrtexp.html">Launch the Web Services Explorer</a>.</li>

<li> <a href="taddreg.html">Add the registry to the Web Services Explorer</a>.</li>

<li>Create a Web service.</li>

<li>Deploy the Web service.</li>

<li> <a href="tpubent.html">Publish a Business Entity</a>.</li>

</ol>
</div>

<div class="section"><p>You can publish a business service using two different
publication formats: simple and advanced.</p>
</div>

</div>

<div class="nested1" xml:lang="en-us" id="d0e74"><a name="d0e74"><!-- --></a>
<h2 class="topictitle2">Publish a business service using the simple option</h2>

<div>
<div class="section"><p>To publish a Web service using the simple option:</p>
</div>

<ol>
<li><span>In the Web Services Explorer, select UDDI Main and select
the registry to which you want to publish the business entity.</span>
</li>

<li><span>In the Actions pane toolbar, click the  <strong>Publish</strong> icon
 <img src="../images/publish2.gif" alt="Picture of the Publish  icon." />.</span></li>

<li><span>Select <span class="uicontrol">Service</span> and select the <strong>Simple</strong> radio
button.</span></li>

<li><span>Enter the publish URL, your user ID, password, WSDL URL,
service name, and service description in the respective fields.</span>
</li>

<li><span>Click  <strong>Go</strong> to publish your business entity.</span>
</li>

</ol>

<div class="section"><p> <strong>Important:</strong> Ensure that you select the service document,
since the service element is the basis for the Business Service that
you will publish. You cannot publish a Business Service using a WSDL
document that does not have service elements.</p>
<p>The Web Services
Explorer is automatically updated with your published Web service.
The registry contains pointers to the URL of the WSDL service document
of the Web service. Businesses can now discover and integrate with
your Web service.</p>
</div>

</div>

<div>
<ul class="ullinks">
<li class="ulchildlink"><strong><a href="../ref/ruddi.html">Data structure types (UDDI registry)</a></strong><br />
Once you have registered and logged in to the UDDI registry that you want to use, you can register your Web service. Registration of a service involves four core data structure types: business information, service information, binding information, and information describing the specifications for services. The relationship between these data types is described in Figure 1.</li>
</ul>

<div class="familylinks">
<div class="parentlink"><strong>Parent topic:</strong> <a href="../tasks/tuddiexp.html" title="Through UDDI and WSIL, other applications can discover WSDL documents and bind with them to execute transactions or perform other business processes.">Publishing Web services and business entities</a></div>
</div>
</div>
</div>

<div class="nested1" xml:lang="en-us" id="d0e113"><a name="d0e113"><!-- --></a>
<h2 class="topictitle2">Publish a business service using the advanced option</h2>

<div>
<div class="section"><p>To publish a Web service using the advanced option:</p>
</div>

<ol>
<li><span>In the Web Services Explorer, select UDDI Main and select
the registry to which you want to publish the business entity.</span>
</li>

<li><span>In the Actions pane toolbar, click the  <strong>Publish</strong> icon
 <img src="../images/publish2.gif" alt="Picture of the Publish  icon." />.</span></li>

<li><span>Select <span class="uicontrol">Service</span> and select the <strong>Advanced</strong> radio
button.</span></li>

<li><span>Enter the publish URL, your user ID, password, and WSDL
URL in the respective fields.</span></li>

<li><span>Click  <strong>Get</strong> or <span class="uicontrol">Find</span> to associate
the service with a business entity.</span></li>

<li><span>Click  <strong>Get</strong> or <span class="uicontrol">Find</span> to associate
a specific service interface with the service.</span></li>

<li><span>Click  <strong>Add</strong> to create service names.</span></li>

<li><span>Click  <strong>Add</strong> to create service descriptions.</span>
</li>

<li><span>Click  <strong>Add</strong> to create categories. Enter your service
categories. Select a category type from the drop down list. Click
 <strong>Browse</strong> to open the Categories pane.  Navigate through
the hierarchical taxonomy and select the appropriate classification
for your business service, then exit the Categories pane.</span></li>

<li><span>Click  <strong>Go</strong> to publish your business entity.</span>
</li>

</ol>

<div class="section"><p> <strong>Important:</strong> Ensure that you select the service document,
since the service element is the basis for the Business Service that
you will publish. You cannot publish a Business Service using a WSDL
document that does not have service elements.</p>
<p>The Web Services
Explorer is automatically updated with your published Web service.
The registry contains pointers to the URL of the WSDL service document
of the Web service. Businesses can now discover and integrate with
your Web service.</p>
</div>

</div>

<div>
<ul class="ullinks">
<li class="ulchildlink"><strong><a href="../ref/ruddi.html">Data structure types (UDDI registry)</a></strong><br />
Once you have registered and logged in to the UDDI registry that you want to use, you can register your Web service. Registration of a service involves four core data structure types: business information, service information, binding information, and information describing the specifications for services. The relationship between these data types is described in Figure 1.</li>
</ul>

<div class="familylinks">
<div class="parentlink"><strong>Parent topic:</strong> <a href="../tasks/tuddiexp.html" title="Through UDDI and WSIL, other applications can discover WSDL documents and bind with them to execute transactions or perform other business processes.">Publishing Web services and business entities</a></div>
</div>

<div class="linklist"><strong>Related Concepts</strong><br />

<div><a href="../../org.eclipse.jst.ws.doc.user/concepts/cwsinwsa.html"> Tools for Web services development</a></div>
<div><a href="../../org.eclipse.jst.ws.doc.user/concepts/cws.html">Web services development</a></div>
<div><a href="../concepts/cuddi.html" title="Universal Description, Discovery, and Integration (UDDI) specification defines a way to publish and discover information about Web services.">Universal Description, Discovery, and Integration (UDDI)</a></div></div>

<div class="linklist"><strong>Related Tasks</strong><br />

<div><a href="tuddiexp.html" title="Through UDDI and WSIL, other applications can discover WSDL documents and bind with them to execute transactions or perform other business processes.">Publishing Web services and business entities</a></div>
<div><a href="tstrtexp.html" title="The Web services tools allows you to launch the Web Services Explorer in several ways.">Launching the Web Services Explorer</a></div>
<div><a href="treg.html" title="In order to publish your business entity and Web service to a UDDI registry, you must first register with the registry that you want to use.">Registering with a UDDI registry</a></div></div>

<div class="linklist"><strong>Related Reference</strong><br />

<div><a href="../ref/ruddi.html" title="Once you have registered and logged in to the UDDI registry that you want to use, you can register your Web service. Registration of a service involves four core data structure types: business information, service information, binding information, and information describing the specifications for services. The relationship between these data types is described in Figure 1.">Data structure types (UDDI registry)</a></div></div>
</div>
</div>


</body>
</html>

Back to the top