[英]Java paypal merchant SDK transaction search works on OSX but not on Windows
I'm building a Java application that utilizes the Java Paypal Merchant SDK and have come across an issue that I cannot figure out. 我正在构建一个利用Java Paypal Merchant SDK的Java应用程序,遇到了一个我无法解决的问题。
The app works perfectly when I run it on the machine that I developed it on (a mac in this case) but when I move it to the dedicated machine (a VPS running widows server 2012 in) it behaves completely different on this one call to the Paypal api. 当我在自己开发的机器(在本例中为Mac)上运行该应用程序时,它运行良好,但是当我将其移至专用计算机(运行寡妇服务器2012的VPS)时,该调用的行为完全不同Paypal API。 Everything else works perfectly.
其他一切都完美运行。
The method call in question: 有问题的方法调用:
service = new PayPalAPIInterfaceServiceService("PaypalInfo/sdk_config.properties");
TransactionSearchResponseType transactionSearchResponse = null;
try {
transactionSearchResponse = service.transactionSearch(transactionSearchReq);
} catch (Exception e) {
e.printStackTrace();
}
On OSX this call returns the correct information, on Windows it returns nothing, the SOAP call and return is different. 在OSX上,此调用返回正确的信息,在Windows上,它不返回任何信息,SOAP调用和返回是不同的。 In both instances the program was packaged the same, so I know that is not the issue.
在这两种情况下,程序的打包方式相同,所以我知道这不是问题。 I have followed all the guides on the sdk github but can not get it to work.
我已遵循sdk github上的所有指南,但无法使其正常工作。
I can post the logger output which has the XML of the SOAP calls if that would help answer the question. 如果可以帮助回答问题,我可以发布具有SOAP调用XML的记录器输出。
Thanks in advance! 提前致谢!
EDIT: 编辑:
SOAP request: http://pastebin.com/xrpRVywx SOAP请求: http : //pastebin.com/xrpRVywx
SOAP response: http://pastebin.com/aRT3JvbS SOAP响应: http : //pastebin.com/aRT3JvbS
Without more details about the PayPal API and the response you are getting, it is hard to say, but off the top of my head I would guess that either: 没有关于PayPal API和您得到的响应的更多详细信息,很难说,但是我想不到的是:
声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.