Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

dotnet-svcutil Error: Value cannot be null. (Parameter 'args') #5452

Open
ramiabughazaleh opened this issue Mar 19, 2024 · 0 comments · May be fixed by #5453
Open

dotnet-svcutil Error: Value cannot be null. (Parameter 'args') #5452

ramiabughazaleh opened this issue Mar 19, 2024 · 0 comments · May be fixed by #5453
Assignees

Comments

@ramiabughazaleh
Copy link

When trying to generate client code for a WCF service, the following error occurs:
Error: Value cannot be null. (Parameter 'args')

Steps to reproduce

  1. Download and extract AvangateServiceReference.zip
  2. Run dotnet-svcutil AvangateServiceReference.wsdl --targetFramework net4.5

For reference, the original wsdl can be found here: https://api.avangate.com/soap/6.0/?wsdl

Expected behavior
I expected a c# proxy client to be generated.

Additional context
"C:\Program Files (x86)\Microsoft SDKs\Windows\v10.0A\bin\NETFX 4.6.1 Tools\svcutil.exe" AvangateServiceReference.wsdl generates the code, but the methods don't have any parameters and the return types are void.

ramiabughazaleh pushed a commit to ramiabughazaleh/wcf that referenced this issue Mar 19, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants