Announcement Announcement Module
No announcement yet.
test unmarshalling by Spring ws Page Title Module
Move Remove Collapse
Conversation Detail Module
  • Filter
  • Time
  • Show
Clear All
new posts

  • test unmarshalling by Spring ws

    I am new to spring-ws.
    I like to test my jibx binding.
    To test this I want to
    1. some how in the test case supply the request xml message.
    2. the end point should then be called and the invokeInternal should be executed. The unmarshalled object is ready before the invokeInternal is called . I am interested in testing the unmarshalled object.

    How do I write a junit test for this? Example is a test for the Endpoint.
    I am interested in testing unmarshalling. This happens before the endpoint.
    Are there other examples.
    Please help me with this so I can test the unmarshalling.
    Thank you.

  • #2
    See the Spring WS source code and its Unit tests. You can find some ideas from there (like I did).

    You can find the source code from project home page or by downloading the project as a ZIP file.