diff --git a/ELT.Client/ELT.Client.csproj b/ELT.Client/ELT.Client.csproj
index 624f67d..8abeaa6 100644
--- a/ELT.Client/ELT.Client.csproj
+++ b/ELT.Client/ELT.Client.csproj
@@ -5,6 +5,7 @@
+
@@ -15,4 +16,8 @@
+
+
+
+
diff --git a/ELT.Client/Inspector/InspectorBehavior.cs b/ELT.Client/Inspector/InspectorBehavior.cs
new file mode 100644
index 0000000..6ca37f4
--- /dev/null
+++ b/ELT.Client/Inspector/InspectorBehavior.cs
@@ -0,0 +1,35 @@
+using System.ServiceModel.Channels;
+using System.ServiceModel.Description;
+using System.ServiceModel.Dispatcher;
+
+namespace ELT.Client.Inspector
+{
+ public class InspectorBehavior : IEndpointBehavior
+ {
+ public MyMessageInspector myMessageInspector;
+ public InspectorBehavior() { }
+ public InspectorBehavior(MyMessageInspector myMessageInspector)
+ {
+ this.myMessageInspector = myMessageInspector;
+ }
+ public void AddBindingParameters(ServiceEndpoint endpoint, BindingParameterCollection bindingParameters)
+ {
+
+ }
+
+ public void ApplyClientBehavior(ServiceEndpoint endpoint, ClientRuntime clientRuntime)
+ {
+ clientRuntime.ClientMessageInspectors.Add(this.myMessageInspector);
+ }
+
+ public void ApplyDispatchBehavior(ServiceEndpoint endpoint, EndpointDispatcher endpointDispatcher)
+ {
+
+ }
+
+ public void Validate(ServiceEndpoint endpoint)
+ {
+
+ }
+ }
+}
diff --git a/ELT.Client/Inspector/MyMessageInspector.cs b/ELT.Client/Inspector/MyMessageInspector.cs
new file mode 100644
index 0000000..1fe956f
--- /dev/null
+++ b/ELT.Client/Inspector/MyMessageInspector.cs
@@ -0,0 +1,20 @@
+using System.ServiceModel;
+using System.ServiceModel.Dispatcher;
+
+namespace ELT.Client.Inspector
+{
+ public class MyMessageInspector : IClientMessageInspector
+ {
+ public string body;
+ public void AfterReceiveReply(ref System.ServiceModel.Channels.Message reply, object correlationState)
+ {
+
+ }
+
+ public object BeforeSendRequest(ref System.ServiceModel.Channels.Message request, IClientChannel channel)
+ {
+ body = request.ToString();
+ return null;
+ }
+ }
+}
diff --git a/ELT.Client/Managers/Insurance/KaskoManager.cs b/ELT.Client/Managers/Insurance/KaskoManager.cs
index 1ebd66b..d35e146 100644
--- a/ELT.Client/Managers/Insurance/KaskoManager.cs
+++ b/ELT.Client/Managers/Insurance/KaskoManager.cs
@@ -10,7 +10,7 @@ namespace ELT.Client.Managers.Insurance
{
public class KaskoManager : InsuranceManager
{
- private readonly EltSoap _eltKaskoSoap;
+ private readonly EltSoapClient _eltKaskoSoap;
public KaskoManager()
{