Uploaded image for project: 'CXF'
  1. CXF
  2. CXF-1243 Resolve JBoss common jax-ws testsuite issues
  3. CXF-2112

Missing element in generated WSDL definition

    XMLWordPrintableJSON

Details

    • Sub-task
    • Status: Closed
    • Major
    • Resolution: Fixed
    • 2.1.4
    • 2.1.5
    • None
    • None

    Description

      This is related to https://jira.jboss.org/jira/browse/JBWS-2529 .

      Running CXF java2wsdl tool on a service implementation like this

      @WebService
      @SOAPBinding(style=SOAPBinding.Style.DOCUMENT, use=SOAPBinding.Use.LITERAL, parameterStyle=SOAPBinding.ParameterStyle.BARE)
      public class webParamWebService {
      ...
      @WebMethod(operationName="helloString8", action="urn:HelloString8")
      @SOAPBinding(style=SOAPBinding.Style.DOCUMENT, use=SOAPBinding.Use.LITERAL, parameterStyle=SOAPBinding
      .ParameterStyle.WRAPPED)
      public String hello8(@WebParam (name="string8") String name, Address address)

      { return "hello8 : " + address.getCity() + " to Web Service"; }

      }

      causes the tool to fail in generating the element referenced by the wrapped style hello8 operation as the ReflectionServiceFactoryBean does not take into consideration a single operation being WRAPPED inside a BARE annotated endpoint.
      The generated wsdl is thus invalid.

      Attachments

        1. CXF-2112.txt
          1 kB
          Alessio Soldano

        Activity

          People

            asoldano Alessio Soldano
            asoldano Alessio Soldano
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: