A Web service is represented as a component that you can display in a component diagram. From a component diagram, you can display the Web service interface and implementation code, eventually, you can also deploy Web service components to nodes if you want to describe deployment of components into servers.
For more information on how to deploy components, see Deploying a Component to a Node.
A component can be a Web service Interface or a Web service Implementation type. You have to check the Web Service check box in the component property sheet to declare your component as a Web service.
Java Web Service: exposes a Java class with the .jws extension as a Web service using Apache Axis.
Axis RPC: exposes a Java class as a Web service using the Apache Axis RPC model.
Axis EJB: exposes a Stateless Session Bean as a Web service using the Apache Axis EJB model.
JAX-RPC: uses a Java class and an interface to implement the JAX-RPC model.
JAXM: exposes a Servlet as a Web service using JAXM.
Web Service for J2EE: exposes a Stateless Session Bean as a Web service using the Web Service for J2EE (JSR109) model.