dotnet / dotnet/wcf

dotnet-svcutil doesn't unwrap certain method signatures

Open
#2,727 2 comments 0 reactions 0 assignees View on GitHub
Backlog priority 3 tooling
Dominant language
C#
Stars
1.8k
Forks
576
Avg merge
6d 9h
Merged PRs (30d)
2

Description

WSDL contracts with methods that return an array don't get "unwrapped" by dotnet-svcutil.

For example, a method with the following request/response wrappers:
```xml









```

Generates this interface method:
```c#
System.Threading.Tasks.Task updateFoosAsync(ServiceReference1.updateFoosRequest request);
```
Instead of unwrapping the request and response like this:
```c#
System.Threading.Tasks.Task updateFoosAsync(ServiceReference1.Foo[] foos);
```

Other methods are properly unwrapped. See attached example WSDL to reproduce:
[FooService.wsdl.txt](https://github.com/dotnet/wcf/files/1861393/FooService.wsdl.txt)

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.