saeidgab
پنج شنبه 07 شهریور 1392, 15:30 عصر
سلام ، سایت EgoPay (یه سایت سیستم پولی) یه وب سرویس داره که وقتی اون رو به پروژه اضافه میکنم (از طریق گزینه Add Service Reference ) یه خطا میگیرم:
Custom tool error: Failed to generate code for the service reference 'ServiceReference1'. Please check other error and warning messages for details.
3 تا Warning هم دارم که به نظر مشکل از اوناست:
Custom tool warning: Cannot import wsdl:portType
Detail: An exception was thrown while running a WSDL import extension: System.ServiceModel.Description.XmlSerializerMessa geContractImporter
Error: The datatype 'http://schemas.xmlsoap.org/soap/encoding/:Array' is missing.
XPath to Error Source: //wsdl:definitions[@targetNamespace='https://www.egopay.com/api/soap']/wsdl:portType[@name='API_EgoPay_SoapPort']
Custom tool warning: Cannot import wsdl:port
Detail: There was an error importing a wsdl:binding that the wsdl:port is dependent on.
XPath to wsdl:binding: //wsdl:definitions[@targetNamespace='https://www.egopay.com/api/soap']/wsdl:binding[@name='API_EgoPay_SoapBinding']
XPath to Error Source: //wsdl:definitions[@targetNamespace='https://www.egopay.com/api/soap']/wsdl:service[@name='API_EgoPay_SoapService']/wsdl:port[@name='API_EgoPay_SoapPort']
Custom tool warning: Cannot import wsdl:binding
Detail: There was an error importing a wsdl:portType that the wsdl:binding is dependent on.
XPath to wsdl:portType: //wsdl:definitions[@targetNamespace='https://www.egopay.com/api/soap']/wsdl:portType[@name='API_EgoPay_SoapPort']
XPath to Error Source: //wsdl:definitions[@targetNamespace='https://www.egopay.com/api/soap']/wsdl:binding[@name='API_EgoPay_SoapBinding']
آدرس وب سرویس مربوطه هم اینه.
https://www.egopay.com/api/soap?wsdl
سایت EgoPay کد سمپل گذاشته ولی همه به PHP هستن ولی من از Asp.Net استفاده میکنم. به خودشون هم مشکل رو گفتم ولی گفتن سیستمشون مشکل نداره و الان داره کار میکنه.
ممنون میشم اگه کسی راهنمایی کنه یا اگه بتونه خودش این وب سرویس رو Add کنه ببینه کار میکنه یا Error میده
Custom tool error: Failed to generate code for the service reference 'ServiceReference1'. Please check other error and warning messages for details.
3 تا Warning هم دارم که به نظر مشکل از اوناست:
Custom tool warning: Cannot import wsdl:portType
Detail: An exception was thrown while running a WSDL import extension: System.ServiceModel.Description.XmlSerializerMessa geContractImporter
Error: The datatype 'http://schemas.xmlsoap.org/soap/encoding/:Array' is missing.
XPath to Error Source: //wsdl:definitions[@targetNamespace='https://www.egopay.com/api/soap']/wsdl:portType[@name='API_EgoPay_SoapPort']
Custom tool warning: Cannot import wsdl:port
Detail: There was an error importing a wsdl:binding that the wsdl:port is dependent on.
XPath to wsdl:binding: //wsdl:definitions[@targetNamespace='https://www.egopay.com/api/soap']/wsdl:binding[@name='API_EgoPay_SoapBinding']
XPath to Error Source: //wsdl:definitions[@targetNamespace='https://www.egopay.com/api/soap']/wsdl:service[@name='API_EgoPay_SoapService']/wsdl:port[@name='API_EgoPay_SoapPort']
Custom tool warning: Cannot import wsdl:binding
Detail: There was an error importing a wsdl:portType that the wsdl:binding is dependent on.
XPath to wsdl:portType: //wsdl:definitions[@targetNamespace='https://www.egopay.com/api/soap']/wsdl:portType[@name='API_EgoPay_SoapPort']
XPath to Error Source: //wsdl:definitions[@targetNamespace='https://www.egopay.com/api/soap']/wsdl:binding[@name='API_EgoPay_SoapBinding']
آدرس وب سرویس مربوطه هم اینه.
https://www.egopay.com/api/soap?wsdl
سایت EgoPay کد سمپل گذاشته ولی همه به PHP هستن ولی من از Asp.Net استفاده میکنم. به خودشون هم مشکل رو گفتم ولی گفتن سیستمشون مشکل نداره و الان داره کار میکنه.
ممنون میشم اگه کسی راهنمایی کنه یا اگه بتونه خودش این وب سرویس رو Add کنه ببینه کار میکنه یا Error میده