title: @PayloadRoot value when using Objects and not schema xml
body: <p>I'm using Objects as messages from client to service server.
  How should the endpoint be configured so that the service would be found?
  @PayloadRoot seems unfitting here because i don't use xml schema but Objects annotated with
  @XmlRootElement (i.e. Street)</p>
  
  <p>my code:</p>
  
  <p>the spring-ws-servlet.xml</p>
  
  <pre><code>&lt;?xml version="1.0" encoding="UTF-8"?&gt;
  &lt;beans xmlns="http://www.springframework.org/schema/beans" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
     xmlns:context="http://www.springframework.org/schema/context"
     xmlns:sws="http://www.springframework.org/schema/web-services"
     xmlns:oxm="http://www.springframework.org/schema/oxm"
     xsi:schemaLocation="http://www.springframework.org/schema/beans http://www.springframework.org/schema/beans/spring-beans-3.0.xsd
     http://www.springframework.org/schema/web-services http://www.springframework.org/schema/web-services/web-services-2.0.xsd
     http://www.springframework.org/schema/context http://www.springframework.org/schema/context/spring-context-3.0.xsd
     http://www.springframework.org/schema/oxm http://www.springframework.org/schema/oxm/spring-oxm-3.0.xsd"&gt;
  
  &lt;context:component-scan base-package="com.coral.project.endpoints"/&gt;
  
  &lt;sws:annotation-driven /&gt;
  
  &lt;sws:dynamic-wsdl id="test" portTypeName="TestCase" locationUri="/testService/"
                    targetNamespace="http://www.example.org/schemasDef/test/definitions"&gt;
      &lt;sws:xsd location="/WEB-INF/schemasDef/test.xsd"/&gt;
  &lt;/sws:dynamic-wsdl&gt;
  
  &lt;bean id="springWSClient" class="com.coral.project.endpoints.SpringWSClient"&gt;
      &lt;property name="defaultUri" value="http://localhost:8080/parking/springServices/testService/"/&gt;
      &lt;property name="marshaller" ref="marshaller" /&gt;
      &lt;property name="unmarshaller" ref="marshaller" /&gt;
  &lt;/bean&gt;
  
  &lt;oxm:jaxb2-marshaller id="marshaller"&gt;
      &lt;oxm:class-to-be-bound name="com.coral.project.entity.Street"/&gt;
  &lt;/oxm:jaxb2-marshaller&gt;
  &lt;/beans&gt;
  </code></pre>
  
  <p>the client:</p>
  
  <pre><code>public class SpringWSClient extends WebServiceGatewaySupport {
  
  public void getSum() throws SOAPException, IOException, TransformerException {
      StreetDao streetDao = SpringUtils.getBean(StreetDao.class);
      Street street = streetDao.findById(1);
  
      getWebServiceTemplate().marshalSendAndReceive(street);
  
  }
  }
  </code></pre>
  
  <p>the endpoint:</p>
  
  <pre><code>@Endpoint
  public class SpringWsEndpoint {
  
  @Inject
  private SpringWebService springWebService;
  
  @PayloadRoot(localPart = "street", namespace = "http://blahblah")
  @ResponsePayload
  public Element handleTestRequest(@RequestPayload SAXSource testRequest) throws Exception {
  
      String fisrt = firstNum.valueOf(testRequest);
      String second = secondNum.valueOf(testRequest);
  
      String sum = springWebService.sum(Integer.parseInt(fisrt), Integer.parseInt(second)).toString();
  
      Element responseElement = new Element("TestRequest");
      Element sumElement = new Element("sum");
      sumElement.setText(sum);
      responseElement.setContent(sumElement);
  
      return responseElement;
  }
  
  }
  </code></pre>