[jboss-cvs] JBossAS SVN: r89159 - projects/docs/enterprise/4.3.3/Server_Configuration_Guide/pt-BR.

jboss-cvs-commits at lists.jboss.org jboss-cvs-commits at lists.jboss.org
Wed May 20 02:28:59 EDT 2009


Author: ldelima at redhat.com
Date: 2009-05-20 02:28:59 -0400 (Wed, 20 May 2009)
New Revision: 89159

Modified:
   projects/docs/enterprise/4.3.3/Server_Configuration_Guide/pt-BR/Web_Services.po
Log:
translation ongoing

Modified: projects/docs/enterprise/4.3.3/Server_Configuration_Guide/pt-BR/Web_Services.po
===================================================================
--- projects/docs/enterprise/4.3.3/Server_Configuration_Guide/pt-BR/Web_Services.po	2009-05-20 06:21:26 UTC (rev 89158)
+++ projects/docs/enterprise/4.3.3/Server_Configuration_Guide/pt-BR/Web_Services.po	2009-05-20 06:28:59 UTC (rev 89159)
@@ -9,7 +9,7 @@
 "Project-Id-Version: Web_Services\n"
 "Report-Msgid-Bugs-To: http://bugs.kde.org\n"
 "POT-Creation-Date: 2009-01-20 02:37+0000\n"
-"PO-Revision-Date: 2009-05-19 14:27+1000\n"
+"PO-Revision-Date: 2009-05-20 16:20+1000\n"
 "Last-Translator: Leticia de Lima <ldelima at redhat.com>\n"
 "Language-Team: Brazilian Portuguese <en at li.org>\n"
 "MIME-Version: 1.0\n"
@@ -151,7 +151,7 @@
 "abstract contract (i.e. wsdl+schema) nor at the SOAP message level is a bare "
 "endpoint recognizable. A bare endpoint or client uses a Java bean that "
 "represents the entire document payload."
-msgstr ""
+msgstr "Bare é um detalhe da implementação do domínio Java. Nem o contrato abstrato (ex.: wsdl+schema) ou o nível de mensagem SOAP é um ponto final bare reconhecido. O ponto final bare ou cliente usa um bean de Java que representa a carga de todo o documento."
 
 #. Tag: programlisting
 #: Web_Services.xml:27
@@ -185,7 +185,7 @@
 msgid ""
 "The trick is that the Java beans representing the payload contain JAXB "
 "annotations that define how the payload is represented on the wire."
-msgstr ""
+msgstr "O segredo é que os Java beans representa a carga contendo as anotações JAXB que definem como a carga é representada no cabo. "
 
 #. Tag: programlisting
 #: Web_Services.xml:31
@@ -221,7 +221,7 @@
 #: Web_Services.xml:36
 #, no-c-format
 msgid "Document/Literal (Wrapped)"
-msgstr ""
+msgstr "Documento/Literal (Wrapped)"
 
 #. Tag: para
 #: Web_Services.xml:37
@@ -248,12 +248,26 @@
 "annotations are not required, they will be generated on demand using "
 "sensible defaults."
 msgstr ""
+"Wrapped é um detalhe da implementação de domínio Java. Nem o contrato abstrato (ex.: wsdl+schema) ou o nível de mensagem SOAP ié um ponto final wrapped reconhecível. O ponto final wrapped ou cliente usa as propriedades da carga de documento individual. Wrapped é o padrão e não precisa ser uma declaração explícita. <programlisting>\n"
+"\n"
+"@WebService\n"
+"public class DocWrappedServiceImpl\n"
+"        {\n"
+"        @WebMethod\n"
+"        @RequestWrapper (className=\"org.somepackage.SubmitPO\")\n"
+"        @ResponseWrapper (className=\"org.somepackage.SubmitPOResponse\")\n"
+"        public String submitPO(String product, int quantity)\n"
+"        {\n"
+"        ...\n"
+"        }\n"
+"        }\n"
+"</programlisting> Perceba, que com o JBossWS as anotações wrapper de solicitação/resposta não são solicitadas. Elas serão geradas com a necessidade usando padrões sensíveis."
 
 #. Tag: title
 #: Web_Services.xml:45
 #, no-c-format
 msgid "RPC/Literal"
-msgstr ""
+msgstr "RPC/Literal"
 
 #. Tag: para
 #: Web_Services.xml:46
@@ -267,6 +281,9 @@
 "para> </listitem> </itemizedlist> RPC is defined by the style attribute on "
 "the SOAP binding."
 msgstr ""
+"Existe um elemento wrapper com o RPC que nomeia a operação de ponto-final. Os elementos Child do RPC parent são parâmetros individuais. O corpo SOAP é construído baseando-se em algumas regras simples: <itemizedlist> <listitem> <para> O nome da operação de tipo do portal define o nome do método do ponto final de </para> </"
+"listitem> <listitem> <para> Message parts are endpoint method parameters </"
+"para> </listitem> </itemizedlist> O RPC é definido pelo atributo de estilo no SOAP binding."
 
 #. Tag: programlisting
 #: Web_Services.xml:60
@@ -347,12 +364,46 @@
 "defined using the JAX-WS Annotations#javax.jws.WebParam and JAX-WS "
 "Annotations#javax.jws.WebResult respectively."
 msgstr ""
+"Com os serviços da web de estilo rpc, o portType nomeia a operação (ex.: o método jaba no ponto final) <programlisting>\n"
+" &lt;portType name=&#39;EndpointInterface&#39;&gt;\n"
+"                 &lt;operation name=&#39;echo&#39; parameterOrder=&#39;"
+"String_1&#39;&gt;\n"
+"                 &lt;input message=&#39;tns:EndpointInterface_echo&#39;/"
+"&gt;\n"
+"                         &lt;output message=&#39;tns:"
+"EndpointInterface_echoResponse&#39;/&gt;\n"
+"                 &lt;/operation&gt;\n"
+" &lt;/portType&gt; \n"
+"</programlisting> Operation parameters are defined by individual message "
+"parts. <programlisting>\n"
+" &lt;message name=&#39;EndpointInterface_echo&#39;&gt;\n"
+"         &lt;part name=&#39;String_1&#39; type=&#39;xsd:string&#39;/&gt;\n"
+" &lt;/message&gt;\n"
+" &lt;message name=&#39;EndpointInterface_echoResponse&#39;&gt;\n"
+"         &lt;part name=&#39;result&#39; type=&#39;xsd:string&#39;/&gt;\n"
+" &lt;/message&gt;\n"
+"</programlisting> Note, there is no complex type in XML schema that could "
+"validate the entire SOAP message payload. <programlisting>\n"
+"\n"
+" @WebService\n"
+" @SOAPBinding(style = SOAPBinding.Style.RPC)\n"
+" public class JSEBean01\n"
+" {\n"
+" @WebMethod\n"
+" @WebResult(name=\"result\")\n"
+" public String echo(@WebParam(name=\"String_1\") String input)\n"
+" {\n"
+" ...\n"
+" }\n"
+"} \n"
+"</programlisting> Os nomes do elemento dos valores retorno/parâmetros podem ser definidos usando o JAX-WS Annotations#javax.jws.WebParam e JAX-WS "
+"Annotations#javax.jws.WebResult respectivamente."
 
 #. Tag: title
 #: Web_Services.xml:72
 #, no-c-format
 msgid "RPC/Encoded"
-msgstr ""
+msgstr "RPC/Codificado "
 
 #. Tag: para
 #: Web_Services.xml:73
@@ -370,24 +421,30 @@
 "interop scenarios with SOAP stacks that do not support literal encoding. "
 "Specifically, JBossWS does not support:-"
 msgstr ""
+"O estilo codificado é definido pela especificação <ulink url=\"http://www.w3."
+"org/TR/2000/NOTE-SOAP-20000508/#_Toc478383512\">chapter 5</ulink> of the "
+"<ulink url=\"http://www.w3.org/TR/2000/NOTE-SOAP-20000508/\">SOAP-1.1</"
+"ulink>. Ele possui os problemas de interoperabilidade de herança que não podem ser fixados. O <ulink url=\"http://www.ws-i.org/Profiles/BasicProfile-1.0-2004-"
+"04-16.html\">Basic Profile-1.0</ulink> proibe este estilo de codificação no <ulink url=\"http://www.ws-i.org/Profiles/BasicProfile-1.0-2004-04-16."
+"html#refinement16448072\">4.1.7 SOAP encodingStyle Attribute</ulink>. O JBossWS possui o suporte básico para rpc/codificado que é fornecido como é para cenários de interop simples com os empilhamentos SOAP que não suportam a codificação literal. Basicamente, o JBossWS não suporta:"
 
 #. Tag: para
 #: Web_Services.xml:76
 #, no-c-format
 msgid "element references"
-msgstr ""
+msgstr "referência do elemento"
 
 #. Tag: para
 #: Web_Services.xml:81
 #, no-c-format
 msgid "soap arrays as bean properties"
-msgstr ""
+msgstr "diretórios soap como propriedades bean"
 
 #. Tag: title
 #: Web_Services.xml:90
 #, no-c-format
 msgid "Web Service Endpoints"
-msgstr ""
+msgstr "Pontos finais do Serviço da Web"
 
 #. Tag: para
 #: Web_Services.xml:91
@@ -398,13 +455,13 @@
 "annotations and deployed to the server. The server automatically generates "
 "and publishes the abstract contract (i.e. wsdl+schema) for client "
 "consumption. All marshalling/unmarshalling is delegated to JAXB [2]."
-msgstr ""
+msgstr "O JAX-WS simplifica o modelo de desenvolvimento para o ponto final do serviço da web "
 
 #. Tag: title
 #: Web_Services.xml:97
 #, no-c-format
 msgid "Plain old Java Object (POJO)"
-msgstr ""
+msgstr "Plain old Java Object (POJO)"
 
 #. Tag: para
 #: Web_Services.xml:98
@@ -412,7 +469,7 @@
 msgid ""
 "Let&#39;s take a look at simple POJO endpoint implementation. All endpoint "
 "associated metadata is provided via JSR-181 annotations"
-msgstr ""
+msgstr "Vamos observar a implementação de ponto final simples. Todos os metadados associados de ponto final são fornecidos através das anotações JSR-181."
 
 #. Tag: programlisting
 #: Web_Services.xml:100
@@ -442,15 +499,15 @@
 
 #. Tag: title
 #: Web_Services.xml:105
-#, fuzzy, no-c-format
+#, no-c-format
 msgid "The endpoint as a web application"
-msgstr "Instalando a raiz de contexto de um aplicativo da web."
+msgstr "O ponto final como um aplicativo da web"
 
 #. Tag: para
 #: Web_Services.xml:106
 #, no-c-format
 msgid "A JAX-WS java service endpoint (JSE) is deployed as a web application."
-msgstr ""
+msgstr "O ponto final do serviço java JAX-WS (JSE) é implementado como um aplicativo da web."
 
 #. Tag: programlisting
 #: Web_Services.xml:108
@@ -484,7 +541,7 @@
 #: Web_Services.xml:113
 #, no-c-format
 msgid "<title>Packaging the endpoint</title>"
-msgstr ""
+msgstr "<title>Packaging the endpoint</title>"
 
 #. Tag: para
 #: Web_Services.xml:114
@@ -504,12 +561,23 @@
 "</programlisting> Note, only the endpoint implementation bean and web.xml "
 "are required."
 msgstr ""
+"O ponto final do serviço java JSR-181 (JSE) é empacotado como um aplicativo da web num*.war file. <programlisting>\n"
+"\n"
+" &lt;war warfile=\"${build.dir}/libs/jbossws-samples-jsr181pojo.war\" \n"
+"                   webxml=\"${build.resources.dir}/samples/jsr181pojo/WEB-"
+"INF/web.xml\"&gt;\n"
+"         &lt;classes dir=\"${build.dir}/classes\"&gt;\n"
+" &lt;include name=\"org/jboss/test/ws/samples/jsr181pojo/JSEBean01.class\"/"
+"&gt;\n"
+"         &lt;/classes&gt;\n"
+"&lt;/war&gt; \n"
+"</programlisting> Perceba, apenas o bean de implementação de ponto final e web.xml são solicitados. "
 
 #. Tag: title
 #: Web_Services.xml:122
 #, no-c-format
 msgid "<title>Accessing the generated WSDL</title>"
-msgstr ""
+msgstr "<title>Accessing the generated WSDL</title>"
 
 #. Tag: para
 #: Web_Services.xml:123 Web_Services.xml:151
@@ -518,7 +586,7 @@
 "A successfully deployed service endpoint will show up in the service "
 "endpoint manager. This is also where you find the links to the generated "
 "wsdl."
-msgstr ""
+msgstr "O ponto final do serviço implementado com êxito apresentará o gerenciador do ponto final do serviço. Isto é também onde você encontra os links para gerenciar o wsdl."
 
 #. Tag: programlisting
 #: Web_Services.xml:127 Web_Services.xml:154
@@ -535,12 +603,15 @@
 "org/mediawiki/index.php?title=JAX-WS_User_Guide#Top_Down_.28Java_to_WSDL.29"
 "\">#Top Down (Java to WSDL)</ulink>"
 msgstr ""
+"Perceba, é também possível gerar um contrato abstrato usando as ferramentas jbossw sem estar conectado. Para maiores informações a este respeito, por favor consulte: <ulink url=\"http://jbws.dyndns."
+"org/mediawiki/index.php?title=JAX-WS_User_Guide#Top_Down_.28Java_to_WSDL.29"
+"\">#Top Down (Java to WSDL)</ulink>"
 
 #. Tag: title
 #: Web_Services.xml:133
-#, fuzzy, no-c-format
+#, no-c-format
 msgid "EJB3 Stateless Session Bean (SLSB)"
-msgstr "Bean de Sessão sem Estado em EJB 2.x"
+msgstr "EJB3 Stateless Session Bean (SLSB)"
 
 #. Tag: para
 #: Web_Services.xml:134
@@ -605,7 +676,7 @@
 #: Web_Services.xml:144
 #, no-c-format
 msgid "A JSR-181 EJB service endpoint is packaged as an ordinary ejb deployment."
-msgstr ""
+msgstr "O ponto final do serviço JSR-181 EJB é empacotado como uma implementação do ejb ordinário."
 
 #. Tag: programlisting
 #: Web_Services.xml:147
@@ -621,6 +692,15 @@
 "&lt;/fileset&gt;\n"
 "&lt;/jar&gt;"
 msgstr ""
+"&lt;jar jarfile=&quot;${build.dir}/libs/jbossws-samples-jsr181ejb.jar&quot;"
+"&gt;\n"
+"&lt;fileset dir=&quot;${build.dir}/classes&quot;&gt;\n"
+"&lt;include name=&quot;org/jboss/test/ws/samples/jsr181ejb/EJB3Bean01."
+"class&quot;/&gt;\n"
+"&lt;include name=&quot;org/jboss/test/ws/samples/jsr181ejb/"
+"EJB3RemoteInterface.class&quot;/&gt;\n"
+"&lt;/fileset&gt;\n"
+"&lt;/jar&gt;"
 
 #. Tag: emphasis
 #: Web_Services.xml:149
@@ -677,6 +757,15 @@
 " }\n"
 "}"
 msgstr ""
+"@WebServiceProvider\n"
+"@ServiceMode(value = Service.Mode.PAYLOAD)\n"
+"public class ProviderBeanPayload implements Provider&lt;Source&gt;\n"
+"{\n"
+"public Source invoke(Source req)\n"
+"{\n"
+"// Access the entire request PAYLOAD and return the response PAYLOAD\n"
+" }\n"
+"}"
 
 #. Tag: para
 #: Web_Services.xml:172
@@ -736,6 +825,33 @@
 "}\n"
 "}"
 msgstr ""
+"@WebService\n"
+"public class EndpointJSE\n"
+"{\n"
+"@Resource\n"
+"WebServiceContext wsCtx;\n"
+" \n"
+"@WebMethod\n"
+"public String testGetMessageContext()\n"
+"{\n"
+"SOAPMessageContext jaxwsContext = (SOAPMessageContext)wsCtx.getMessageContext"
+"();\n"
+"return jaxwsContext != null ? &quot;pass&quot; : &quot;fail&quot;;\n"
+"}\n"
+"..\n"
+"@WebMethod\n"
+"public String testGetUserPrincipal()\n"
+"{\n"
+"Principal principal = wsCtx.getUserPrincipal();\n"
+"return principal.getName();\n"
+"}\n"
+"  \n"
+"@WebMethod\n"
+"public boolean testIsUserInRole(String role)\n"
+"{\n"
+"return wsCtx.isUserInRole(role);\n"
+"}\n"
+"}"
 
 #. Tag: title
 #: Web_Services.xml:186
@@ -843,6 +959,26 @@
 "...\n"
 "}"
 msgstr ""
+"// Generated Service Class\n"
+"  \n"
+" @WebServiceClient(name=&quot;StockQuoteService&quot;, targetNamespace=&quot;"
+"http://example.com/stocks&quot;, wsdlLocation=&quot;http://example.com/"
+"stocks.wsdl&quot;)\n"
+"public class StockQuoteService extends javax.xml.ws.Service \n"
+"{\n"
+"public StockQuoteService() \n"
+"{\n"
+"super(new URL(&quot;http://example.com/stocks.wsdl&quot;), new QName(&quot;"
+"http://example.com/stocks&quot;, &quot;StockQuoteService&quot;));\n"
+"}\n"
+"  \n"
+"public StockQuoteService(String wsdlLocation, QName serviceName) \n"
+"{\n"
+"super(wsdlLocation, serviceName);\n"
+"}\n"
+"  \n"
+"...\n"
+"}"
 
 #. Tag: para
 #: Web_Services.xml:213
@@ -880,6 +1016,10 @@
 "MyService&quot;);\n"
 "Service service = Service.create(wsdlLocation, serviceName);"
 msgstr ""
+"URL wsdlLocation = new URL(&quot;http://example.org/my.wsdl&quot;);\n"
+"QName serviceName = new QName(&quot;http://example.org/sample&quot;, &quot;"
+"MyService&quot;);\n"
+"Service service = Service.create(wsdlLocation, serviceName);"
 
 #. Tag: para
 #: Web_Services.xml:223




More information about the jboss-cvs-commits mailing list