Details

    • Type: New Feature
    • Status: Closed
    • Priority: Major
    • Resolution: Complete
    • Affects Version/s: 1.5.7
    • Fix Version/s: 2.0 M2
    • Component/s: Core
    • Labels:
      None

      Description

      We were asked to add the XML declaration

      <?xml version="1.0" encoding="UTF-8"?>

      to the response delivered by our web service endpoints.

      Since SAAJ 1.2 there seems to be a way to enable the declaration by setting the property

      WRITE_XML_DECLARATION

      on the soap message: http://java.sun.com/webservices/saaj/faq.html

      Are there any plans to add this feature to the current Spring ws implementation? We are using classes that implement the

      PayloadEndpoint

      interface in combination with the

      PayloadRootQNameEndpointMapping

      .

        Activity

        Hide
        nino Nino Stokbro Ag added a comment -

        This would also fix the problem we are having described in this post:
        http://forum.springsource.org/showthread.php?t=76216

        Show
        nino Nino Stokbro Ag added a comment - This would also fix the problem we are having described in this post: http://forum.springsource.org/showthread.php?t=76216
        Hide
        dart0 Lukas Krecan added a comment -

        It is possible (and simple) to create an Interceptor to achieve this. It would be great if such interceptor was part of Spring WS.

        Show
        dart0 Lukas Krecan added a comment - It is possible (and simple) to create an Interceptor to achieve this. It would be great if such interceptor was part of Spring WS.
        Hide
        arjen.poutsma Arjen Poutsma added a comment -

        Done. I've added a 'messageProperties' property to SaajSoapMessageFactory. Properties set this way will be applied to any created SaajSoapMessage

        Show
        arjen.poutsma Arjen Poutsma added a comment - Done. I've added a 'messageProperties' property to SaajSoapMessageFactory. Properties set this way will be applied to any created SaajSoapMessage
        Hide
        arjen.poutsma Arjen Poutsma added a comment -

        Closing old issues

        Show
        arjen.poutsma Arjen Poutsma added a comment - Closing old issues

          People

          • Assignee:
            arjen.poutsma Arjen Poutsma
            Reporter:
            jterstiege Jochen Terstiege
          • Votes:
            1 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

            • Created:
              Updated:
              Resolved:

              Time Tracking

              Estimated:
              Original Estimate - Not Specified
              Not Specified
              Remaining:
              Remaining Estimate - 0d
              0d
              Logged:
              Time Spent - 46m
              46m