Hi all,

I have setup a web service bean as such:

Code:
<bean id="service" class="org.springframework.remoting.jaxrpc.JaxRpcPortProxyFactoryBean">
		<property name="wsdlDocumentUrl" value="pathto.wsdl" />
		<property name="serviceInterface" value="com.example.ws.Service" />
		<property name="portName" value="Services" />
		<property name="serviceName" value="ServicesWebServiceDispatcher" />
		<property name="namespaceUri" value="xyz" />
	</bean>
i then use the following test harness to try and execute the service:

Code:
package com.example.ws;

import org.springframework.beans.factory.BeanFactory;
import org.springframework.context.ApplicationContext;
import org.springframework.context.support.ClassPathXmlApplicationContext;

public class TestRunner {

	public static void main(String[] args) {
		try {
			ApplicationContext context = new ClassPathXmlApplicationContext("springcontext.xml");

			BeanFactory factory = context;

			RosettaService service = (Service) factory
					.getBean("service");

			String location = "<location xsi:type=\"xsd:string\">LDN</location>";
			String startYear = "<startYear xsi:type=\"xsd:int\">2008</startYear>";
			String startMonth = "<startMonth xsi:type=\"xsd:int\">09</startMonth>";
			String startDay = "<startDay xsi:type=\"xsd:int\">19</startDay>";
			String endYear = "<endYear xsi:type=\"xsd:int\">2008</endYear>";
			String endMonth = "<endMonth xsi:type=\"xsd:int\">9</endMonth>";
			String endDay = "<endDay xsi:type=\"xsd:int\">20</endDay>";
			
			String result = service.Execute(location,startYear,startMonth,startDay,endYear,endMonth,endDay);

			System.out.println("Result: " + result);
			
		} catch (Exception e) {
			e.printStackTrace();
		}

	}

}
When I run this I get the following error:

Code:
org.springframework.remoting.RemoteProxyFailureException: Invalid JAX-RPC call configuration; nested exception is trailing block elements must have an id attribute
The service does work as it has been tested via another means.

Anyone have any idea what it is that Spring does not like?

Thanks