Uploaded image for project: 'Woden'
  1. Woden
  2. WODEN-160

Woden doesn't specify the default MEP to use if none is specified

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Resolved
    • Major
    • Resolution: Fixed
    • M7a
    • M8
    • Parser
    • None

    Description

      As reported by Jacek on the Woden mailing list (see http://mail-archives.apache.org/mod_mbox/ws-woden-dev/200705.mbox/%3cOFF6E44480.3AF74C7F-ON852572CF.00775206-852572CF.00786037@ca.ibm.com%3e):

      In WSDL if an operation doesn't have the pattern attribute, its MEP
      seems to default to http://www.w3.org/ns/wsdl/in-out - per section 2.4.3
      at
      http://dev.w3.org/cvsweb/~checkout~/2002/ws/desc/wsdl20/wsdl20.html?content-type=text/html;%20charset=utf-8#InterfaceOperation_Mapping

      In woden, the message exchange property is not set (line 770, rev 533754
      of /incubator/woden/trunk/java/src/org/apache/woden/internal/BaseWSDLReader.java)
      so this seems to be a bug.

      Just adding

      else {
      oper.setPattern(Constants.MEP_URI_IN_OUT);
      }

      should suffice.

      Attachments

        Activity

          People

            jkaputin John Alan William Kaputin
            lmandel Lawrence Mandel
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: