Hi, there,
Now, we've implemented a Provide like this:
@javax.xml.ws.ServiceMode(value = javax.xml.ws.Service.Mode.PAYLOAD)
@javax.xml.ws.WebServiceProvider()
public class ProviderBase implements
javax.xml.ws.Provider<javax.xml.transform.Source> {
//@javax.jws.WebMethod(exclude=true)
public final Source invoke(Source request) {
//how to transform request or return Source to Message, so we can add
some custom properties class to it:
CustomInfo customInfo = new CustomInfo();
message.put (CustomInfo.class, customInfo);
}
}
So, in the invoke() method, how to transform request or return Source to
Message? so we can add some custom properties class to it, and then our
Interceptor class can get them.
Thanks!
Xilai