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

AxiomSoapMessageFactory throws IllegalArgument when Content-Type is not set


    • Type: Improvement
    • Status: Closed
    • Priority: Blocker
    • Resolution: Fixed
    • Affects Version/s: 1.5.6
    • Fix Version/s: 1.5.7
    • Component/s: Core
    • Labels:
    • Environment:
      IBM Wensphere 6.1, MQ (JMS), Oracle


      Messages recieved must contain the header "Content-Type" when the header does not contain this a IllegalArgument exceptions is thrown, "TransportInputStream contains no Content-Type header".
      Though this is correct is the pure sense, there is no real specification for sending messages by means of MOM.

      When the sender of the message is Spring-WS this does not impose any problems (the header is set) but when others, in our case Oracle BPM, sends a message the header is not send and where not able to process the response.

      Possible solution, assume a default value for the "Content-Type" header is message from the MOM. content-type=text/xml?


        Transition Time In Source Status Execution Times Last Executer Last Execution Date
        Open Open In Progress In Progress
        32m 38s 1 Arjen Poutsma 13/May/09 11:11 PM
        In Progress In Progress Resolved Resolved
        3m 14s 1 Arjen Poutsma 13/May/09 11:15 PM
        Resolved Resolved Closed Closed
        1086d 7h 48m 1 Arjen Poutsma 04/May/12 7:03 AM


          • Assignee:
            arjen.poutsma Arjen Poutsma
            pieni Pieter van der Meer
          • Votes:
            0 Vote for this issue
            1 Start watching this issue


            • Created: