我正在尝试使用https://www.sandbox.paypal.com/wsdl/PayPalSvc.wsdl付款快速结账.当我打电话使用
PayPalAPIAASoapBinding paypal = new PayPalAPIAASoapBinding();
Run Code Online (Sandbox Code Playgroud)
我收到了错误
无法生成临时类(result = 1).错误CS0030:无法将类型'exprtesscheckoutdemo.com.paypal.sandbox.TupleType []'转换为'paypal.sandbox.TupleType'错误CS0029:无法隐式转换类型'paypal.sandbox.TupleType'到
怎么过来这个
我的任务是将数据发送到第三方Web服务,他们提供的测试服务已被证明可以与Java客户端一起使用,但是,它不在.Net中.
当我生成服务代理并实例化服务或序列化请求对象时,我收到以下错误:
Unable to generate a temporary class (result=1).
error CS0030: Cannot convert type 'TestStarXML.wsStarService.VSOptionInclusiveSetType[]' to 'TestStarXML.wsStarService.VSOptionInclusiveSetType'
error CS0030: Cannot convert type 'TestStarXML.wsStarService.VSOptionConflictSetType[]' to 'TestStarXML.wsStarService.VSOptionConflictSetType'
error CS0030: Cannot convert type 'TestStarXML.wsStarService.ColorRequirementSetType[]' to 'TestStarXML.wsStarService.ColorRequirementSetType'
error CS0030: Cannot convert type 'TestStarXML.wsStarService.ColorExclusionSetType[]' to 'TestStarXML.wsStarService.ColorExclusionSetType'
error CS0029: Cannot implicitly convert type 'TestStarXML.wsStarService.VSOptionInclusiveSetType' to 'TestStarXML.wsStarService.VSOptionInclusiveSetType[]'
error CS0029: Cannot implicitly convert type 'TestStarXML.wsStarService.VSOptionConflictSetType' to 'TestStarXML.wsStarService.VSOptionConflictSetType[]'
error CS0029: Cannot implicitly convert type 'TestStarXML.wsStarService.ColorRequirementSetType' to 'TestStarXML.wsStarService.ColorRequirementSetType[]'
error CS0029: Cannot implicitly convert type 'TestStarXML.wsStarService.ColorExclusionSetType' to 'TestStarXML.wsStarService.ColorExclusionSetType[]'
Run Code Online (Sandbox Code Playgroud)
向我们发送此服务的第三方使用Java,他们从测试服务生成服务代理没有问题.到目前为止,我的理解是.Net(见此处)中存在一个错误,为WSDL文件生成XSD. …