I tried the example in section 2.2.2 of WS binding spec (line 201 to 225).
I have no problem if the service is promoted as following definition:
service name=BService promoted=BComponent
interface.java interface=.BService/
binding.ws name=BServiceSOAP11 requires=soap.1_1/
I am curious why the destroy method was not called for @Scope(REQUEST).
Service Definition:
=
@Scope(REQUEST)
public class AServiceImpl implements AService {
@Init
public void init() {
System.out.println(init());
}
@Destroy
public void destroy() {