Permalink
Browse files

single wsdl file update

  • Loading branch information...
1 parent d8cdd32 commit e6c46338e418cc305d4046fc31daecd3ebe063db Markus Zorn committed Nov 3, 2011
@@ -203,7 +203,7 @@ public virtual void OnCancelKeyPress(object sender, ConsoleCancelEventArgs e)
public void Run()
{
- GraphDSClient = new GraphDS_RemoteClient(new Uri("http://localhost:9970/rpc"), true);
+ GraphDSClient = new GraphDS_RemoteClient(new Uri("https://localhost:9970/rpc"), true);
SecToken = GraphDSClient.LogOn(new RemoteUserPasswordCredentials("test", "test"));
TransToken = GraphDSClient.BeginTransaction(SecToken);
@@ -235,7 +235,7 @@ public sonesGraphDBStartup(String[] myArgs)
Dictionary<string, object> RemoteAPIParameter = new Dictionary<string, object>();
RemoteAPIParameter.Add("IPAddress", IPAddress.Any);
RemoteAPIParameter.Add("Port", (ushort)9970);
- RemoteAPIParameter.Add("IsSecure", true);
+ //RemoteAPIParameter.Add("IsSecure", true);
_dsServer.StartService("sones.RemoteAPIService", RemoteAPIParameter);
#endregion
@@ -75,9 +75,9 @@ public GraphDS_RemoteClient(Uri myServiceAddress, bool myIsSecure = false)
try
{
- //not suitable for checking secured connections
+ //request to test connection
var Request = HttpWebRequest.Create(myServiceAddress.ToString());
- //var Response = Request.GetResponse();
+ var Response = Request.GetResponse();
}
catch (Exception ex)
{
Oops, something went wrong.

0 comments on commit e6c4633

Please sign in to comment.