Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Schema Language Support for WSDL files #22

Open
robertoschwald opened this issue Oct 23, 2019 · 2 comments
Open

Schema Language Support for WSDL files #22

robertoschwald opened this issue Oct 23, 2019 · 2 comments

Comments

@robertoschwald
Copy link

robertoschwald commented Oct 23, 2019

com.sun.tools.xjc.XJCTask supports language:"WSDL" to directly process WSDL files.
This is the only way I currently can process SAP generated WSDL files, as they contain 2 schemas.

https://github.com/kohsuke/jaxb/blob/master/jaxb-ri/xjc/src/main/java/com/sun/tools/xjc/Language.java

and

https://github.com/kohsuke/jaxb/blob/master/jaxb-ri/xjc/src/main/java/com/sun/tools/xjc/ModelLoader.java#L368

Is it planned to be supported by this plugin?

@tkrullmann
Copy link
Member

Hi,
I can have a look at it, but in the meantime PRs are welcome :-)

@mjparme
Copy link

mjparme commented Sep 7, 2021

I have generation from wsdl working with version 2.x of the plugin:

sourceSets {
    main {
        xjcSchema {
            include("**/*.wsdl")
        }
    }
}

xjc {
    extraArgs = "-wsdl"
}

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants