“无法创建抽象类。”肥皂故障 [英] "Cannot create an abstract class." soap fault

查看:83
本文介绍了“无法创建抽象类。”肥皂故障的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

您好,

我正在尝试通过ICustomerManagementService.addAccount(AddAccountRequest)创建一个Bing Ads帐户。但我总是得到一个"不能创建一个抽象类。"肥皂故障。我做错了什么?

I am trying to create an Bing Ads account via ICustomerManagementService.addAccount(AddAccountRequest). But I always get a "Cannot create an abstract class." soap fault. What am I doing wrong?

Markus

推荐答案

我自己发现了这个问题。我将一个Account对象传递给Bing Ads方面似乎是抽象的请求,但不在Java客户端中。使用AdvertiserAccount解决了这个问题。

I found the problem myself. I passed an Account object into the request which seems to be abstract on Bing Ads side, but is not in the Java client. Using an AdvertiserAccount solved the problem.

Markus


这篇关于“无法创建抽象类。”肥皂故障的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆