Uploaded image for project: 'Axis2-C'
  1. Axis2-C
  2. AXIS2C-777

REST request get SOAPFault for Operation Not found.

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Resolved
    • Major
    • Resolution: Fixed
    • 1.1.0
    • 1.2.0
    • core/transport
    • None

    Description

      for the echo rest request, when engine unable locate the operation , it sends soap fault. But it should be a rest request.

      request
      ======
      POST /axis2/services/echo HTTP/1.1
      User-Agent: Axis2/C
      Content-Length: 108
      Content-Type: text/xml
      Host: 127.0.0.1:9090

      <ns1:echoStrig xmlns:ns1="http://ws.apache.org/axis2/services/ech">
      <text>Hello World!</text></ns1:echoStrig>

      response
      =====
      HTTP/1.1 500 Internal Server Error
      Content-Type: text/xml;charset=UTF-8
      Content-Length: 255

      <soapenv:Envelope xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/">
      <soapenv:Header/>
      <soapenv:Body>
      <soapenv:Fault>
      <faultcode>soapenv:Server</faultcode>
      <faultstring>Operation Not Found</faultstring>
      </soapenv:Fault>
      </soapenv:Body></soapenv:Envelope>

      Attachments

        Activity

          People

            xydinesh Dinesh Weerapurage
            xydinesh Dinesh Weerapurage
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: