Getting WSDL parse error while generating Apex code from WSDL in Salesforce
问题 Getting the following error while parsing the Amazon Product Advertising API. Error: Failed to parse wsdl: simpleType->element Name can not be null. 1295 WSDL Link : http://webservices.amazon.com/AWSECommerceService/AWSECommerceService.wsdl Are there any workarounds? 回答1: I pulled the WSDL down and made the following changes on lines 1292 and 1295. Note the new name attributes on both the inner simpleTypes. <xs:simpleType name="positiveIntegerOrAll"> <xs:union> <xs:simpleType name=