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

given soap action does not match any operation

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Major
    • Resolution: Not A Bug
    • 2.7.11
    • Invalid
    • Soap Binding
    • None
    • Unknown

    Description

      I'm generating a service from an existing wsdl (http://195.250.34.59/temp/original.wsdl), after creating the service the cxf generated wsdl has some small difference from the original one (http://195.250.34.59/temp/cxf_generated.wsdl), if I create client methods, using for example soapui, from the cxf generated wsdl all is fine but if I use the original wsdl the requests fail with the error:

      "the given soapaction does not match an operation"

      the problem is the SOAPAction http header:

      cxf expects no SOAPAction header or an empty one, if you look at the wsdl generated by cxf you can see a section not present in the original wsdl that define an empty soap action:

      <soap:operation soapAction="" style="document"/>

      after this section there is also the original one that define:

      <soap:operation soapAction="http://test.example.com//updateList"/>

      I defined an interceptor that remove the SOAPAction http header if present and this workaround the problem

      cxf should not modify the original wsdl or however should accept calls generated using the provided wsdl

      Attachments

        Activity

          People

            Unassigned Unassigned
            lists@svrinformatica.it Nicola
            Votes:
            2 Vote for this issue
            Watchers:
            7 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: