Thank you both for the replies

I don't know what you mean by "instantiate the service" -- I assume you
> mean activating the web service provider and not the overhead involved with
> the client making a SOAP call.


Thats right, its a two liner, like in your example, something like

    DoubleItService service = new DoubleItService();
    DoubleItPortType port = service.getDoubleItPort();

>From the info in the link that Daniel sent it looks like my use of the
service would be thread safe (as long as i am in a container that uses CXF)
and so i think that i should be able to cache the service (or port).

Max

Reply via email to