|
using System.ServiceModel;
using System.ServiceModel.Channels;
using NetMX.Remote.WebServices.WsAddressing;
using NetMX.Remote.WebServices.WSManagement;
using System;
namespace NetMX.Remote.WebServices.Jsr262
{
internal class NetMXWSServiceImpl : INetMXWSService
{
private IMBeanServer _server;
#region INetMXWSService Members
public Message GetAttribute(Message request)
{
string resourceUri = ResourceUriHeader.ReadFrom(request);
if (resourceUri == null || resourceUri != Consts.DynamicMBeanResourceUri)
{
return Faults.CreateDestinationUnreachable();
}
//FragmentTransferHeader fragmentTransfer = FragmentTransferHeader.ReadFrom(request);
WsmanSelectorSetHeader selectorSet = WsmanSelectorSetHeader.ReadFrom(request);
//selectorSet.Selectors
DynamicMBeanResource resource = new DynamicMBeanResource();
Message response = Message.CreateMessage(MessageVersion.Soap12WSAddressingAugust2004,
WsTransfer.Const.GetResponseAction, resource);
return response;
}
#endregion
}
}
|
By viewing downloads associated with this article you agree to the Terms of Service and the article's licence.
If a file you wish to view isn't highlighted, and is a text file (not binary), please
let us know and we'll add colourisation support for it.
This member has not yet provided a Biography. Assume it's interesting and varied, and probably something to do with programming.