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

jaxws:enableWrapperStyle apparently not working

Attach filesAttach ScreenshotVotersWatch issueWatchersCreate sub-taskLinkCloneUpdate Comment AuthorReplace String in CommentUpdate Comment VisibilityDelete Comments
    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Minor
    • Resolution: Invalid
    • 2.0.1
    • Invalid
    • Tooling
    • None

    Description

      jaxws:enableWrapperStyle is working for Metro but not CXF for the Amazon E Commerce Service[1]'s WSDL[2]. CXF's output is always in non-wrapped format (ParameterStyle.BARE) when generated by CXF. For Metro, this WSDL is in wrapper style by default. (It is apparently OK that CXF defaults to non-wrapped, because Section 2.3.1.2 of the JAX-WS spec apparently does not mandate wrapper style by default, but the enableWrapperStyle flag should still be able to work.)

      [1] http://www.amazon.com/E-Commerce-Service-AWS-home-page/b?ie=UTF8&node=12738641
      [2] http://webservices.amazon.com/AWSECommerceService/AWSECommerceService.wsdl?

      [3] <portType name="AWSECommerceServicePortType">
      <jaxws:bindings xmlns:jaxws="http://java.sun.com/xml/ns/jaxws">
      <jaxws:enableWrapperStyle>false</jaxws:enableWrapperStyle>
      </jaxws:bindings>
      ....

      Attachments

        Activity

          This comment will be Viewable by All Users Viewable by All Users
          Cancel

          People

            gmazza Glen Mazza
            mazzag Glen Mazza
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:

              Issue deployment