-
Notifications
You must be signed in to change notification settings - Fork 379
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 #786 from DigDes/develop
v1.1.0.23
- Loading branch information
Showing
17 changed files
with
348 additions
and
124 deletions.
There are no files selected for viewing
30 changes: 30 additions & 0 deletions
30
src/SoapCore.Tests/MessageContract/Models/IArrayOfIntService.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,30 @@ | ||
using System; | ||
using System.Collections.Generic; | ||
using System.ServiceModel; | ||
using System.Text; | ||
|
||
namespace SoapCore.Tests.MessageContract.Models | ||
{ | ||
[ServiceContract(Namespace = "http://tempuri.org")] | ||
public interface IArrayOfIntService | ||
{ | ||
[OperationContract] | ||
int[] ArrayOfIntMethod(int[] arrayOfIntParam); | ||
|
||
[OperationContract] | ||
int IntMethod(int intParam); | ||
} | ||
|
||
public class ArrayOfIntService : IArrayOfIntService | ||
{ | ||
public int[] ArrayOfIntMethod(int[] arrayOfIntParam) | ||
{ | ||
return arrayOfIntParam; | ||
} | ||
|
||
public int IntMethod(int intParam) | ||
{ | ||
return intParam; | ||
} | ||
} | ||
} |
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
15 changes: 15 additions & 0 deletions
15
src/SoapCore.Tests/Serialization/Models.Xml/MessageContractRequestRpcStyle.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,15 @@ | ||
namespace SoapCore.Tests.Serialization.Models.Xml | ||
{ | ||
[System.ServiceModel.MessageContract(WrapperName = "TestMessageContractWithWithRpcStyle", WrapperNamespace = "http://xmlelement-namespace/", IsWrapped = true)] | ||
public class MessageContractRequestRpcStyle | ||
{ | ||
[System.ServiceModel.MessageBodyMember(Namespace = "", Order = 0)] | ||
public string StringParameter { get; set; } | ||
|
||
[System.ServiceModel.MessageBodyMember(Namespace = "", Order = 1)] | ||
public int IntParameter { get; set; } | ||
|
||
[System.ServiceModel.MessageBodyMember(Namespace = "", Order = 2)] | ||
public SampleEnum EnumParameter { get; set; } | ||
} | ||
} |
12 changes: 12 additions & 0 deletions
12
src/SoapCore.Tests/Serialization/Models.Xml/MessageContractResponseRpcStyle.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,12 @@ | ||
namespace SoapCore.Tests.Serialization.Models.Xml | ||
{ | ||
[System.ServiceModel.MessageContract(WrapperName = "TestMessageContractWithWithRpcStyleResponse", WrapperNamespace = "http://xmlelement-namespace/", IsWrapped = true)] | ||
public class MessageContractResponseRpcStyle | ||
{ | ||
[System.ServiceModel.MessageBodyMember(Namespace = "", Order = 0)] | ||
public int Result { get; set; } | ||
|
||
[System.ServiceModel.MessageBodyMember(Namespace = "", Order = 1)] | ||
public string Message { get; set; } | ||
} | ||
} |
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
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
Oops, something went wrong.