I realize spring-ws and message endpoints are different than RPC. I already have client and server example working with jaxb-marshalled complex types for requests and responses.

but I also want to create a getStatus( ) service that takes no args and returns List<String>.

Can I just define an empty schema request element like this:

<xs:element name="getStatusRequest"/>

<xs:element name="getStatusResponse">
<xs:complexType>
<xs:sequence>
<xs:element name='item' type='xs:string' minOccurs="0" maxOccurs='unbounded'/>
</xs:sequence>
</xs:complexType>
</xs:element>

and my endpoint impl like this:

@PayloadRoot(localPart = "getStatusRequest", namespace = "myns")
public GetStatusResponse getStatus() {
.....
}

if so, how do I use client WebServiceTemplate to send the request? Is marshalling involved? I'm really only concerned about the request part (I know how to make the response work).

Thanks for helping...

-- David