Hi All

I am trying to provide some of my code in the project(SPRING based) as a WS(AXIS - SPRING integration).

I just want to confirm if these 4 things are enough for the client to access any WS or can i reomve any of them or do i require more ?

Sorry guys ..i had to learn SPRING in a day and work on it , thats the reason for all the queries.

1) A client
public class HelloWorldClient {

public static void main(String[] args) {
ApplicationContext ctx = new FileSystemXmlApplicationContext(args[0]);

HelloWorld helloWorld = (HelloWorld)ctx.getBean("helloWorldService");
System.out.println(helloWorld.getMessage());
}
}

2)Buisness interface
public interface HelloWorld {

public String getMessage();
}

3) a remote interface
public interface RemoteHelloWorld extends Remote {

String getMessage() throws RemoteException;

}

4) configuration file
<!DOCTYPE beans PUBLIC "-//SPRING//DTD BEAN//EN"
"http://www.springframework.org/dtd/spring-beans.dtd">
<beans>
<bean id="helloWorldService"
class="org.springframework.remoting.jaxrpc.JaxRpcP ortProxyFactoryBean">
<property name="serviceFactoryClass">
<value>org.apache.axis.client.ServiceFactory</value>
</property>
<property name="wsdlDocumentUrl">
<value>http://xx.x.xx.xx:8080/remoting/services/HelloWorld?wsdl</value>
</property>
<property name="namespaceUri">
<value>http://localhost:8080/remoting/services/HelloWorld</value>
</property>
<property name="serviceName">
<value>JaxRpcHelloWorldService</value>
</property>
<property name="portName">
<value>HelloWorld</value>
</property>
<property name="portInterface">
<value>com.remoting.jaxrpc.RemoteHelloWorld</value>
</property>
<property name="serviceInterface">
<value>com.remoting.HelloWorld</value>
</property>
</bean>
</beans>


Do we need both 2 and 3 files.

Regards
San