Hi!
If you have web service calls in Java that are done using generated artifacts, then it will be very difficult to see from the code making the call whether the method invoked is a local method or a web service method. I am under the impression that many, if not all,
SOAP web service stacks are created as to make web service invocations as similar, if not identical, to invocation of regular methods, in order to shield developers from complexity.
A common
pattern that can be seen is to use a service object to obtain a port object and then invoke the web service operation on the port object.
Example:
Best wishes!