Hi. I have a web service deployed on JBoss and I want to access it from my (another) Spring-based web application. Spring's doc only dicusses how to expose and access a web service from the sampe app (the web service and web app are the app) and says nothing how to access a service deployed in another app. (I have search Google and Spring forum , no answer) If I want to access my service , what should I write in serviceInterface element ? Snippet from JPetstore spring-based example : <property name="serviceInterface"> <value>org.springframework.samples.jpetstore.domain.logic.OrderService</value> </property> This is OK since the service and the app are the app. Any help ?
You'll have to make the service interface yourself. If you can refer to Spring In Action, chapter six talks about this. Tools like WSDL2Java (part of Apache Axis) will help you to generate java skeletons from WSDL, but I've never tried it.