<!--Arbortext, Inc., 1988-2007, v.4002-->
<!DOCTYPE REFENTRY PUBLIC "-//Sun Microsystems//DTD SolBook 3.5//EN" [
<!ENTITY options-common SYSTEM "options-common.sgm">
<!ENTITY synopsis-common SYSTEM "synopsis-common.sgm">
<!ENTITY % commonents SYSTEM "common.ent">
%commonents;
]>
<!--Arbortext, Inc., 1988-2007, v.4002-->
<?Pub UDT _bookmark _target>
<?Pub EntList bull rArr sect>
<?Pub Inc>
<refentry id="publish-to-registry-1">
<!-- @(#)publish-to-registry.1 1.10 07/07/25 SMI; -->
<refmeta><refentrytitle>publish-to-registry</refentrytitle><manvolnum>1</manvolnum>
<refmiscinfo class="date">25 Jul 2007</refmiscinfo>
<refmiscinfo class="sectdesc">&man1;</refmiscinfo>
<refmiscinfo class="software">&software;</refmiscinfo>
<refmiscinfo class="arch">generic</refmiscinfo>
<refmiscinfo class="copyright">Copyright (c) 2007, Sun Microsystems, Inc.
All Rights Reserved</refmiscinfo>
</refmeta>
<refnamediv><indexterm><primary>publishes the web service artifacts to registries.
</primary></indexterm><indexterm><primary>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></title>
<synopsis><command>publish-to-registry</command>  <option role="double-dash">registryjndinames
</option><replaceable> registrynames_list</replaceable> 
 <option role="double-dash">webservicename</option> <replaceable>qualified_webservice_name
</replaceable>
 &synopsis-common;<option role="double-dash">lbhost</option> <replaceable>loadbalancer_host
</replaceable><option role="double-dash">lbport</option> <replaceable>lb_port</replaceable><option
role="double-dash">lbsslport</option> <replaceable>loadbalancer_secure_port</replaceable><option
role="double-dash">organization</option> <replaceable>organization_name</replaceable> <option
role="double-dash">categories</option> <replaceable>categories_list</replaceable>
 <option role="double-dash">description</option><replaceable>description</replaceable></synopsis>
</refsynopsisdiv>
<refsect1 role="description"><title></title>
<para>Publishes the web service artifacts to registries. </para>
</refsect1>
<refsect1 role="options"><title></title>
<variablelist termlength="medium">
<varlistentry><term><option role="double-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="double-dash">webservicename</option></term>
<listitem><para>fully qualified web service, which is of the format: appName#moduleName#webserviceName
</para>
</listitem>
</varlistentry>&options-common;
<varlistentry><term><option role="double-dash">lbhost</option></term>
<listitem><para>Specifies the load balancer host.</para>
</listitem>
</varlistentry>
<varlistentry><term><option role="double-dash">lbport</option></term>
<listitem><para>Specifies the load balancer port.</para>
</listitem>
</varlistentry>
<varlistentry><term><option role="double-dash">lbsslport</option></term>
<listitem><para>Specifies the load balancer secure port.</para>
</listitem>
</varlistentry>
<varlistentry><term><option role="double-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="double-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="double-dash">description</option></term>
<listitem><para>description of the web service endpoint. </para>
</listitem>
</varlistentry>
</variablelist>
</refsect1>
<refsect1 role="examples"><title></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 role="exit-status"><title></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 role="see-also"><title></title>
<para><olink targetdoc="asrefman" targetptr="unpublish-from-registry-1">unpublish-from-registry(1)</olink>, <olink targetdoc="asrefman" targetptr="list-registry-locations-1">list-registry-locations(1)</olink></para>
</refsect1>
</refentry>
<?Pub *0000005629 0>
