Code: Select all
@Addressing
@WebServiceRef( ServiceType.class ) OR @WebServiceRef( value=ServiceType.class, [type=ProxyType.class] )
ProxyType proxy;
From JAX-WS 2.x: @javax.xml.ws.WebServiceRef:
"... Similarly, a generated service reference can be configured with Web Service features using the corresponding @WebServiceFeatureAnnotation annotations.
Does it mean @MTOM and @WebServiceRef can be used together when injecting service types too???
Like this:
Code: Select all
@MTOM
@WebServiceRef( [type=ProxyType.class] )
ServiceType service;
(Are there more appropriate terms for them? ServiceType and PortType maybe??)