Uploaded image for project: 'Spring Web Services'
  1. Spring Web Services
  2. SWS-623

Generify marshalling WebServiceTemplate operations

    XMLWordPrintable

    Details

    • Type: New Feature
    • Status: Open
    • Priority: Trivial
    • Resolution: Unresolved
    • Affects Version/s: 2.0 M2
    • Fix Version/s: None
    • Component/s: Core
    • Labels:
      None

      Description

      It would be sometimes useful to have generic access to marshalling operations of WebService template. In some cases it would spare us of manual type casting. Something like

      @RunWith(SpringJUnit4ClassRunner.class)
      @ContextConfiguration(locations={"marshalling-test-config.xml"})
      public class MarshallingWebServiceOperationsTest {
      	@Autowired
      	private MarshallingWebServiceOperations<Integer, String> webServiceTemplate;
      	
      	@Test
      	public void testInjected() throws IOException
      	{
      		assertNotNull(webServiceTemplate);
      		String result = webServiceTemplate.marshalSendAndReceive(1);
      	}
      }
      

      In fact I am not sure if it's going to be useful. If not, it would be at least nice to split WebServiceOperations interface.

        Attachments

          Activity

            People

            Assignee:
            arjen.poutsma Arjen Poutsma
            Reporter:
            dart0 Lukas Krecan
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

              Dates

              Created:
              Updated: