I want to generate java-code from this wsdl: http://www.cbr.ru/CreditInfoWebServ/CreditOrgInfo.asmx?WSDL
I use command:
wsimport -d C:\test http://www.cbr.ru/CreditInfoWebServ/CreditOrgInfo.asmx?WSDL -Xnocompile
As a result of many such errors
[ERROR] undefined element declaration 's:schema' line 55 of http://www.cbr.ru/CreditInfoWebServ/CreditOrgInfo.asmx?WSDL
UPDATE
I tried undefined element declaration 'xs:schema' used the command >>
wsimport -b http://www.w3.org/2001/XMLSchema.xsd -b customization.xjb CreditOrgInfo.wsdl
and got an error:
org.xml.sax.SAXParseException; systemId: w3.org/2001/XMLSchema.xsd; lineNumber: 67; columnNumber: 11; External DTD: Failed to read external DTD 'XMLSchema.dtd', because 'http' access is not allowed due to restriction set by the accessExternalDTD property.