dotnet / dotnet/wcf

Missing base64 attribute in request from "dotnet-svcutil" generated client

Open
#4,069 7 comments 0 reactions 2 assignees Assigned to @mconnew View on GitHub
investigation needed priority 1 serialization
Dominant language
C#
Stars
1.8k
Forks
576
Avg merge
6d 9h
Merged PRs (30d)
2

Description

Bug: The generated client request is missing the `xsi:type="n1:base64" xmlns:n1="http://schemas.xmlsoap.org/soap/encoding/"` attribute on its `` element. The attribute specification is defined in the schema.

Schema: https://testing.maventa.com/apis/v1.1/wsdl
```
...





...
```

Generated request:
```
...

77u/PD94bWwgdmVyc2lvbj0iMS4wIi...ZvaWNlPg==
invoice1341515351353135.xml

...
```

Expected request:
```
...

77u/PD94bWwgdmVyc2lvbj0iMS4wIi...ZvaWNlPg==
invoice1341515351353135.xml

...
```

WSDL: https://testing.maventa.com/apis/v1.1/wsdl
Version: [Microsoft.Tools.ServiceModel.Svcutil, Version 2.0.0]

---
#### Document Details

⚠ *Do not edit this section. It is required for docs.microsoft.com ➟ GitHub issue linking.*

* ID: 3d0bd854-fec8-fc4a-760a-42dc22e07f99
* Version Independent ID: f04e9f8b-24d2-79fb-7521-6222c434e80f
* Content: [WCF svcutil tool overview - .NET Core](https://docs.microsoft.com/en-us/dotnet/core/additional-tools/dotnet-svcutil-guide?tabs=dotnetsvcutil2x)
* Content Source: [docs/core/additional-tools/dotnet-svcutil-guide.md](https://github.com/dotnet/docs/blob/master/docs/core/additional-tools/dotnet-svcutil-guide.md)
* Product: **dotnet-core**
* GitHub Login: @mlacouture
* Microsoft Alias: **mairaw**

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.