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

Allow xsd shema file as a jaxb binding file to pass into JAXB schmeCompiler

    XMLWordPrintableJSON

Details

    • Task
    • Status: Closed
    • Major
    • Resolution: Fixed
    • 2.4.6, 2.5.2
    • 2.4.7, 2.5.3, 2.6
    • Tooling
    • None
    • Unknown

    Description

      This can pass some missed import schema files into jaxb with -b flag to generate types classes from some MS wsdl files. Then we can use wsdl2java to generate the follow wsdl with "wsdl2java -b http://www.w3.org/2001/XMLSchema.xsd following.wsdl"

      <wsdl:types>
      <schema targetNamespace="http://cxf.apache.org/w2j/hello_world_soap_http/types" xmlns="http://www.w3.org/2001/XMLSchema"
      xmlns:x1="http://cxf.apache.org/w2j/hello_world_soap_http/types" elementFormDefault="qualified">
      <element name="sayHi">
      <complexType/>
      </element>
      <element name="sayHiResponse">
      <complexType>
      <sequence>
      <element ref="xsd:schema"/>
      </sequence>
      </complexType>
      </element>
      </schema>
      </wsdl:types>

      Attachments

        Activity

          People

            ema Jim Ma
            ema Jim Ma
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: