How to ignore duplicate xsd elements while generating proxy class wsdl scheme in .NET -


i need generate .net (c#) proxy classes wsdl scheme

http://hh.ru/services/vacancyservice?wsdl

but receive error:

the global element 'http://ns.hr-xml.org/2007-04-15:internetdomainname' has been declared. 

i tried use wsdl.exe, svcutil.exe tools ms vs 2012 , 2010 without success.

it's possible avoid error while generating proxy classes in soapui (by axis 1.x wsdl2java tool) , unchecking noimports checkbox.

is there way make wsdl.exe or svcutil.exe ignore duplicate xsd elements? or maybe modifying downloaded wsdl scheme?

p.s.: current web service presented "as-is" , it's no chance change somehow.

no, there no such option. best option write own utility downloads wsdl , removes duplicate definitions before passing file xsd.exe.


Comments