ws-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Apache Wiki <wikidi...@apache.org>
Subject [Ws Wiki] Update of "FrontPage/Axis2/JAX-WS/JSR-181" by NickGallardo
Date Mon, 14 Aug 2006 04:56:19 GMT
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

------------------------------------------------------------------------------
  Because of the fact that the Axis2 implementation is also going to support JAX-WS, there
is are a few issues that need to be resolved.
  
  '''Targeting a Programming Model'''
+ 
  One issue that is raised by the current approach is that, if Java beans can be annotated
with just JSR-181 annotations, how do you determine whether the bean should be deployed as
an Axis2 service vs. a JAX-WS service.
  
+ Let's say, for example, that a user provides the following annotated bean as their Web service
implementation class.
+ 
+ {{{
+ package test;
+ 
+ @WebService(serviceName="MyService" targetNamespace="http://test")
+ public MyService {
+ 
+     @WebMethod
+     public String foo(String input) {
+         return input;
+     }
+ }
+ }}}
+ 

---------------------------------------------------------------------
To unsubscribe, e-mail: general-unsubscribe@ws.apache.org
For additional commands, e-mail: general-help@ws.apache.org


Mime
View raw message