Auto Generation of Web Service Client from Google AdSense wsdl with netbeans(Axis2 Support)

42 views
Skip to first unread message

Hunnad

unread,
Oct 11, 2009, 3:22:59 PM10/11/09
to AdSense API Forum
Hi,

I installed Axis2 Support plugin in netbeans, and generated Web
Service Client from Google AdSense wsdl.

And there was an error:

-------------------------------------------
command line: wsimport -d E:\Work\Project\work\GAMS\build\generated
\jax-wsCache\service\AccountService -extension -Xnocompile -keep -s E:
\Work\Project\work\GAMS\build\generated\jax-wsCache\service
\AccountService -catalog E:\Work\Project\work\GAMS\catalog.xml -
verbose E:\Work\Project\work\GAMS/src/conf/xml-resources/web-services/
AccountService/wsdl/www.google.com/api/adsense/v3/AccountService.wsdl
parsing WSDL...

[ERROR] operation "changeRevenueShareTier" has an invalid style
line 375 of file:/E:/Work/Project/work/GAMS/src/conf/xml-resources/
web-services/AccountService/wsdl/www.google.com/api/adsense/v3/
AccountService.wsdl
.........
-------------------------------------------

The error happened in the following place:
---------------------------

<wsdl:operation name="changeRevenueShareTier">
<wsdl:input xmlns:wsaw="http://www.w3.org/2006/05/addressing/wsdl"
message="ns0:changeRevenueShareTierMessage"
wsaw:Action="urn:changeRevenueShareTier" />
<wsdl:fault message="ns0:changeRevenueShareTierFault"
name="changeRevenueShareTierFault" />
--------------------------------

There is no <wsdl:output message="xxx">, only wsdl:input and
wsdl:fault.
"wsimport" seems cann't recognize this kind of style.
Have anyone met this problem before?

Thanks!






Reply all
Reply to author
Forward
0 new messages