re:生成v8 java时出错 [英] re: Errors when generating v8 java

查看:83
本文介绍了re:生成v8 java时出错的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

Eric  -  


很抱歉继续这里的主题,但我一直在试图回复原来的帖子。在生成我的类时,我已经按照文档,但我使用的是wsdl2java ant任务,而我正在使用namespace / package选项。在ant任务或命名空间/包选项导致我的问题的
可能性之后,我使用您引用的页面中的指令生成了类:  http://msdn.microsoft.com/en-us/library/adcenter-overview- get-started-java-with-web-services.aspx #s proxy 


我使用了记录的命令,但是从以下网址获取了wsdl地址:  http://msdn.microsoft.com/en-US/library/ adcenter-overview-web-service-addresses.aspx   ( 当
生成我的课程时,我使用在该位置发布的wsdls)导致:



java org.apache.axis.wsdl.WSDL2Java -a https://adcenterapi.microsoft.com/Api/Advertiser/v8/CampaignManagement/CampaignManagementService.svc? wsdl

ge nerated java导致3"Null"类:



DownloadStatusNull.java

AdDistributionNull.java

DownloadEntityFilterNull.java


为了笑容,我尝试使用https://sandboxapi.adcenterapi.microsoft.com/Api/Advertiser/v8/CampaignManagment/CampaignManagementService.svc?wsdl,结果如下:


ChangeTypeNull.java

AdDistributionNull.java


所以我仍然对我如何获得这些Null课程感到困惑,你不是t。


谢谢 -


玛格丽特


 

解决方案

嗨玛格丽特,


我很抱歉您在发布论坛时收到错误消息。我已经联系了我们的DEV小组来调查这个问题。


关于你的问题,Eric继续回答你原来的主题:


http://community.microsoftadvertising.com/forums/t/70486.aspx


谢谢! : - )


Eric  - 

Sorry for continuing the thread here, but I keep getting 500's trying to reply to my original post. When generating my classes, I have followed the documentation, but I was using the wsdl2java ant task and I was using the namespace/package option. On the possibility that the ant task or the namespace/package option was causing my issues, I then generated the classes using the instructions from the page you referenced: http://msdn.microsoft.com/en-us/library/adcenter-overview-getting-started-java-with-web-services.aspx#proxy 

I used the documented command, but  took the wsdl address from: http://msdn.microsoft.com/en-US/library/adcenter-overview-web-service-addresses.aspx  ( When generating my classes, I am using the the wsdls published at that location) resulting in:

java org.apache.axis.wsdl.WSDL2Java -a https://adcenterapi.microsoft.com/Api/Advertiser/v8/CampaignManagement/CampaignManagementService.svc?wsdl
The generated java resulted in 3 "Null" classes:

DownloadStatusNull.java
AdDistributionNull.java
DownloadEntityFilterNull.java

Just for grins, I tried using the https://sandboxapi.adcenterapi.microsoft.com/Api/Advertiser/v8/CampaignManagment/CampaignManagementService.svc?wsdl and the following resulted:

ChangeTypeNull.java
AdDistributionNull.java

So I'm still mystified about how I'm getting these Null classes and you aren't.

Thanks -

Margaret

 

解决方案

Hi Margaret,

I apologize you were receiving error messages while posting to the forum. I have reached out to our DEV team to investigate this issues.

Regarding your question, Eric went ahead and replied to your original thread here:

http://community.microsoftadvertising.com/forums/t/70486.aspx

Thanks! :-)


这篇关于re:生成v8 java时出错的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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