public Message Echo(Message input) { RemoteEndpointMessageProperty remp = (RemoteEndpointMessageProperty)input.Properties[RemoteEndpointMessageProperty.Name]; return(Message.CreateMessage(input.Version, "echo", input.GetBody <string>() + ";" + remp.Address + ";" + remp.Port.ToString())); }
public Message TestMethodCheckUntypedReplyAction() { Message serviceMessage = Message.CreateMessage(MessageVersion.Soap11, "myAction"); return(serviceMessage); }