hi,

i am using .net 2/c# with adwords api2009 (without the .net client
library).

i am trying to instantiate the BulkMutateJobService:

BulkMutateJobService service =
                new BulkMutateJobService();

and i get the following error (see at the end ):...

i have already fixed 1 issue with the SoapHeader class by renaming it
(thanks to this forum), but i am clue-less with this one,

i am generating the stubs using:
wsdl.exe /l:cs /o:C:\AdWordsService2.cs /sharetypes /
n:Service.ref_AdWords2  
https://adwords.google.com/api/adwords/job/v200909/BulkMutateJobService?wsdl

any help appreciated,

thanks in advance,
albert

ps. using the .net client library is not an option

--------------------

System.InvalidOperationException was unhandled
  Message="Unable to generate a temporary class (result=1).\r\nerror
CS0030: Cannot convert type 'Service.ref_AdWords2.OperationResult[]'
to 'Service.ref_AdWords2.OperationResult'\r\nerror CS0029: Cannot
implicitly convert type 'Service.ref_AdWords2.OperationResult' to
'Service.ref_AdWords2.OperationResult[]'\r\n"
  Source="System.Xml"
  StackTrace:
       at System.Xml.Serialization.Compiler.Compile(Assembly parent,
String ns, XmlSerializerCompilerParameters xmlParameters, Evidence
evidence)
       at System.Xml.Serialization.TempAssembly.GenerateAssembly
(XmlMapping[] xmlMappings, Type[] types, String defaultNamespace,
Evidence evidence, XmlSerializerCompilerParameters parameters,
Assembly assembly, Hashtable assemblies)
       at System.Xml.Serialization.TempAssembly..ctor(XmlMapping[]
xmlMappings, Type[] types, String defaultNamespace, String location,
Evidence evidence)
       at
System.Xml.Serialization.XmlSerializer.GetSerializersFromCache
(XmlMapping[] mappings, Type type)
       at System.Xml.Serialization.XmlSerializer.FromMappings
(XmlMapping[] mappings, Type type)
       at System.Web.Services.Protocols.SoapClientType..ctor(Type
type)
       at System.Web.Services.Protocols.SoapHttpClientProtocol..ctor()
       at Service.ref_AdWords2.BulkMutateJobService..ctor() in C:
\Inetpub\wwwroot\webServices\Service\Web References
\ref_AdWords2\AdWordsService2.cs:line 6502
       at Service.API.AdWords2.BulkService.Test_getbulks() in C:
\Inetpub\wwwroot\webServices\Service\API\AdWords2\BulkService.cs:line
12
       at ConsoleDebugger.Test12.Test_aw_getbulks() in C:\Inetpub
\wwwroot\webServices\ConsoleDebugger\Test12_6aw2.cs:line 124
       at ConsoleDebugger.Program.RunTest44() in C:\Inetpub\wwwroot
\webServices\ConsoleDebugger\Program.cs:line 21
       at ConsoleDebugger.Program.Main(String[] args) in C:\Inetpub
\wwwroot\webServices\ConsoleDebugger\Program.cs:line 14
       at System.AppDomain._nExecuteAssembly(Assembly assembly, String
[] args)
       at System.AppDomain.ExecuteAssembly(String assemblyFile,
Evidence assemblySecurity, String[] args)
       at
Microsoft.VisualStudio.HostingProcess.HostProc.RunUsersAssembly()
       at System.Threading.ThreadHelper.ThreadStart_Context(Object
state)
       at System.Threading.ExecutionContext.Run(ExecutionContext
executionContext, ContextCallback callback, Object state)
       at System.Threading.ThreadHelper.ThreadStart()
-------------------

--

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.


Reply via email to