I am trying to connect to an old web service and I am getting an error when I autogenerate the classes with wsimport and other tools as well.
computer-name:tmp me$ wsimport -keep -verbose https://www.entech.us/sigmaaldrich/CarbonFootprintStats.asmx?WSDL
parsing WSDL...
[WARNING] src-resolve.4.2: Error resolving component 's:schema'. It was detected that 's:schema' is in namespace 'http://www.w3.org/2001/XMLSchema', but components from this namespace are not referenceable from schema document 'https://www.entech.us/sigmaaldrich/CarbonFootprintStats.asmx?WSDL#types?schema1'. If this is the incorrect namespace, perhaps the prefix of 's:schema' needs to be changed. If this is the correct namespace, then an appropriate 'import' tag should be added to 'https://www.entech.us/sigmaaldrich/CarbonFootprintStats.asmx?WSDL#types?schema1'.
line 30 of https://www.entech.us/sigmaaldrich/CarbonFootprintStats.asmx?WSDL#types?schema1
[ERROR] undefined element declaration 's:schema'
line 30 of https://www.entech.us/sigmaaldrich/CarbonFootprintStats.asmx?WSDL
Is the problem that I need to have them edit the WSDL to remove s:schema? The WSDL passes validation, which is even more strange.
I know it is possible to still pull the data as many online SOAP client testing tools and even Eclipse allow me to navigate and execute the methods.
Thanks in advance for any guidance!
