<!DOCTYPE REFENTRY PUBLIC "-//Sun Microsystems//DTD DocBook V3.0-Based SolBook Subset V2.0//EN" [
<!--ArborText, Inc., 1988-1999, v.4002-->
<!ENTITY metainfo SYSTEM "metainfo.sgm">
<!ENTITY options-common SYSTEM "options-common.sgm">
<!ENTITY synopsis-common SYSTEM "synopsis-common.sgm">
<!ENTITY % commonents SYSTEM "smancommon.ent">
%commonents;
<!ENTITY % booktitles SYSTEM "booktitles.ent">
%booktitles;
<!ENTITY Dash "&ndash;">
]>
<?Pub UDT _bookmark _target>
<?Pub Inc>
<refentry id="publish-to-registry-1">
<refmeta><refentrytitle>publish-to-registry</refentrytitle><manvolnum>1</manvolnum>&metainfo;
<?Pub Caret></refmeta>
<refnamediv><indexterm><primary sortas="publish-to-registry">publishes the
web service artifacts to registries.</primary></indexterm><indexterm><primary
sortas="publishes the web service artifacts to registries">publishes the web
service artifacts to registries.</primary></indexterm><refname>publist-to-registry
</refname><refpurpose> publishes all the web service artifacts to registries.
</refpurpose></refnamediv>
<refsynopsisdiv><title>&synp-tt;</title>
<cmdsynopsis><command>publish-to-registry</command><arg choice="plain">&Dash;&Dash;registryjndinames<replaceable>
 registrynames_list</replaceable> </arg><arg choice="plain">&Dash;&Dash;webservicename <replaceable>
qualified_webservice_name</replaceable></arg><arg choice="plain">&Dash;&Dash;organization <replaceable>
organization_name</replaceable></arg><arg choice="plain">&Dash;&Dash;categories <replaceable>
categories_list</replaceable></arg><arg choice="plain">&Dash;&Dash;description<replaceable>
description</replaceable></arg>
</cmdsynopsis></refsynopsisdiv>
<refsect1><title>&desc-tt;</title>
<para>Publishes the web service artifacts to registries. </para>
</refsect1>
<refsect1><title>OPTIONS</title>
<variablelist termlength="medium">
<varlistentry><term><option role="nodash">&Dash;&Dash;registryjndinames</option></term>
<listitem><para>JNDI names of the connector resource pointing to different
registries. Use comma to separate the JNDI names. The JNDI names are created
as a result of the following three commands:</para>
<orderedlist>
<listitem><para>Create a resource adapter that can talk to the registry (Use
the jaxr resource adapter that can talk to the UDDI registry) </para>
</listitem>
<listitem><para>Create a connector connection pool to create a pool using
the resource adapter</para>
</listitem>
<listitem><para>Create a connector resource using this connection pool. The
jndiname of this connector resource is specified in the registryjndinames
parameter</para>
</listitem>
</orderedlist>
</listitem></varlistentry>
<varlistentry><term><option role="nodash">&Dash;&Dash;webservicename</option></term>
<listitem><para>fully qualified web service, which is of the format: appName#moduleName#webserviceName
</para>
</listitem></varlistentry>
<varlistentry><term><option role="nodash">&Dash;&Dash;organization</option></term>
<listitem><para>the "Organization" under which the particular webservice should
be published. Typically in tegistries, documents are published for a particular
organization. A user can go and search the organization and look at all the
services that the organization offers.</para>
</listitem></varlistentry>
<varlistentry><term><option role="nodash">&Dash;&Dash;categories</option></term>
<listitem><para>categories under which this web service endpoint should be
published. Use comma to separate each category. </para>
</listitem></varlistentry>
<varlistentry><term><option role="nodash">&Dash;&Dash;description</option></term>
<listitem><para>description of the web service endpoint. </para>
</listitem></varlistentry>
</variablelist></refsect1>
<refsect1><title>&exam-tt;</title>
<example>
<title>To publish a WSDL to a registry</title>
<screen>asadmin><userinput>publish-to-registry --registryjndiname eis/SOAR, eis/uddi --webservicename myAppname#myModulename#myWebservice
</userinput>

</screen>
</example>
</refsect1>
<refsect1><title>EXIT STATUS</title>
<variablelist termlength="medium">
<varlistentry><term>0</term><listitem><para>command executed successfully
</para>
</listitem></varlistentry>
<varlistentry><term>1</term><listitem><para>error in executing the command
</para>
</listitem></varlistentry>
</variablelist></refsect1>
<refsect1><title>&also-tt;</title>
<para><link linkend="unpublish-from-registry-1"><citerefentry><refentrytitle>
unpublish-from-registry</refentrytitle><manvolnum>1</manvolnum></citerefentry></link>, <link
linkend="list-registry-locations-1"><citerefentry><refentrytitle>list-registry-locations
</refentrytitle><manvolnum>1</manvolnum></citerefentry></link></para>
</refsect1>
</refentry>
<?Pub *0000004698>
