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

DispatchImpl doesn't work for an empty Source

    XMLWordPrintableJSON

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: 3.1.15, 3.2.4
    • Fix Version/s: 3.1.16, 3.2.5
    • Component/s: JAX-WS Runtime
    • Labels:
      None
    • Estimated Complexity:
      Unknown

      Description

      After CXF-7653,  Dispatchimpl can't return a null value result from an empty source like : 

      @WebServiceProvider(serviceName = "HelloProviderService",
      portName = "HelloProviderPort",
      targetNamespace = "http://apache.org/hello_world_xml_http/bare")
      @BindingType(value = javax.xml.ws.soap.SOAPBinding.SOAP11HTTP_BINDING)
      @ServiceMode(value = javax.xml.ws.Service.Mode.PAYLOAD)
      public class GreeterProvider implements Provider<Source> {
      public Source invoke(Source req)

      { return new StreamSource(); }

      }

       

        Attachments

          Issue Links

            Activity

              People

              • Assignee:
                ema Jim Ma
                Reporter:
                ema Jim Ma
              • Votes:
                0 Vote for this issue
                Watchers:
                3 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved: