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

Missing type in generated WSDL definition

    XMLWordPrintable

Details

    Description

      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"; }

      }

      seems to cause a wrong wsdl being generated as in the message/part it references elements that are not declared in wsdl/types section.

      We should reproduce this and see if this is actually a cxf issue or an integration one.

      Attachments

        Issue Links

          Activity

            People

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

              Dates

                Created:
                Updated:
                Resolved: