Unable to generate a temporary class (result=1). error CS0030:

前端 未结 1 586
自闭症患者
自闭症患者 2021-02-19 05:13

I am trying to paypal express checkout i used https://www.sandbox.paypal.com/wsdl/PayPalSvc.wsdl. when i call use

PayPalAPIAASoapBinding paypal = new PayPalA         


        
1条回答
  •  难免孤独
    2021-02-19 05:34

    Just hit this myself when updating to version 119. In your generated Web service file, do a find for [][] and replace all occurrences with []. The bad guy seems to be the merchantDataField in the PaymentDetailsType.

    It seems to be a bug in the Microsoft WSDL tools when interacting with services that have "nested nodes with the maxOccurs attribute set to unbounded"; I've encountered it before when interacting with FedEx SOAP APIs as well.

    0 讨论(0)
提交回复
热议问题