[Mono-list] Controlling WCF Soap serialization in 2.8 - bug?
jddcef
jddcef at gmail.com
Mon Nov 1 09:27:29 EDT 2010
Hi,
I'm interested in a similar question and would like to know what a solution
is or where to start looking for a solution or a codebase:
Trying to generate code as follows (svcutil version 0.1.0.0):
svcutil http://externalappapi.mxit.com:9151/ExternalAppAPI/Comms/mex
> svcutil http://externalappapi.mxit.com:9151/ExternalAppAPI/Comms/mex
> Mono service contract conversion tool 0.1.0.0 - Copyright (C) 2006
> Novell, Inc.
>
> Attempting to download metadata from
> 'http://externalappapi.mxit.com:9151/ExternalAppAPI/Comms/mex' using
> DISCO..
> Disco found documents at the following URLs:
> - WSDL document at
> http://externalappapi.mxit.com:9151/ExternalAppAPI/Comms/mex?wsdl=wsdl0
> - Xml Schema at
> http://externalappapi.mxit.com:9151/ExternalAppAPI/Comms/mex?xsd=xsd10
> - WSDL document at
> http://externalappapi.mxit.com:9151/ExternalAppAPI/Comms/mex?wsdl
> - Xml Schema at
> http://externalappapi.mxit.com:9151/ExternalAppAPI/Comms/mex?xsd=xsd0
> - Xml Schema at
> http://externalappapi.mxit.com:9151/ExternalAppAPI/Comms/mex?xsd=xsd1
> - Xml Schema at
> http://externalappapi.mxit.com:9151/ExternalAppAPI/Comms/mex?xsd=xsd2
> - DISCO document at
> http://externalappapi.mxit.com:9151/ExternalAppAPI/Comms/mex?disco
> - Xml Schema at
> http://externalappapi.mxit.com:9151/ExternalAppAPI/Comms/mex?xsd=xsd4
> - Xml Schema at
> http://externalappapi.mxit.com:9151/ExternalAppAPI/Comms/mex?xsd=xsd5
> - Xml Schema at
> http://externalappapi.mxit.com:9151/ExternalAppAPI/Comms/mex?xsd=xsd6
> - Xml Schema at
> http://externalappapi.mxit.com:9151/ExternalAppAPI/Comms/mex?xsd=xsd7
> - Xml Schema at
> http://externalappapi.mxit.com:9151/ExternalAppAPI/Comms/mex?xsd=xsd8
> - Xml Schema at
> http://externalappapi.mxit.com:9151/ExternalAppAPI/Comms/mex?xsd=xsd9
> - Xml Schema at
> http://externalappapi.mxit.com:9151/ExternalAppAPI/Comms/mex?xsd=xsd3
> Generating files..
>
> Unhandled Exception: System.ArgumentNullException: Argument cannot be
> null.
> Parameter name: collection
> at
> System.Collections.Generic.List`1[System.CodeDom.CodeExpression].CheckCollection
> (IEnumerable`1 collection) [0x00000] in <filename unknown>:0
> at
> System.Collections.Generic.List`1[System.CodeDom.CodeExpression].AddRange
> (IEnumerable`1 collection) [0x00000] in <filename unknown>:0
> at
> System.ServiceModel.Description.ServiceContractGenerator.GenerateImplementationClientMethod
> (System.CodeDom.CodeTypeDeclaration type,
> System.ServiceModel.Description.ContractDescription cd,
> System.ServiceModel.Description.OperationDescription od, Boolean async,
> System.CodeDom.CodeTypeReference& returnTypeFromMessageContract) [0x00000]
> in <filename unknown>:0
> at
> System.ServiceModel.Description.ServiceContractGenerator.AddImplementationClientMethods
> (System.CodeDom.CodeTypeDeclaration type,
> System.ServiceModel.Description.ContractDescription cd) [0x00000] in
> <filename unknown>:0
> at
> System.ServiceModel.Description.ServiceContractGenerator.GenerateProxyClass
> (System.ServiceModel.Description.ContractDescription cd,
> System.CodeDom.CodeNamespace cns) [0x00000] in <filename unknown>:0
> at
> System.ServiceModel.Description.ServiceContractGenerator.GenerateServiceContractType
> (System.ServiceModel.Description.ContractDescription contractDescription)
> [0x00000] in <filename unknown>:0
> at Mono.ServiceContractTool.Driver.Run (System.String[] args) [0x00000]
> in <filename unknown>:0
> at Mono.ServiceContractTool.Driver.Main (System.String[] args) [0x00000]
> in <filename unknown>:0
>
That's the output I get above.
Regards,
David
--
View this message in context: http://mono.1490590.n4.nabble.com/Controlling-WCF-Soap-serialization-in-2-8-bug-tp2994626p3022136.html
Sent from the Mono - General mailing list archive at Nabble.com.
More information about the Mono-list
mailing list