I am trying to create JAXB binding for xccdf-1.1.4.xsd which is a standard schema that can be obtain from XCCDF Schema Location
I am currently using EclipseLink MOXy
I tried all these solutions when I was using Eclipse and they really did not help me. SO I switched to Netbeans, which really gave me the same error with just a dialog box displaying more or less the same error message but with lesser detail.
Here is the sweet part, Netbeans does create the client service! Yes, with that error message.
You can just create your web service client as follows:
1. Right click on the project,
2. New
3. Web Service Client
4. Select the WSDL URL and paste the URL
5. Click finish and then it creates the client with errors.
So I located the generated WSDL file in my project, searched for occurrences of "any" in the file and commented every second occurrences in the file in the same tag.
commented line number 216
Save the file after commenting for all the second occurrences in the same tag. Right Click on the Web Service (first expand Web Services References), click Refresh. And your Web Service Client will be good to be run, just dragging and dropping methods and calling them with the your parameters!
That worked for me...