Return-Path: Delivered-To: apmail-ws-general-archive@www.apache.org Received: (qmail 54212 invoked from network); 14 Aug 2006 05:18:18 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (209.237.227.199) by minotaur.apache.org with SMTP; 14 Aug 2006 05:18:18 -0000 Received: (qmail 66593 invoked by uid 500); 14 Aug 2006 05:18:13 -0000 Delivered-To: apmail-ws-general-archive@ws.apache.org Received: (qmail 65986 invoked by uid 500); 14 Aug 2006 05:18:11 -0000 Mailing-List: contact general-help@ws.apache.org; run by ezmlm Precedence: bulk Reply-To: general@ws.apache.org list-help: list-unsubscribe: List-Post: List-Id: Delivered-To: mailing list general@ws.apache.org Received: (qmail 65975 invoked by uid 99); 14 Aug 2006 05:18:11 -0000 Received: from asf.osuosl.org (HELO asf.osuosl.org) (140.211.166.49) by apache.org (qpsmtpd/0.29) with ESMTP; Sun, 13 Aug 2006 22:18:11 -0700 X-ASF-Spam-Status: No, hits=-0.0 required=10.0 tests=SPF_HELO_PASS X-Spam-Check-By: apache.org Received: from [192.87.106.226] (HELO ajax.apache.org) (192.87.106.226) by apache.org (qpsmtpd/0.29) with ESMTP; Sun, 13 Aug 2006 22:18:11 -0700 Received: from ajax.apache.org (localhost [127.0.0.1]) by ajax.apache.org (Postfix) with ESMTP id 2DCD6D4973 for ; Mon, 14 Aug 2006 06:17:50 +0100 (BST) Content-Type: text/plain; charset="us-ascii" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit From: Apache Wiki To: general@ws.apache.org Date: Mon, 14 Aug 2006 05:17:50 -0000 Message-ID: <20060814051750.10377.50318@ajax.apache.org> Subject: [Ws Wiki] Update of "FrontPage/Axis2/JAX-WS/JSR-181" by NickGallardo X-Virus-Checked: Checked by ClamAV on apache.org X-Spam-Rating: minotaur.apache.org 1.6.2 0/1000/N Dear Wiki user, You have subscribed to a wiki page or wiki category on "Ws Wiki" for change notification. The following page has been changed by NickGallardo: http://wiki.apache.org/ws/FrontPage/Axis2/JAX-WS/JSR-181 ------------------------------------------------------------------------------ } }}} - When processing this class, what marker can we use to determine whether or not this endpoint uses the native Axis2 programming model, or whether it should be using JAX-WS? One of the goals of providing an annotations-based programming model is the removal of the required deployment descriptor (services.xml). The hope is that the service can be configured using just the information that exists in the Java. the class is generic enough that it appears too ambiguous to determine just by looking at the Java information. + When processing this class, what marker can we use to determine whether or not this endpoint uses the native Axis2 programming model, or whether it should be using JAX-WS? One of the goals of providing an annotations-based programming model is the removal of the required deployment descriptor (services.xml). The hope is that the service can be configured using just the information that exists in the Java. In this case though, the class is generic enough that it appears too ambiguous to determine just by looking at the Java information. + One of the proposed methods for solving this was to expose every JSR-181 annotated Java bean as an Axis2 endpoint as well as a JAX-WS endpoint. This just moves the problem from a deploy time issue to a runtime issue. Since both services would be configured based on the same endpoint information, the burden of determining which endpoint/operation should be invoked would be placed on one of the Dispatchers. Since the same operations exist on both endpoints, there is again a situation where it's ambiguous as to which one is correct. + + So it seems like making the decision at deploy time is the correct one. + --------------------------------------------------------------------- To unsubscribe, e-mail: general-unsubscribe@ws.apache.org For additional commands, e-mail: general-help@ws.apache.org