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

AxiomSoapMessageFactory does not parse application/xop+xml Content-Type properly

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: 1.5.8
    • Fix Version/s: 1.5.9
    • Component/s: None
    • Labels:
      None
    • Environment:
      Weblogic 10.3

      Description

      AxiomSoapMessageFactory#getCharSetEncoding(), when given the following HTTP Content-Type header (which I assume is valid),

      application/xop+xml;type="text/xml; charset=utf-8"

      returns a CharSet of 'utf-8"' instead of 'utf-8' (i.e. there is an erroneous double quote at the end of the string).

        Activity

        Hide
        arjen.poutsma Arjen Poutsma added a comment -

        According to the HTTP spec, that Content-Type header would be incorrect (http://www.w3.org/Protocols/rfc2616/rfc2616-sec3.html#sec3.7). Which particular SOAP stack is creating that header?

        At any rate, we we will fix it nonetheless.

        Show
        arjen.poutsma Arjen Poutsma added a comment - According to the HTTP spec, that Content-Type header would be incorrect ( http://www.w3.org/Protocols/rfc2616/rfc2616-sec3.html#sec3.7 ). Which particular SOAP stack is creating that header? At any rate, we we will fix it nonetheless.
        Hide
        arjen.poutsma Arjen Poutsma added a comment -

        Fixed.

        Show
        arjen.poutsma Arjen Poutsma added a comment - Fixed.
        Hide
        artbristol Art O Cathain added a comment -

        Thanks for the fix. Both ends of the web service are running Spring-WS SOAP stacks.

        Show
        artbristol Art O Cathain added a comment - Thanks for the fix. Both ends of the web service are running Spring-WS SOAP stacks.
        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:
            artbristol Art O Cathain
          • Votes:
            0 Vote for this issue
            Watchers:
            1 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 - 13m
              13m