Gmail Calendar Documents Reader Web more »
Recently Visited Groups | Help | Sign in
Google Groups Home
Auto Generation of Web Service Client from Google AdSense wsdl
There are currently too many topics in this group that display first. To make this topic appear first, remove this option from another topic.
There was an error processing your request. Please try again.
flag
  2 messages - Collapse all  -  Translate all to Translated (View all originals)
The group you are posting to is a Usenet group. Messages posted to this group will make your email address visible to anyone on the Internet.
Your reply message has not been sent.
Your post was successful
 
From:
To:
Cc:
Followup To:
Add Cc | Add Followup-to | Edit Subject
Subject:
Validation:
For verification purposes please type the characters you see in the picture below or the numbers you hear by clicking the accessibility icon. Listen and type the numbers you hear
 
HaggisCode  
View profile  
 More options Oct 7 2009, 5:29 am
From: HaggisCode <hamishnr...@googlemail.com>
Date: Wed, 7 Oct 2009 02:29:06 -0700 (PDT)
Local: Wed, Oct 7 2009 5:29 am
Subject: Auto Generation of Web Service Client from Google AdSense wsdl
We've been having trouble with the sandbox wsdl so as we're close to
going live I figured I'd check that we will, if neccessary, be able to
rebuild our client against the live service wsdl. It appears not. I
tried using both the Axis tool in Eclipse and the underlying wsdl2java
utility in cxf from the command line. Heres the result:

C:\Documents and Settings\haggiscode>wsdl2java -client -d C:\temptest
\googleclient h
ttps://www.google.com/api/adsense/v3/AccountService?wsdl
07-Oct-2009 10:12:55 org.apache.cxf.transport.https.SSLUtils
getCiphersuites
INFO: The cipher suites have not been configured, falling back to
cipher suite f
ilters.
07-Oct-2009 10:12:55 org.apache.cxf.transport.https.SSLUtils
getCiphersuites
INFO: The cipher suite filters have not been configured, falling back
to default
 filters.
07-Oct-2009 10:12:55 org.apache.cxf.transport.https.SSLUtils
getCiphersFromList
INFO: The cipher suites have been set to SSL_RSA_WITH_RC4_128_MD5,
SSL_RSA_WITH_
RC4_128_SHA, TLS_RSA_WITH_AES_128_CBC_SHA,
TLS_DHE_RSA_WITH_AES_128_CBC_SHA, TLS
_DHE_DSS_WITH_AES_128_CBC_SHA, SSL_RSA_WITH_3DES_EDE_CBC_SHA,
SSL_DHE_RSA_WITH_3
DES_EDE_CBC_SHA, SSL_DHE_DSS_WITH_3DES_EDE_CBC_SHA,
SSL_RSA_WITH_DES_CBC_SHA, SS
L_DHE_RSA_WITH_DES_CBC_SHA, SSL_DHE_DSS_WITH_DES_CBC_SHA,
SSL_RSA_EXPORT_WITH_RC
4_40_MD5, SSL_RSA_EXPORT_WITH_DES40_CBC_SHA,
SSL_DHE_RSA_EXPORT_WITH_DES40_CBC_S
HA, SSL_DHE_DSS_EXPORT_WITH_DES40_CBC_SHA, TLS_KRB5_WITH_RC4_128_SHA,
TLS_KRB5_W
ITH_RC4_128_MD5, TLS_KRB5_WITH_3DES_EDE_CBC_SHA,
TLS_KRB5_WITH_3DES_EDE_CBC_MD5,
 TLS_KRB5_WITH_DES_CBC_SHA, TLS_KRB5_WITH_DES_CBC_MD5,
TLS_KRB5_EXPORT_WITH_RC4_
40_SHA, TLS_KRB5_EXPORT_WITH_RC4_40_MD5,
TLS_KRB5_EXPORT_WITH_DES_CBC_40_SHA, TL
S_KRB5_EXPORT_WITH_DES_CBC_40_MD5.

WSDLToJava Error: Thrown by JAXB : undefined simple or complex type
'xs:Exceptio
n'

Eclipse winged about a problem with associateAccountFault which I'm
guessing is related - summary output here:

IWAB0399E Error in generating Java from WSDL:  java.io.IOException:
ERROR: Missing <soap:fault> element inFault "associateAccountFault" in
operation "associateAccountFault", in binding associateAccount
    java.io.IOException: ERROR: Missing <soap:fault> element inFault
"associateAccountFault" in operation "associateAccountFault", in
binding associateAccount
    at

Any suggestions how we get round this? or are you replacing the wsdl?

Cheers for your help with this

H


    Reply to author    Forward  
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
Google AdSense API Support Team  
View profile  
 More options Oct 7 2009, 6:21 pm
From: Google AdSense API Support Team <adsenseapi-supportt...@google.com>
Date: Wed, 7 Oct 2009 15:21:07 -0700 (PDT)
Local: Wed, Oct 7 2009 6:21 pm
Subject: Re: Auto Generation of Web Service Client from Google AdSense wsdl
H,

Are you using Axis2's WSDL2Java?  There are some interoperability
issues between the two, and since our backend relies on Axis2, we
suggest you use that as well (specifically v1.4).  The command to
generate for all ports (binding styles) should be as follows:

./wsdl2java.sh -p com.google.api.adsense.v3.${SERVICE_NAME} -ap -uri
https://google.com/api/adsense/v3/${SERVICE_NAME}?wsdl

To generate for a specific binding style (say, SOAP 1.1), use:
./wsdl2java.sh -p com.google.api.adsense.v3.${SERVICE_NAME} -pn v3/$
{SERVICE_NAME}SOAP11port_https -uri https://google.com/api/adsense/v3/${SERVICE_NAME}?wsdl

Cheers,
Wes

On Oct 7, 2:29 am, HaggisCode <hamishnr...@googlemail.com> wrote:


    Reply to author    Forward  
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
End of messages
« Back to Discussions « Newer topic     Older topic »

Create a group - Google Groups - Google Home - Terms of Service - Privacy Policy
©2010 Google