Пример #1
0
        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()));
        }
Пример #2
0
        public Message TestMethodCheckUntypedReplyAction()
        {
            Message serviceMessage = Message.CreateMessage(MessageVersion.Soap11, "myAction");

            return(serviceMessage);
        }