无法从名称空间"urn:Magento"导入绑定"Mage_Api_Model_Server_V2_HandlerBinding"以进行magento集成 [英] Unable to import binding ‘Mage_Api_Model_Server_V2_HandlerBinding’ from namespace ‘urn:Magento’ for magento integration
本文介绍了无法从名称空间"urn:Magento"导入绑定"Mage_Api_Model_Server_V2_HandlerBinding"以进行magento集成的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!
问题描述
当我们使用webreference进行magento集成时,我们会遇到错误.错误是
无法从名称空间"urn:Magento"导入绑定"Mage_Api_Model_Server_V2_HandlerBinding"
请帮助我们
问候
Sangamesh Arali
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
推荐答案
我们在由管理员运行的命令提示符下的url下执行
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
并且我们将WS-i Compliance设置为YES(您需要转到系统/配置/Core Api上的Magento BackEnd)
创建完代理类之后,我们将更新Web参考,它将正确执行.我们通过调用对象访问网络服务
我们使用了magento 1.6.2.0版本.对于magento版本1.7.0,它将给出相同的错误
问候
Sangamesh Arali
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
这篇关于无法从名称空间"urn:Magento"导入绑定"Mage_Api_Model_Server_V2_HandlerBinding"以进行magento集成的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!
查看全文