Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Browse files

single wsdl file update

  • Loading branch information...
commit e6c46338e418cc305d4046fc31daecd3ebe063db 1 parent d8cdd32
Markus Zorn authored
View
2  Applications/TagExampleWithGraphMappingFramework/Example.cs
@@ -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);
View
2  Applications/sonesGraphDB/sonesGraphDBStarter.cs
@@ -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
View
4 GraphDS/Client/Implementations/GraphDSRemoteClient/GraphDS_RemoteClient.cs
@@ -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)
{
View
3,501 Plugins/GraphDS/Services/Implementations/RemoteAPIService/ServiceContracts/MEX/WSDL.xml
3,493 additions, 8 deletions not shown
View
26 Plugins/GraphDS/Services/Implementations/RemoteAPIService/sonesRPCServer.cs
@@ -279,23 +279,19 @@ private void InitializeServer()
_MexServiceHost.AddServiceEndpoint(MexService);
_MexServiceHost.Description.Endpoints[0].Behaviors.Add(new System.ServiceModel.Description.WebHttpBehavior());
- //ServiceMetadataBehavior metadataBehavior = new ServiceMetadataBehavior();
- //Binding mexBinding;
- //if (IsSecure == true)
- //{
- // mexBinding = MetadataExchangeBindings.CreateMexHttpsBinding();
- // metadataBehavior.HttpsGetEnabled = true;
- //}
- //else
- //{
- // mexBinding = MetadataExchangeBindings.CreateMexHttpBinding();
- // metadataBehavior.HttpGetEnabled = true;
- //}
-
+ //// auto generation
+ //ServiceMetadataBehavior metadataBehavior = new ServiceMetadataBehavior();
+ //metadataBehavior.HttpGetEnabled = true;
+ //Binding mexBinding = MetadataExchangeBindings.CreateMexHttpBinding();
+ //mexBinding.Namespace = Namespace;
//_ServiceHost.Description.Behaviors.Add(metadataBehavior);
- //mexBinding.Namespace = Namespace;
- //_ServiceHost.AddServiceEndpoint(typeof(IMetadataExchange), mexBinding, "mex");
+ //ServiceEndpoint mexEndpoint = _ServiceHost.AddServiceEndpoint(ServiceMetadataBehavior.MexContractName, mexBinding, "mex");
+ //foreach (ServiceEndpoint endpoint in _ServiceHost.Description.Endpoints)
+ //{
+ // //export just one file
+ // endpoint.Behaviors.Add(new WsdlExtensions(new WsdlExtensionsConfig() { SingleFile = true }));
+ //}
#endregion
}
Please sign in to comment.
Something went wrong with that request. Please try again.