从Java应用程序中检索SOAP [英] Retrieve SOAP from Java Applications

查看:98
本文介绍了从Java应用程序中检索SOAP的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

您好,

我们有一段时间没有停止此错误。我想知道是否有一个简单的解决方案来捕获SOAP以了解发生了什么。

It's been a while that we are getting this error non stop. And I was wondering if there is an easy solution to capture the SOAP in order to know what is going on.

我们正在使用 com.microsoft.bingads 库版本
11.12.6.1
,它是一个Java应用程序。

We are using com.microsoft.bingads library with the version 11.12.6.1 and it is a Java application.

在Google Adwords中,只需在Log4j中添加一行,我就能够这样做,但我找不到正确的方法。

In Google Adwords just by adding a line in the Log4j I was able to do it, but I can't find the right way to do it.

提前多多感谢。

java.util.concurrent.ExecutionException: com.microsoft.bingads.v12.bulk.CouldNotSubmitBulkDownloadException: java.util.concurrent.ExecutionException: com.microsoft.bingads.v12.bulk.ApiFaultDetail_Exception: Invalid client data. Check the SOAP fault details for more information
	at com.microsoft.bingads.internal.ResultFuture.get(ResultFuture.java:96)
	at com.trovit.sem.api.bing.download.BingReportManager.submitAndDownloadAsync(BingReportManager.java:200)
	at com.trovit.sem.api.bing.download.BingReportManager.getAllStructureReport(BingReportManager.java:193)
	at com.trovit.sem.api.adwords.download.BingReportDownloaderService.download(BingReportDownloaderService.java:73)
	at com.trovit.sem.api.adwords.download.BingReportDownloaderService.download(BingReportDownloaderService.java:20)
	at com.trovit.sem.api.adwords.download.AdWordsDownloaderSauce$DownloaderCallable.call(AdWordsDownloaderSauce.java:212)
	at java.util.concurrent.FutureTask.run(FutureTask.java:266)
	at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1142)
	at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:617)
	at java.lang.Thread.run(Thread.java:745)
Caused by: com.microsoft.bingads.v12.bulk.CouldNotSubmitBulkDownloadException: java.util.concurrent.ExecutionException: com.microsoft.bingads.v12.bulk.ApiFaultDetail_Exception: Invalid client data. Check the SOAP fault details for more information
	at com.microsoft.bingads.v12.bulk.BulkServiceManager$6.handleResponse(BulkServiceManager.java:424)
	at org.apache.cxf.jaxws.JaxwsClientCallback.handleException(JaxwsClientCallback.java:87)
	at org.apache.cxf.endpoint.ClientImpl.onMessage(ClientImpl.java:829)
	at org.apache.cxf.transport.http.HTTPConduit$WrappedOutputStream.handleResponseInternal(HTTPConduit.java:1682)
	at org.apache.cxf.transport.http.HTTPConduit$WrappedOutputStream$1.run(HTTPConduit.java:1176)
	at org.apache.cxf.workqueue.AutomaticWorkQueueImpl$3.run(AutomaticWorkQueueImpl.java:428)
	at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1142)
	at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:617)
	at org.apache.cxf.workqueue.AutomaticWorkQueueImpl$AWQThreadFactory$1.run(AutomaticWorkQueueImpl.java:353)
	... 1 more
Caused by: java.util.concurrent.ExecutionException: com.microsoft.bingads.v12.bulk.ApiFaultDetail_Exception: Invalid client data. Check the SOAP fault details for more information
	at org.apache.cxf.jaxws.JaxwsClientCallback$2.get(JaxwsClientCallback.java:99)
	at com.microsoft.bingads.v12.bulk.BulkServiceManager$6.handleResponse(BulkServiceManager.java:410)
	... 9 more

推荐答案

您可以尝试升级到SDK版本12.0.2并按照故障排除指南 添加此行以获取详细的
跟踪:

You might try upgrading to SDK version 12.0.2 and per the troubleshooting guide add this line to get a detailed trace:

System.setProperty("com.sun.xml.ws.transport.http.client.HttpTransportPipe.dump", "true");




我希望这会有所帮助!

Eric


这篇关于从Java应用程序中检索SOAP的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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