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

cope typos in reference docs section 6.2.4 and 6.2.5

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: 1.0.3
    • Fix Version/s: 1.5 M2
    • Component/s: Documentation
    • Labels:
      None

      Description

      1. In section 6.2.4, the method doInMessage(WebServiceMessage message) should instead be doWithMessage(WebServiceMessage message).

      2. In section 6.2.5, the method doInMessage(WebServiceMessage message) should instead be doWithMessage(WebServiceMessage message).

      3. In section 6.2.5, there is a closing brace "}" missing after the doWithMessage method.

      4. In section 6.2.5, the code should be formatted so that it is not so hard to read, perhaps like:

      public void marshalWithSoapActionHeader(final Source s) {
      final Transformer transformer = transformerFactory.newTransformer();
      webServiceTemplate.sendAndReceive(
      new WebServiceMessageCallback() {
      public void doWithMessage(WebServiceMessage message)

      { transformer.transform(s, message.getPayloadResult()); }

      },
      new WebServiceMessageExtractor() {
      public Object extractData(WebServiceMessage message) throws IOException

      { // do your own transforms with message.getPayloadResult() // or message.getPayloadSource() }

      }
      );
      }

        Attachments

          Activity

            People

            • Assignee:
              arjen.poutsma Arjen Poutsma
              Reporter:
              barsimp47 Barry Simpson
            • Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: