yep, there should be a
service-endpoint tag in that ejb-jar.xml, if the
ejb is to service
soap requests, so maybe some other component of your app is doing that and delegating to that ejb you mention.
I took this from the 2.1 spec, for your information:
7.11.9 Session Bean’s Web Service Endpoint Interface
The following are the requirements for a stateless session bean’s web service endpoint interface. The
web service endpoint interface must follow the rules for JAX-RPC service endpoint interfaces [22].
• The web service endpoint interface must extend the java.rmi.Remote interface.
• The methods defined in the interface must follow the rules for JAX-RPC service endpoint
interfaces. This means that their argument and return values must be of valid types for
JAX-RPC, and their throws clauses must include the java.rmi.RemoteException.
The throws clause may additionally include application exceptions.
Note that JAX-RPC Holder classes may be used as method parameters. The JAX-RPC specification
requires support for Holder classes as part of the standard Java mapping of WSDL
operations in order to handle out and inout parameters. Holder classes implement the
javax.xml.rpc.holders.Holder interface. See the JAX-RPC specification [22] for
further details.
• For each method defined in the web service endpoint interface, there must be a matching
method in the session bean’s class. The matching method must have:
• The same name.
• The same number and types of arguments, and the same return type.
• All the exceptions defined in the throws clause of the matching method of the session
bean class must be defined in the throws clause of the method of the web service
endpoint interface.
• The web service endpoint interface must not include an EJBObject or EJBLocalObject as
either a parameter or return type. An array or JAX-RPC value type must not include an
EJBObject or EJBLocalObject as a contained element. The web service endpoint interface
methods must not expose local or remote interface types, local or remote home interface types,
timers or timer handles, or the managed collection classes that are used for entity beans with
container-managed persistence as arguments or results or as fields of value types.
• JAX-RPC serialization rules apply for any value types that are used by the web service endpoint
interface. If it is important that Java serialization semantics apply, the Bean Provider
should use the restricted set of JAX-RPC value types for which the semantics of Java serialization
apply under JAX-RPC serialization. See the JAX-RPC specification [22] for details.
• The web service endpoint interface must not include constant (as public final static)
declarations.
• The Bean Provider must designate the web service endpoint interface in the deployment
descriptor by means of the service-endpoint element. The service endpoint itself is only
exposed within a web service if it is referenced by a web service deployment descriptor as
defined by [25].
You may also find this interesting :
http://docs.jboss.org/jbossas/getting_started/v4/html/ws.html