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

fix: EchoMessageResquestWithMessageHeader typo #5329

Open
wants to merge 1 commit into
base: main
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
Expand Up @@ -571,10 +571,10 @@ public interface IXmlMessageContarctTestService
XmlMessageContractTestResponse EchoMessageResponseWithMessageHeader(XmlMessageContractTestRequest request);

[OperationContract(
Action = "http://www.contoso.com/IXmlMessageContarctTestService/EchoMessageResquestWithMessageHeader",
Action = "http://www.contoso.com/IXmlMessageContarctTestService/EchoMessageRequestWithMessageHeader",
ReplyAction = "*")]
[XmlSerializerFormat(SupportFaults = true)]
XmlMessageContractTestResponse EchoMessageResquestWithMessageHeader(XmlMessageContractTestRequestWithMessageHeader request);
XmlMessageContractTestResponse EchoMessageRequestWithMessageHeader(XmlMessageContractTestRequestWithMessageHeader request);
}

[ServiceContract]
Expand Down Expand Up @@ -812,7 +812,7 @@ public interface IHelloWorldDocLit
[OperationContract]
void AddString(Guid guid, string testString);

[OperationContract]
[OperationContract]
string GetAndRemoveString(Guid guid);
}

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -51,7 +51,7 @@ public static void MessageHeader_RequestTypeWithUsesMessageHeaderAttribute()
try
{
// *** EXECUTE *** \\
XmlMessageContractTestResponse response = serviceProxy.EchoMessageResquestWithMessageHeader(input);
XmlMessageContractTestResponse response = serviceProxy.EchoMessageRequestWithMessageHeader(input);

// *** VALIDATE *** \\
Assert.NotNull(response);
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -150,10 +150,10 @@ public interface IWcfService
XmlMessageContractTestResponse EchoMessageResponseWithMessageHeader(XmlMessageContractTestRequest request);

[OperationContract(
Action = "http://www.contoso.com/IXmlMessageContarctTestService/EchoMessageResquestWithMessageHeader",
ReplyAction = "http://www.contoso.com/IXmlMessageContarctTestService/EchoMessageResquestWithMessageHeaderResponse")]
Action = "http://www.contoso.com/IXmlMessageContarctTestService/EchoMessageRequestWithMessageHeader",
ReplyAction = "http://www.contoso.com/IXmlMessageContarctTestService/EchoMessageRequestWithMessageHeaderResponse")]
[XmlSerializerFormat(SupportFaults = true)]
XmlMessageContractTestResponse EchoMessageResquestWithMessageHeader(XmlMessageContractTestRequestWithMessageHeader request);
XmlMessageContractTestResponse EchoMessageRequestWithMessageHeader(XmlMessageContractTestRequestWithMessageHeader request);

[OperationContract]
bool IsHttpKeepAliveDisabled();
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -245,7 +245,7 @@ public string GetRestartServiceEndpoint()
Guid guid = Guid.NewGuid();
string localHost = "http://localhost";
string path = "/WindowsCommunicationFoundationTest/" + WindowsIdentity.GetCurrent().Name.Split('\\').Last() + "/" + guid.ToString();

ServiceHost host = new ServiceHost(typeof(WcfRestartService));
host.AddServiceEndpoint(typeof(IWcfRestartService), binding, localHost + path);
host.Open();
Expand Down Expand Up @@ -311,7 +311,7 @@ public XmlMessageContractTestResponse EchoMessageResponseWithMessageHeader(XmlMe
return result;
}

public XmlMessageContractTestResponse EchoMessageResquestWithMessageHeader(XmlMessageContractTestRequestWithMessageHeader request)
public XmlMessageContractTestResponse EchoMessageRequestWithMessageHeader(XmlMessageContractTestRequestWithMessageHeader request)
{
var result = new XmlMessageContractTestResponse(request.Message);
return result;
Expand Down
Loading