Note that there are some explanatory texts on larger screens.

plurals
  1. POCannot generate service reference after upgrading to Magento Enterprise v 1.11.1
    text
    copied!<p>Last week our IT team upgraded from Magento Enterprise edition 1.11.0 to 1.11.1. Since then, I can no longer generate a service reference in a C# project in Visual Studio using the Magento API V2 WSDL URL. No errors are shown but the process fails and no code is generated.</p> <p>To try and get more details I used SVCUTIL.EXE, a tool that is included with Visual Studio 2010, to generate the .NET classes that act against the service and in doing so I get numerous schema validation errors.</p> <p><strong>Output snipet...</strong></p> <p>Attempting to download metadata from 'http://[domain]/index.php/api/v2_soap?wsdl=1' using WS-Metadata Exchange or DISCO.</p> <p>Generating files...</p> <p>Error: There was a validation error on a schema generated during export: Source: Line: 44 Column: 4 Validation Error: The global element 'http://schemas.xmlsoap.org/soap/encoding/:Array' has already been declared.</p> <p>Error: There was a validation error on a schema generated during export: Source: Line: 50 Column: 4 Validation Error: The global element 'http://schemas.xmlsoap.org/soap/encoding/:Struct' has already been declared.</p> <p>Error: There was a validation error on a schema generated during export: Source: Line: 66 Column: 4 Validation Error: The global element 'http://schemas.xmlsoap.org/soap/encoding/:duration' has already been declared.</p> <p>Error: There was a validation error on a schema generated during export: Source: Line: 75 Column: 4 Validation Error: The global element 'http://schemas.xmlsoap.org/soap/encoding/:dateTime' has already been declared.</p> <p>Error: There was a validation error on a schema generated during export: Source: Line: 86 Column: 4 Validation Error: The global element 'http://schemas.xmlsoap.org/soap/encoding/:NOTATION' has already been declared.</p> <p>Error: There was a validation error on a schema generated during export: Source: Line: 96 Column: 4 Validation Error: The global element 'http://schemas.xmlsoap.org/soap/encoding/:time' has already been declared.</p> <p><strong>Question</strong></p> <p>Has anyone else experienced this after upgrading to a new version of Magento? Is there anything in Visual Studio I can leverage to get more details about the error? As far as I can tell the problem originates with the WSDL provided by the Magento service.</p> <p>Thanks for any help you can provide.</p>
 

Querying!

 
Guidance

SQuiL has stopped working due to an internal error.

If you are curious you may find further information in the browser console, which is accessible through the devtools (F12).

Reload