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

Generated WS-Addressing action uses wrong separator for urns

    XMLWordPrintableJSON

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: 2.1.2
    • Fix Version/s: 2.1.2, 2.0.9
    • Component/s: WS-* Components
    • Labels:
      None
    • Environment:

      java version "1.6.0_05"
      cxf 2.1.2-SNAPSHOT

      Description

      According to the Web Services Addressing 1.0 specification the format for an Action is (non-fault case):
      [target namespace][delimiter][port type name][delimiter][input|output name]

      The following definition of delimiter is supplied:
      "is ":" when the [target namespace] is a URN, otherwise "/"."

      Source: http://www.w3.org/TR/2006/CR-ws-addr-wsdl-20060529/#defactionwsdl11

      I have a WSDL with the following relevant values:
      target namespace - urn:xyz/BLAH
      port type name - BlahServicePortType
      input name - CountStuffRequest

      I would expect CXF to generate the action:
      urn:xyz/BLAH:BlahServicePortType:CountStuffRequest

      However it appears to use a dot ('.') to delimit the fields:
      urn:xyz/BLAH.BlahServicePortType.CountStuffRequest

      I will dig around the cxf-rt-ws-addr module to see if I can narrow this down further...

        Attachments

          Activity

            People

            • Assignee:
              dkulp Daniel Kulp
              Reporter:
              alisonr Alison
            • Votes:
              0 Vote for this issue
              Watchers:
              0 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: