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-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
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
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
, );
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
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
-
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
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
]
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