Permalink
Browse files

getting MonoTouch project to build again

  • Loading branch information...
1 parent 28c90a6 commit af0732afc4c8983a77704be37ec27a85c2ed0559 @gshackles gshackles committed Oct 22, 2012
@@ -3,9 +3,11 @@
using System.IO;
using System.Net;
#if !(MONOTOUCH || SILVERLIGHT)
-using System.Reflection;
using System.Web;
#endif
+#if !SILVERLIGHT
+using System.Reflection;
+#endif
using ServiceStack.Common;
using ServiceStack.Common.Web;
using ServiceStack.Logging;
@@ -6,124 +6,58 @@
namespace ServiceStack.ServiceClient.Web
{
#if SILVERLIGHT || MONOTOUCH || XBOX || ANDROID
-
- public class Soap12ServiceClient : IServiceClient
- {
- public Soap12ServiceClient(string uri)
- {
- throw new NotImplementedException();
- }
-
- public void Dispose()
- {
- throw new NotImplementedException();
- }
-
- TResponse IReplyClient.Send<TResponse>(object request)
- {
- throw new NotImplementedException();
- }
-
- public TResponse Send<TResponse>(ServiceStack.ServiceHost.IReturn<TResponse> request)
- {
- throw new NotImplementedException();
- }
-
- public void Send(ServiceStack.ServiceHost.IReturnVoid request)
- {
- throw new NotImplementedException();
- }
-
- TResponse IReplyClient.PostFile<TResponse>(string relativeOrAbsoluteUrl, FileInfo fileToUpload, string mimeType)
- {
- throw new NotImplementedException();
- }
-
- TResponse IReplyClient.PostFile<TResponse>(string relativeOrAbsoluteUrl, Stream fileToUpload, string fileName, string mimeType)
- {
- throw new NotImplementedException();
- }
-
- TResponse IReplyClient.PostFileWithRequest<TResponse>(string relativeOrAbsoluteUrl, FileInfo fileToUpload, object request)
- {
- throw new NotImplementedException();
- }
-
- TResponse IReplyClient.PostFileWithRequest<TResponse>(string relativeOrAbsoluteUrl, Stream fileToUpload, string fileName, object request)
- {
- throw new NotImplementedException();
- }
-
- public void SetCredentials(string userName, string password)
- {
- throw new NotImplementedException();
- }
-
- public void GetAsync<TResponse>(string relativeOrAbsoluteUrl, Action<TResponse> onSuccess,
- Action<TResponse, Exception> onError)
- {
- throw new NotImplementedException();
- }
-
- public void DeleteAsync<TResponse>(string relativeOrAbsoluteUrl, Action<TResponse> onSuccess,
- Action<TResponse, Exception> onError)
- {
- throw new NotImplementedException();
- }
-
- public void PostAsync<TResponse>(string relativeOrAbsoluteUrl, object request,
- Action<TResponse> onSuccess, Action<TResponse,Exception> onError)
- {
- throw new NotImplementedException();
- }
-
- public void PutAsync<TResponse>(string relativeOrAbsoluteUrl, object request, Action<TResponse> onSuccess,
- Action<TResponse,Exception> onError)
- {
- throw new NotImplementedException();
- }
-
- public void SendAsync<TResponse>(object request, Action<TResponse> onSuccess, Action<TResponse, Exception> onError)
- {
- throw new NotImplementedException();
- }
-
- public void SendOneWay(object request)
- {
- throw new NotImplementedException();
- }
-
- public void SendOneWay(string relativeOrAbsoluteUrl, object request)
- {
- throw new NotImplementedException();
- }
-
- public TResponse Send<TResponse>(object request)
- {
- throw new NotImplementedException();
- }
-
- public TResponse PostFile<TResponse>(string relativeOrAbsoluteUrl, FileInfo fileToUpload, string mimeType)
- {
- throw new NotImplementedException();
- }
-
- public TResponse PostFile<TResponse>(string relativeOrAbsoluteUrl, Stream fileToUpload, string fileName, string mimeType)
- {
- throw new NotImplementedException();
- }
-
- public TResponse PostFileWithRequest<TResponse>(string relativeOrAbsoluteUrl, FileInfo fileToUpload, object request)
- {
- throw new NotImplementedException();
- }
-
- public TResponse PostFileWithRequest<TResponse>(string relativeOrAbsoluteUrl, Stream fileToUpload, string fileName, object request)
- {
- throw new NotImplementedException();
- }
- }
-
+ public class Soap12ServiceClient : IServiceClient
+ {
+ public Soap12ServiceClient(string url)
+ {
+ throw new NotImplementedException();
+ }
+
+ void IOneWayClient.SendOneWay(object request)
+ {
+ throw new NotImplementedException();
+ }
+
+ void IOneWayClient.SendOneWay(string relativeOrAbsoluteUrl, object request)
+ {
+ throw new NotImplementedException();
+ }
+
+ void IServiceClientAsync.SendAsync<TResponse>(object request, Action<TResponse> onSuccess, Action<TResponse, Exception> onError)
+ {
+ throw new NotImplementedException();
+ }
+
+ void IRestClientAsync.SetCredentials(string userName, string password)
+ {
+ throw new NotImplementedException();
+ }
+
+ void IRestClientAsync.GetAsync<TResponse>(string relativeOrAbsoluteUrl, Action<TResponse> onSuccess, Action<TResponse, Exception> onError)
+ {
+ throw new NotImplementedException();
+ }
+
+ void IRestClientAsync.DeleteAsync<TResponse>(string relativeOrAbsoluteUrl, Action<TResponse> onSuccess, Action<TResponse, Exception> onError)
+ {
+ throw new NotImplementedException();
+ }
+
+ void IRestClientAsync.PostAsync<TResponse>(string relativeOrAbsoluteUrl, object request, Action<TResponse> onSuccess, Action<TResponse, Exception> onError)
+ {
+ throw new NotImplementedException();
+ }
+
+ void IRestClientAsync.PutAsync<TResponse>(string relativeOrAbsoluteUrl, object request, Action<TResponse> onSuccess, Action<TResponse, Exception> onError)
+ {
+ throw new NotImplementedException();
+ }
+
+ void IDisposable.Dispose()
+ {
+ throw new NotImplementedException();
+ }
+ }
#else
using System.ServiceModel;
@@ -3,7 +3,7 @@
namespace ServiceStack.Service
{
public interface IServiceClient : IServiceClientAsync, IOneWayClient
-#if !SILVERLIGHT
+#if !(SILVERLIGHT || MONOTOUCH)
, IReplyClient
#endif
{
@@ -249,9 +249,6 @@
<Compile Include="..\..\ServiceStack.Common\ServiceClient.Web\Soap11ServiceClient.cs">
<Link>ServiceClient.Web\Soap11ServiceClient.cs</Link>
</Compile>
- <Compile Include="..\..\ServiceStack.Common\ServiceClient.Web\Soap12ServiceClient.cs">
- <Link>ServiceClient.Web\Soap12ServiceClient.cs</Link>
- </Compile>
<Compile Include="..\..\ServiceStack.Common\ServiceClient.Web\WcfServiceClient.cs">
<Link>ServiceClient.Web\WcfServiceClient.cs</Link>
</Compile>
@@ -414,6 +411,12 @@
<Compile Include="..\..\ServiceStack.Common\RequestContextExtensions.cs">
<Link>RequestContextExtensions.cs</Link>
</Compile>
+ <Compile Include="..\..\ServiceStack.Common\ServiceClient.Web\UrlExtensions.cs">
+ <Link>ServiceClient.Web\UrlExtensions.cs</Link>
+ </Compile>
+ <Compile Include="..\..\ServiceStack.Common\ServiceClient.Web\Soap12ServiceClient.cs">
+ <Link>ServiceClient.Web\Soap12ServiceClient.cs</Link>
+ </Compile>
</ItemGroup>
<ItemGroup>
<ProjectReference Include="..\..\..\..\ServiceStack.Text\src\ServiceStack.Text.MonoTouch\ServiceStack.Text.MonoTouch\ServiceStack.Text.MonoTouch.csproj">
@@ -591,6 +591,9 @@
<Compile Include="..\..\ServiceStack.Interfaces\ServiceHost\RouteAttribute.cs">
<Link>ServiceHost\RouteAttribute.cs</Link>
</Compile>
+ <Compile Include="..\..\ServiceStack.Interfaces\ServiceInterface.ServiceModel\ErrorResponse.cs">
+ <Link>ServiceInterface.ServiceModel\ErrorResponse.cs</Link>
+ </Compile>
</ItemGroup>
<ItemGroup>
<Content Include="..\..\ServiceStack.Interfaces\Redis\Redis-annotated.png">

0 comments on commit af0732a

Please sign in to comment.