Great!!! It worked..Thanks a lot
--
View this message in context:
http://mono-for-android.1047100.n5.nabble.com/Web-Service-in-Visual-Studio-tp5482944p5713663.html
Sent from the Mono for Android mailing list archive at Nabble.com.
___
Monodroid mailin
Hello friend,
I had the same error, but I changed the URL and got solucionalo
before:
this.Url = "http://LocalHost/WebServiceApp/WorkItem.asmx";;
then:
this.Url = "http://10.0.2.2/WebServiceApp/WorkItem.asmx";;
--
View this message in context:
http://mono-for-android.1047100.n5.nabble.com/
it works! using the ip address of the local machine to load the web service
into the project instead of localhost solved the problem
thanks all for all your help ...
--
View this message in context:
http://mono-for-android.1047100.n5.nabble.com/Web-Service-in-Visual-Studio-tp5482944p5486342.html
I created the manifest file through the project settings page in VS
the project is running in debug mode
an ASP.NET c# web project works using the same web service referenced in the
same way ...
10.0.2.2 does access the webservice in the emulator
I have referenced it as localhost in the project,
: Wed, 15 Feb 2012 07:50:12 -0700
From: notacom...@gmail.com
To: monodroid@lists.ximian.com
Subject: Re: [mono-android] Web Service in Visual Studio
You created a manifest file through the project settings page? Did you look at
the permissions in the Properties\AssemblyInfo.cs file first? And the
:02 -0500
From: gshack...@gmail.com
To: monodroid@lists.ximian.com
Subject: Re: [mono-android] Web Service in Visual Studio
You can't use "localhost" to access the host machine from the emulator. Try
using 10.0.2.2, which routes to the host machine.
On Wed, Feb 15, 2012 at 9:34 A
You created a manifest file through the project settings page? Did you look
at the permissions in the Properties\AssemblyInfo.cs file first? And the
error you posted looked like a bad address/port in your WCF configuration.
Do you have that client configuration working from a Windows project?
On W
You can't use "localhost" to access the host machine from the emulator. Try
using 10.0.2.2, which routes to the host machine.
On Wed, Feb 15, 2012 at 9:34 AM, johnv wrote:
> yes it does, Wally, I can access the internet with the emulator, just not
> my
> (localhost) webserver!
> very frustrating
yes it does, Wally, I can access the internet with the emulator, just not my
(localhost) webserver!
very frustrating ...
--
View this message in context:
http://mono-for-android.1047100.n5.nabble.com/Web-Service-in-Visual-Studio-tp5482944p5486202.html
Sent from the Mono for Android mailing list a
Subject: Re: [mono-android] Web Service in Visual Studio
>
> thanks .. I can't see anything that I'm doing that is obviously different to
> the tutorial. It doesn't mention the Internet permission in the manifest
> file?
> Is it something to do with the emulator set up,
thanks .. I can't see anything that I'm doing that is obviously different to
the tutorial. It doesn't mention the Internet permission in the manifest
file?
Is it something to do with the emulator set up, as it can't see my service?
--
View this message in context:
http://mono-for-android.1047100.
You can try the following tutorial to see how it goes:
http://monodroyd.wordpress.com/2012/01/09/using-web-services-to-build-your-own-weather-application-in-mono-for-android/
On Wed, Feb 15, 2012 at 8:52 AM, johnv wrote:
there was no manifest file, so I created one, and added the INTERNET
> p
there was no manifest file, so I created one, and added the INTERNET
permissions .. no joy, same result.
I then tried to access my service through the emulator, and got WEB Page Not
Available message
The emulator will find pages on the internet
If I access my service through a browser on my PC it c
On Feb 15, 2012, at 8:06 AM, johnv wrote:
> thanks for your reply. This is currently using the emulator, so I'm not sure
> that I can test web access?
The emulator has a Browser app, which is the web browser. You can try accessing
your server from the Browser app.
> How do I check if the App h
thanks for your reply. This is currently using the emulator, so I'm not sure
that I can test web access?
How do I check if the App has internet permissions? (this looks like
favourite!)
--
View this message in context:
http://mono-for-android.1047100.n5.nabble.com/Web-Service-in-Visual-Studio-tp
On Feb 15, 2012, at 4:28 AM, johnv wrote:
> [ERROR] FATAL UNHANDLED EXCEPTION: System.Net.WebException: Error:
> ConnectFailure (Connection refused) ---> System.Net.Sockets.SocketException:
> Connection refused
> at System.Net.Sockets.Socket.Connect (System.Net.EndPoint remoteEP)
Thank you for
stack trace:
Unhandled Exception:
System.Net.WebException:
Unhandled Exception:
System.Net.WebException:
[ERROR] FATAL UNHANDLED EXCEPTION: System.Net.WebException: Error:
ConnectFailure (Connection refused) ---> System.Net.Sockets.SocketException:
Connection refused
at System.Net.Sockets.S
As said, please provide a stack trace. Saying that it fails in the
Reference.cs file can be anything!
On Wed, Feb 15, 2012 at 9:12 AM, johnv wrote:
> hi Karl, interesting, I'll try that, but it would be a bit of a pain if thie
> is the only way of getting a web service to work!
>
> --
> View this
hi Karl, interesting, I'll try that, but it would be a bit of a pain if thie
is the only way of getting a web service to work!
--
View this message in context:
http://mono-for-android.1047100.n5.nabble.com/Web-Service-in-Visual-Studio-tp5482944p5485202.html
Sent from the Mono for Android mailing
Jonathen, I have tried both, with the same result. It failes in the
reference.cs file.
--
View this message in context:
http://mono-for-android.1047100.n5.nabble.com/Web-Service-in-Visual-Studio-tp5482944p5485195.html
Sent from the Mono for Android mailing list archive at Nabble.com.
hi Wally, just a very simple web service .. I get the same problem with wcf
or asmx .. as I say, it works fine on a non android problem. This is using
the emulator at the moment, I can't purchase the product until I can get a
sample web service working
thanks for your time
--
View this message in
.com
> Subject: [mono-android] Web Service in Visual Studio
>
> hi, has anyon on the forum got a web service working on the android using
> Visual Studio?
> I have created a simple project, deploys fine. I added a simple web service,
> but it bombs with a System.Net.WebException when t
On Feb 14, 2012, at 11:24 AM, johnv wrote:
> hi, has anyon on the forum got a web service working on the android using
> Visual Studio?
Is this a WCF web service or a VS2008-style web service?
> I have created a simple project, deploys fine. I added a simple web service,
> but it bombs with a S
"monodroid@lists.ximian.com"
Subject: [mono-android] Web Service in Visual Studio
hi, has anyon on the forum got a web service working on the android using
Visual Studio?
I have created a simple project, deploys fine. I added a simple web service,
but it bombs with a System.Net.WebException w
hi, has anyon on the forum got a web service working on the android using
Visual Studio?
I have created a simple project, deploys fine. I added a simple web service,
but it bombs with a System.Net.WebException when trying to invoke the method
(in the generated Reference.cs file)
Ther web service w
25 matches
Mail list logo