a colleague of mine wanted to create a simple Client from a WSDL. Having worked on the server side and SOAP UI as client, it was relatively simple.
But I could not find the right documentation for setting up a WS client.
Does he need to generate the subs?
I could not find where in the config should we set the WSDL location.
<bean id="messageFactory" class="org.springframework.ws.soap.saaj.SaajSoapMessageFactory"/>
<bean id="webServiceTemplate" class="org.springframework.ws.client.core.WebServiceTemplate">
<property name="defaultUri" value="http://example.com/WebService"/>