*** There seems to be one exception. When you use dynamic proxies you can specify a <port-component-link> inside <port-component-ref>. The link points to the endpoint component in the same application. Apparently the application server will, in this case, dynamically create a proxy for local calls that bypasses the XML (un)marshalling improving performance significantly. However this optimization is not availble for static stubs or DII.
Now if I have a J2EE client and the webservice has been deployed by me (same J2EE container). Then what would be the steps?
<service-ref>
<service-ref-element>service/BookQuoteService</service-ref-name>
<service-interface>com.jwsbook.jaxrpc.BookQuoteService</service-interfcae>
....
</service-ref>