Uploaded image for project: 'JBoss Web Services'
  1. JBoss Web Services
  2. JBWS-1938

Assign message name instead of IN and OUT for Inbound/Outbound Addressing Property

    XMLWordPrintable

Details

    Description

      When wsa:action is not set explicitly the builder just appends IN or OUT to the endpoint's QName. This does not indicate as to what operation was perfomed when we peek the SOAP Message header.

      All along I was thinking that it worked fine for JAXWS tests, but it
      has been hard-coded in JAXWSMetaDataBuilder.java:

      // default action values

      { // TODO: figure out a way to assign message name instead of IN and OUT String tns = epMetaData.getPortName().getNamespaceURI(); String portTypeName = epMetaData.getPortName().getLocalPart(); addrExt.setInboundAction(tns + "/" + portTypeName + "/IN"); if (!opMetaData.isOneWay()) addrExt.setOutboundAction(tns + "/" + portTypeName + "/OUT"); }

      Attachments

        Issue Links

          Activity

            People

              mageshbk_jira Magesh Bojan (Inactive)
              mageshbk_jira Magesh Bojan (Inactive)
              Votes:
              0 Vote for this issue
              Watchers:
              0 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved:

                Time Tracking

                  Estimated:
                  Original Estimate - Not Specified
                  Not Specified
                  Remaining:
                  Remaining Estimate - 0 minutes
                  0m
                  Logged:
                  Time Spent - 5 hours
                  5h