Using a web service

  • Thread starter Thread starter MikeB
  • Start date Start date
M

MikeB

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.zip)

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!
 
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>
 
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.
 
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>
 
Back
Top