The WS I need to develop would call an existing WS [JDK 1.5 / WAS 6.1 cluster using Axis 2].
Both Web Services will be deployed on same JVMs. Is there a way to call the second service directly without having to do an unwanted N/w hop ?
The second service becoming remote to my service looks unlikely.
How can I make a direct call to the second service with least code write ups or adding more dependeincies in the project (wsif / ejb)
As you can see am a "Green horn" to this forum and WS dev
"Greenhorn" doesn't necessarily mean you are new to technology, but new to Javaranch .
Which class should I be calling - the Port class ?
Well, if you know your second web service is going to be on the same JVM as the first, you can call methods on endpoint interface (endpoint implementing class object) directly.
what are the implications if 1000's of requests need to be processed. Would the direct call as you said, be able to handle ?
This would be similar to any Java application based on your design. Typically, those many number of threads are spawned by the JVM to serve incoming requests unless you have taken any special care on "synchronization".
(OCEEJBD6, SCWCD5, SCDJWS, SCJP1.4 and Oracle SQL 1Z0-051)
Using SCA (Service Component Architecture), you make the connection between component completely transparent to the application.
For components that are located in the same JVM, you can use the SCA binding, which allows for fast local connections.
If the components are located in different JVMs, then other kinds of bindings may be used, like the SOAP web service binding.
One implementation of SCA is Apache Tuscany. http://tuscany.apache.org Best wishes!