| <?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 http-equiv="Content-Type" content="text/html; charset=utf-8" /> |
| <!-- /******************************************************************************* |
| * Copyright (c) 2000, 2005 IBM Corporation and others. |
| * All rights reserved. This program and the accompanying materials |
| * are made available under the terms of the Eclipse Public License v1.0 |
| * which accompanies this distribution, and is available at |
| * http://www.eclipse.org/legal/epl-v10.html |
| * |
| * Contributors: |
| * IBM Corporation - initial API and implementation |
| *******************************************************************************/ --> |
| <link rel="stylesheet" type="text/css" href="../../org.eclipse.wst.doc.user/common.css" /> |
| <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> |
| <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 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 Navigator pane, select the business |
| entity for which you want to publish the business service.</span></li> |
| <li><span>In the Actions pane toolbar, click the <strong>Publish Service</strong> icon |
| <img src="../images/pubserv.gif" alt="Picture of the Publish Service icon." />.</span></li> |
| <li><span>Select the <strong>Simple</strong> radio button.</span></li> |
| <li><span>Enter the publish URL, your user ID, password, WSDL URL, business |
| name, and business 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> |
| <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 Navigator pane, select the business |
| entity for which you want to publish the business service.</span></li> |
| <li><span>In the Actions pane toolbar, click the <strong>Publish Service</strong> icon |
| <img src="../images/pubserv.gif" alt="Picture of the Publish Service icon." />.</span></li> |
| <li><span>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 business service names.</span></li> |
| <li><span>Click <strong>Add</strong> to create business service descriptions.</span></li> |
| <li><span>Click <strong>Add</strong> to create categories. Enter your business 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> |
| <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> |