Using a web service
am 31.10.2007 19:04:12 von MPBrede
I'm really new at this. Trying my hand at creating an ASP.Net website
using C# as the language. I have written a website using ASP.net and
VB and I have worked through a book on using C#.
I have a sample C# asp.net application from here (http://
www.prosper.com/Downloads/Services/Samples/ProsperQueryApp.z ip)
I want to write a website that implements the same web service
https://services.prosper.com/ProsperAPI/ProsperAPI.asmx?WSDL
In the sample (and in a web site I create using VB) the web services
appear in the object browser. When I create a web reference in a C#
website, I don't get the web reference in the Object Browser. Any
reference in my program is then in error.
I'm having a lot of difficulty writing a web page using C#. Sometimes
when I create a form on the page, it is as if the form doesn't exist.
Once I managed to get past this by excluding the page from the
solution and then including it again. However, I cannot get a
reference to a DataGridView to be resolved.
I'm really tempted to chuck the C# attempt and fall back to VB.
Please help!
Re: Using a web service
am 01.11.2007 10:14:15 von nemtsev
Hello MikeB,
To have the WebService reference in object browser you need to create your
WS firstly.
after that you need to start your WS server, so you can have access to it
locally
---
WBR,
Michael Nemtsev [.NET/C# MVP] :: blog: http://spaces.live.com/laflour
"The greatest danger for most of us is not that our aim is too high and we
miss it, but that it is too low and we reach it" (c) Michelangelo
M> I'm having a lot of difficulty writing a web page using C#. Sometimes
M> when I create a form on the page, it is as if the form doesn't exist.
M> Once I managed to get past this by excluding the page from the
M> solution and then including it again. However, I cannot get a
M> reference to a DataGridView to be resolved.
M>
Re: Using a web service
am 01.11.2007 14:21:19 von MPBrede
Hi Michael, thank you for your reply. I believe the web service is
existing and running at the services.prosper.com website.
I see lots of things about having a "proxy server" do I need one? As I
said, I can get the supplied sample C# Windows forms application to
run. It is only when I try and define the web reference in a website
using c# that I'm having difficulties.
On Nov 1, 4:14 am, Michael Nemtsev, MVP wrote:
> Hello MikeB,
>
> To have the WebService reference in object browser you need to create your
> WS firstly.
> after that you need to start your WS server, so you can have access to it
> locally
>
> ---
> WBR,
> Michael Nemtsev [.NET/C# MVP] :: blog:http://spaces.live.com/laflour
>
> "The greatest danger for most of us is not that our aim is too high and we
> miss it, but that it is too low and we reach it" (c) Michelangelo
>
> M> I'm having a lot of difficulty writing a web page using C#. Sometimes
> M> when I create a form on the page, it is as if the form doesn't exist.
> M> Once I managed to get past this by excluding the page from the
> M> solution and then including it again. However, I cannot get a
> M> reference to a DataGridView to be resolved.
> M>
Re: Using a web service
am 01.11.2007 22:41:48 von nemtsev
Hello MikeB,
When you add reference to your WS the proxy will be created automatically
What is your WS server name url? u need to type it into the IE to check its
availability
---
WBR,
Michael Nemtsev [.NET/C# MVP] :: blog: http://spaces.live.com/laflour
"The greatest danger for most of us is not that our aim is too high and we
miss it, but that it is too low and we reach it" (c) Michelangelo
M> I see lots of things about having a "proxy server" do I need one? As
M> I said, I can get the supplied sample C# Windows forms application to
M> run. It is only when I try and define the web reference in a website
M> using c# that I'm having difficulties.
M>
Re: Using a web service
am 02.11.2007 23:34:23 von MPBrede
If I understand this whole web service thing correctly, then this is
the web server name:
https://services.prosper.com/ProsperAPI/ProsperAPI.asmx?WSDL
On Nov 1, 4:41 pm, Michael Nemtsev, MVP wrote:
> Hello MikeB,
>
> When you add reference to your WS the proxy will be created automatically
>
> What is your WS server name url? u need to type it into the IE to check its
> availability
>
> ---
> WBR,
> Michael Nemtsev [.NET/C# MVP] :: blog:http://spaces.live.com/laflour
>
> "The greatest danger for most of us is not that our aim is too high and we
> miss it, but that it is too low and we reach it" (c) Michelangelo
>
> M> I see lots of things about having a "proxy server" do I need one? As
> M> I said, I can get the supplied sample C# Windows forms application to
> M> run. It is only when I try and define the web reference in a website
> M> using c# that I'm having difficulties.
> M>