Uploaded image for project: 'JBoss Transaction Manager'
  1. JBoss Transaction Manager
  2. JBTM-749

WSTX WSDL should not be using wsa:Action attribute

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Done
    • Icon: Major Major
    • 4.12.0
    • 4.11.0
    • XTS
    • None

      The switch over to CXF as the default stack in AS 6 has exposed a problem with the WSTX WSDL files. XTS currently employs the 1.1 WSDL as originally published by OASIS. This WSDL includes wsa:Action attributes in the port type declarations. This causes a problem on CXF 2.2.8 where the Message Addressing Properties (MAP) handler fails to locate the Action attribute installed in response messages – it does nto check for the 2005/08 wsa space – and, consequently, runs into a null pointer exception.

      The OASIS 1.1. WSDL has been republished (somewhat sneakily) without the Action attributes. This later version should be used. Instead of relying on the wsa:Action attribute the server endpoint implementation classes should employ @Action attributes on the implementation methods to define the input and output Actions associated with the web methods.

              rhn-engineering-adinn Andrew Dinn
              rhn-engineering-adinn Andrew Dinn
              Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

                Created:
                Updated:
                Resolved: