[lnkForumImage]
TotalShareware - Download Free Software

Confronta i prezzi di migliaia di prodotti.
Asp Forum
 Home | Login | Register | Search 


 

Forums >

microsoft.public.dotnet.framework.aspnet.webservices

call a webservice programmatically

zoom

7/23/2003 12:31:00 PM

I would like to call a web service programmatically ie: without adding a web
reference in visual studio. From the docs it seems like I have to use
HttpWebRequest. Also what I can't figure out is how to convert the wsdl or
the xml that is returned to an object. In VS when you create a web reference
for a web service then we can access that service in code by instantiating
the service. How do I do this when I call the web service using
HttpWebRequest. Or is there any other way of doing this?

I a newbie to .NET so if anyone has anyone has any samples to share it would
be great.

Thanks in advance
Ted


8 Answers

Dino Chiesa [MSFT]

7/23/2003 7:42:00 PM

0

GotDotNet.com has this ...

http://www.gotdotnet.com/community/usersamples/Default.aspx?query=webser...


"Ted" <sumesh.nair@flytxt.com> wrote in message
news:uXnaKZRUDHA.2196@TK2MSFTNGP11.phx.gbl...
> I would like to call a web service programmatically ie: without adding a
web
> reference in visual studio. From the docs it seems like I have to use
> HttpWebRequest. Also what I can't figure out is how to convert the wsdl or
> the xml that is returned to an object. In VS when you create a web
reference
> for a web service then we can access that service in code by instantiating
> the service. How do I do this when I call the web service using
> HttpWebRequest. Or is there any other way of doing this?
>
> I a newbie to .NET so if anyone has anyone has any samples to share it
would
> be great.
>
> Thanks in advance
> Ted
>
>


(?`?.? Craig Chilton ?.???) <http://www.LayoffRemedy.com>

7/19/2011 3:40:00 AM

0

On Mon, 18 Jul 2011 19:07:07 -0700 (PDT),
ken <flakey714@att.net> wrote:
> "IlBenButtfucked @gmail.com" <Dimwitted Dave> wrote:


[ ... ]

> Tell us Dave, did seeing all those gay men get you horny?

Dave who? I never saw his name before this.

China Blue Veins

7/25/2011 10:34:00 AM

0

In article <51def0b5c3ba61f8fd5123ef013e082a@msgid.frell.theremailer.net>,
"Leroy Blue" <leroyblue@zoomcom.ca> wrote:

Goodnight, Greg.

--
I remember finding out about you, | Go out with a bang.
Everyday my mind is all around you,| I'm whoever you want me to be.
Looking out from my lonely room | Annoying Usenet one post at a time.
Day after day. | At least I can stay in character.

(?`?.? Craig Chilton ?.???) <http://www.TravelForPay.org>

7/25/2011 1:39:00 PM

0

On Mon, 25 Jul 2011 03:34:27 -0700,
"Light the China Blue Touch Paper"
<chine.bleu@yahoo.com> wrote:
> "Leroy Blue" <leroyblue@zoomcom.ca> wrote:


[ ... ]

> Goodnight...

..."Bill Taylor."

~*~*~*~*~*~*~*~*~*~*~*~*~*~*~*~*~*~*~*~*~*~*~*~*

The PROVEN Dishonesty of Bill Taylor
(As compiled by the Egalitarian, "No One")


"Leroyblue", aka "bibon," aka Bill Taylor is a bigot who posts regularly
on a variety of newsgroups, and is noted for his lack of manners, his
hatred, his dishonesty, and a characteristic redneck patois that
creeps in every so often. Of course, he denies his real identity (and
the large number of aliases he's used). Since "leroyblue" is simply
his latest identity, most of his real gems will appaer under his
"bibon" and former identities.

This guy is completely shameless. In a post with message ID:
<news:ustel318uigdheu19u3ab6n5r4rn4b4fj2@4ax.com>, he fal-
sified a citation - a reply to his statement showed how (see the post
with Message ID <news:87r6i0mmsy.fsf@nospam.pacbell.net> for
the details).

See Message-ID:
<news:n5tn72l8p74cfv8vcb8uu848b6ibuav57v@4ax.com> for a
post in which bibon accidentally identified himself as Bill Taylor and
Message ID <news:m3d5dvpb61.fsf@nospam.pacbell.net> for
details about how he identified himself. Basically, he claimed that
"Bill Taylor" never received a phone call from some individual, some-
thing only "Bill Taylor" could know, with the phone number in ques-
tion belonging to "our" "Bill Taylor". Others, of course, have
reached the same conclusion.

The really interesting question is why he is so sensitive about "Bill
Taylor" so much more so than all his other numerous identities. :-)

Some of his rantings are just comical. For example, in Message ID:
<news:2iell25bqiqgv16irm0ui3a048r8kjeaec@4ax.com>, one of Bill
Taylor's aliases "bibon@ralent.org (with a '^' over the 'a') posted an
inadvertent admission that he is gay enough to hire a male prostitute
(whether or not he intended to say that).

However, he's shown his dishonesty time and time again. For one
example, in Message ID
<news:skmio2d2lukbv2gkt5q0nqhk230e022r9s@4ax.com>, Bill Taylor
(aka bibon) was caught forging headers,changing "LC" to "LA" and "LB"
in headers he cut and pasted to pretend that "LC" was posting under
multiple identities. You can cross check this claim by using Google
to search for the message IDs. LC's post with Message ID:
<news:embjih02o3h@enews1.newsguy.com> was attributed by Bill
Taylor to "LA" (but Taylor suppressed part of the message ID by
giving it as <news:embjhn02...@enews1.newsguy.com> to make
tracing it difficult).

He also doesn't learn even when called on his behavior. In Message
ID <news:016tu2d0ksk24dsucsvpr22uq4nh2a80br@4ax.com>, bibon
(aka Bill Taylor) pretends a phrase in quotes was written in
<news:87ps7kj3oy.fsf@nospam.pacbell.net> yet it does not appear
there (<news:87ps7kj3oy.fsf@nospam.pacbell.net> is the message
ID of the post that he was responding to, as is clear from the headers
for his post). In message ID:
<news:dp22v21m779nvfjdch92nurepkr5ct88vl@4ax.com> he tried
to cover it up by claiming it wasa "mistake", even though the "mistake"
occurred in quoted text (lines starting with '>') that were automatically
inserted by his newsreader. His claim of a "mistake" is as believable
as "my dog ate my homework". Then in a post with message ID:
<news:s4d4v29mamrmrstjirqler18libhomhl93@4ax.com>, he tried to
pretend that he had merely snipped a post incorrectly, even though
the text in question never was in the one he quoted.

Such behavior gives zero credibility to any statment Bill Taylor (aka
bibon, aka ...) makes. You really have to wonder about someone
whowould post such a lie when it is so easily checked: just go to
<news:http://groups.google.com/advanced_search?q... and copy
a message ID (do not include the '<' and '>') in the search string at
the bottom of the page, and click the "Lookup Message" button to
find an original post.

~*~*~*~*~*~*~*~*~*~*~*~*~*~*~*~*~*~*~*~*~*~*~*~*

lorad

7/26/2011 4:28:00 AM

0

I am still waiting on the hetero marches.

Heteros are being discriminated against.

(?`?.? Craig Chilton ?.???) <http://www.TravelForPay.org>

7/26/2011 10:46:00 AM

0

On Tue, 26 Jul 2011 04:27:32 GMT,
"Uno Hu" <lorad474@cs.com> wrote:


> I am still waiting on the hetero marches.
>
> Heteros are being discriminated against.

Get back to us when you can list the states in which
THEY cannot marry THEIR partners of choice, dummy!

(?`?.? Craig Chilton ?.???) <http://www.TravelForPay.org>

7/27/2011 12:58:00 AM

0

On Tue, 26 Jul 2011 19:16:38 -0400,
Strabo <strabo@flashlight.net> wrote:


> I find that these 'gay pride parades' are steered
> and funded by socialist organizations.

"Socialist."

ROTFL!!!!!!! What a LOON!!

(We all need to chip in and buy him a time machine so
he could go back to the 1930s and feel right at home!)


RamRod Sword of Baal

8/2/2011 8:06:00 PM

0



"Leroy Blue" wrote in message
news:51def0b5c3ba61f8fd5123ef013e082a@msgid.frell.theremailer.net...

>> You mean to keep religious kooks like you happy..............

> Religion has nothing to do with it. Forced acceptance of it
> does. It's just about reached the boiling point in the United
> States and it's going to cost some lives. Maybe a lot of them.
> After the dust settles, there will no longer be a fag problem in
> the United States.


Ah the bigot dreams on................



You may have a small problem there as the polls show great acceptance for
Gay people allowed to serve in the military in the USA.


http://www.reuters.com/article/2010/11/29/us-usa-gays-military-idUSTRE6AS5...

//Mon Nov 29, 2010

In the poll, 58 percent of those surveyed favored allowing gays to serve
openly in the military with 27 percent opposed, and the remainder offering
no opinion.\
Only just over 1/4 opposed !!!!!!!!!!!!!!
Swallow that Leroy.