RE: axis2 and Google adwords WS: getting org.apache.axis2.AxisFault: Transport error: 415 Error: Unsupported Media Type

2007-08-03 Thread Martin Holzner
scratch. -Original Message- From: Davanum Srinivas [mailto:[EMAIL PROTECTED] Sent: Wednesday, August 01, 2007 6:17 PM To: axis-user@ws.apache.org Subject: Re: axis2 and Google adwords WS: getting org.apache.axis2.AxisFault: Transport error: 415 Error: Unsupported Media Type

axis2 and Google adwords WS: getting org.apache.axis2.AxisFault: Transport error: 415 Error: Unsupported Media Type

2007-08-01 Thread Martin Holzner
axis2-1.2 (WinXP, java version 1.5.0_11) Steps to reproduce: * downloaded the wsdl from https://sandbox.google.com/api/adwords/v10/AccountService?wsdl (as AccountServiceV10.wsdl) * ran command line: %AXIS2_HOME%\bin\wsdl2java -d xmlbeans -uri ./AccountServiceV10.wsdl -g -sd

Re: axis2 and Google adwords WS: getting org.apache.axis2.AxisFault: Transport error: 415 Error: Unsupported Media Type

2007-08-01 Thread Davanum Srinivas
try skipping the UTF-8 in the http header that you send using: accountService._getServiceClient().getOptions().setProperty(org.apache.axis2.Constants.Configuration.CONTENT_TYPE ,text/xml); thanks, dims On 8/1/07, Martin Holzner [EMAIL PROTECTED] wrote: axis2-1.2 (WinXP, java version

RE: axis2 and Google adwords WS: getting org.apache.axis2.AxisFault: Transport error: 415 Error: Unsupported Media Type

2007-08-01 Thread Martin Holzner
: Re: axis2 and Google adwords WS: getting org.apache.axis2.AxisFault: Transport error: 415 Error: Unsupported Media Type try skipping the UTF-8 in the http header that you send using: accountService._getServiceClient().getOptions().setProperty(org.apache.a xis2.Constants.Configuration.CONTENT_TYPE

Re: axis2 and Google adwords WS: getting org.apache.axis2.AxisFault: Transport error: 415 Error: Unsupported Media Type

2007-08-01 Thread Davanum Srinivas
, ); But that still sends a ;charset= Any other ideas? Thanks, Martin -Original Message- From: Davanum Srinivas [mailto:[EMAIL PROTECTED] Sent: Wednesday, August 01, 2007 2:21 PM To: axis-user@ws.apache.org Subject: Re: axis2 and Google adwords WS: getting org.apache.axis2.AxisFault: Transport

RE: axis2 and Google adwords WS: getting org.apache.axis2.AxisFault: Transport error: 415 Error: Unsupported Media Type

2007-08-01 Thread Martin Holzner
Subject: Re: axis2 and Google adwords WS: getting org.apache.axis2.AxisFault: Transport error: 415 Error: Unsupported Media Type Can you please try the 1.3-SNAPSHOT? http://people.apache.org/dist/axis2/nightly/ thanks, dims On 8/1/07, Martin Holzner [EMAIL PROTECTED] wrote: Thanks for the quick reply

Re: axis2 and Google adwords WS: getting org.apache.axis2.AxisFault: Transport error: 415 Error: Unsupported Media Type

2007-08-01 Thread Davanum Srinivas
- From: Davanum Srinivas [mailto:[EMAIL PROTECTED] Sent: Wednesday, August 01, 2007 2:54 PM To: Martin Holzner Cc: axis-user@ws.apache.org Subject: Re: axis2 and Google adwords WS: getting org.apache.axis2.AxisFault: Transport error: 415 Error: Unsupported Media Type Can you please try

RE: axis2 and Google adwords WS: getting org.apache.axis2.AxisFault: Transport error: 415 Error: Unsupported Media Type

2007-08-01 Thread Martin Holzner
PROTECTED] Sent: Wednesday, August 01, 2007 2:21 PM To: axis-user@ws.apache.org Subject: Re: axis2 and Google adwords WS: getting org.apache.axis2.AxisFault: Transport error: 415 Error: Unsupported Media Type try skipping the UTF-8 in the http header that you send using: accountService

Re: axis2 and Google adwords WS: getting org.apache.axis2.AxisFault: Transport error: 415 Error: Unsupported Media Type

2007-08-01 Thread Davanum Srinivas
] Sent: Wednesday, August 01, 2007 6:17 PM To: axis-user@ws.apache.org Subject: Re: axis2 and Google adwords WS: getting org.apache.axis2.AxisFault: Transport error: 415 Error: Unsupported Media Type Martin, Did you regenerate the stubs? using the wsdl2java from 1.3? -- dims On 8/1/07