Hello, The problem is google SoapHeader class inherint from System.Web.Services.Protocols.SoapHeader in generated code.
A simple workaround is to change SoapHeader class name to SoapHeader2 in reference.cs of campaignservice change SoapHeader declaration line ~220 public partial class SoapHeader : System.Web.Services.Protocols.SoapHeader to public partial class SoapHeader2 : System.Web.Services.Protocols.SoapHeader in CampaignService class change line ~36 private SoapHeader requestHeaderField; to private SoapHeader2 requestHeaderField; line ~58 public SoapHeader RequestHeader { to public SoapHeader2 RequestHeader { You must do the same thing in all others adwords api Web References (AdGroupService, AdService, ...) Arnaud On Nov 25, 11:08 pm, AdWords API Advisor <adwordsapiadvi...@google.com> wrote: > Hi, > > The cause of this error is due to a class name conflict. More > information can be found in this thread: > > http://groups.google.com/group/adwords-api/browse_thread/thread/fcde4... > > Best, > - Eric Koleda, AdWords API Team > > On Nov 25, 9:39 am, Felfot <noam.f...@gmail.com> wrote: > > > > > Hi, > > > when im doing the following code: > > com.google.adwords.CampaignService service = new > > com.google.adwords.CampaignService(); > > > i getthis error message: > > Method CampaignService.get can not be reflected. > > > does anyone know why>?- Hide quoted text - > > - Show quoted text - -- You received this message because you are subscribed to the Google Groups "AdWords API Forum" group. To post to this group, send email to adwords-...@googlegroups.com. To unsubscribe from this group, send email to adwords-api+unsubscr...@googlegroups.com. For more options, visit this group at http://groups.google.com/group/adwords-api?hl=en.