Announcement Announcement Module
Collapse
No announcement yet.
Spring Web Services 1.5.4 released Page Title Module
Move Remove Collapse
X
Conversation Detail Module
Collapse
  • Filter
  • Time
  • Show
Clear All
new posts

  • Spring Web Services 1.5.4 released

    Dear Spring community,

    I'm pleased to announce that Spring Web Services 1.5.4 has been released!

    This is the second bug fix and enhancement release in the Spring-WS 1.5 series. It fixes all bugs reported since 1.5.3 and introduces various enhancements throughout the framework:
    • Client-side XSD validation in the WebServiceTemplate, which allows you to make sure you conform to a provided schema.
    • Ability to point the WebServiceTemplate to a WSDL Resource, extracting the location from it.
    • Major speed inprovements in the DOM-based endpoint base classes (AbstractDomPayloadEndpoint, AbstractJdomPayloadEndpoint, etc.).

    and more, including more documentation. Please see the changelog for details.

    For more information, see http://static.springframework.org/spring-ws/site/.

    Cheers,

    Arjen

  • #2
    Documentation bug?

    In section (5.4.1. AbstractDomPayloadEndpoint and other DOM endpoints)

    I dont think invokeInternal should have the parameter Document or? :

    //Java code really ;-)
    PHP Code:
    public class SampleEndpoint extends AbstractDomPayloadEndpoint {

        private 
    String responseText;

        public 
    SampleEndpoint(String responseText) {
            
    this.responseText responseText;
        }

        protected 
    Element invokeInternal(
                
    Element requestElement,
                
    Document documentthrows Exception {
            
    String requestText requestElement.getTextContent();
            
    System.out.println("Request text: " requestText);

            
    Element responseElement document.createElementNS("...""response");
            
    responseElement.setTextContent(responseText);
            return 
    responseElement;
        }

    Comment

    Working...
    X