Uploaded image for project: 'CXF'
  1. CXF
  2. CXF-4106

Attachments get lost when WSDL claims HTTP transport but config uses JMS

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: 2.5.2
    • Fix Version/s: 2.5.3
    • Component/s: Soap Binding
    • Labels:
      None
    • Estimated Complexity:
      Unknown

      Description

      I'm trying to call a service that claims SOAP with Attachments via an HTTP transport. In reality, however, the service is connected via JMS, so I'm overwriting the transportId in the Spring config. In the request that is sent out from the client the attachment is missing. Instead, it is included as a second XML element in the SOAP body.

      According to Dan, this is because the change in transport resets a couple of things to defaults, see http://cxf.547215.n5.nabble.com/SOAP-w-Attachments-still-supported-td5454220.htm

      1. swa-client.zip
        125 kB
        Jens Granseuer

        Activity

        Hide
        jensgr Jens Granseuer added a comment -

        Sample project that exhibits the issue.

        The client will send a request on "mvn integration-test". Note that the project uses WebSphere as JMS broker.

        Show
        jensgr Jens Granseuer added a comment - Sample project that exhibits the issue. The client will send a request on "mvn integration-test". Note that the project uses WebSphere as JMS broker.

          People

          • Assignee:
            dkulp Daniel Kulp
            Reporter:
            jensgr Jens Granseuer
          • Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

            • Created:
              Updated:
              Resolved:

              Development