Click here to Skip to main content
15,890,282 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
See more:
We are getting error when we take webreference for magento integration. The error is

Unable to import binding ‘Mage_Api_Model_Server_V2_HandlerBinding’ from namespace ‘urn:Magento’

Please help us out


Regards
Sangamesh Arali
Posted

1 solution

We execute below url in command prompt which is run by Administrator

C:\Program Files\Microsoft SDKs\Windows\v7.0A\bin>wsdl.exe /language:cs /out:MagentoService.cs /n:MagentoService http://localhost:81/magento16/index.php/api/v2_soap/?wsdl

and We set WS-i Compliance to YES (you need to go to Magento BackEnd on the System / Configuration /Core Api)

after this it has been created proxy class then we update web reference, it will execute without error. We accessed webservice by calling objects

We used magento 1.6.2.0 version. It will give same error for magento version 1.7.0

Regards
Sangamesh Arali
 
Share this answer
 
v4

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900