-
Notifications
You must be signed in to change notification settings - Fork 370
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #1045 from Yozer/base-classes
feat(wsdl-meta): add support to WSDL for base types
- Loading branch information
Showing
4 changed files
with
95 additions
and
5 deletions.
There are no files selected for viewing
33 changes: 33 additions & 0 deletions
33
src/SoapCore.Tests/Wsdl/Services/IComplexBaseTypeService.cs
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,33 @@ | ||
using System.Collections.Generic; | ||
using System.ServiceModel; | ||
|
||
namespace SoapCore.Tests.Wsdl.Services; | ||
|
||
[ServiceContract] | ||
public interface IComplexBaseTypeService | ||
{ | ||
[OperationContract] | ||
DerivedTypeList Method(DerivedTypeList argument); | ||
} | ||
|
||
public class ComplexBaseTypeService : IComplexBaseTypeService | ||
{ | ||
public DerivedTypeList Method(DerivedTypeList argument) | ||
{ | ||
return new DerivedTypeList(); | ||
} | ||
} | ||
|
||
public class BaseType | ||
{ | ||
public string BaseName { get; set; } | ||
} | ||
|
||
public class DerivedType : BaseType | ||
{ | ||
public string DerivedName { get; set; } | ||
} | ||
|
||
public class DerivedTypeList : List<DerivedType> | ||
{ | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters