Velocity Reviews - Computer Hardware Reviews

Velocity Reviews > Newsgroups > Programming > ASP .Net > ASP .Net Web Services > Invoking Web Service wothout client proxy

Reply
Thread Tools

Invoking Web Service wothout client proxy

 
 
Chris
Guest
Posts: n/a
 
      02-19-2004
Hi all.
Does anybody know how to invoke web methods on the fly - without having to
build a client side proxy.
I know this is possible with the soap toolkit - I would not want so use it
though seeing that it is not managed.
Any ideas would be great!

Thanks


 
Reply With Quote
 
 
 
 
Jan Tielens
Guest
Posts: n/a
 
      02-19-2004
Sure, take a look at Christian Weyer's great library:
http://weblogs.asp.net/cweyer/archiv...7/07/9769.aspx

"Did you ever think about invoking your XML Web Services dynamically without
having to generate a client side proxy class at design/compile time with
wsdl.exe or Visual Studio .NET? - No need to know the exact Web Service
description and endpoint at compile/design time. Just get your WSDL from
UDDI (or from wherever you want, e.g. XMethods), specify the type to
instantiate and the methods to call ... voila! Can be used from any .NET
application or even an unmanaged resource."

--
Greetz

Jan Tielens
________________________________
Read my weblog: http://weblogs.asp.net/jan


"Chris" <> wrote in message
news:#...
> Hi all.
> Does anybody know how to invoke web methods on the fly - without having

to
> build a client side proxy.
> I know this is possible with the soap toolkit - I would not want so use it
> though seeing that it is not managed.
> Any ideas would be great!
>
> Thanks
>
>



 
Reply With Quote
 
 
 
 
Chris
Guest
Posts: n/a
 
      02-19-2004
Thanks for the reply But.
He is actualy building the assembly on the fly.
I do not want this. I want to invoke the webmethod without that - as was
possible with the soap toolkit.
I am thinking along the lines of using HTTPWebRequest to invoke the soap
call.

Thanks

"Jan Tielens" <> wrote in message
news:...
> Sure, take a look at Christian Weyer's great library:
> http://weblogs.asp.net/cweyer/archiv...7/07/9769.aspx
>
> "Did you ever think about invoking your XML Web Services dynamically

without
> having to generate a client side proxy class at design/compile time with
> wsdl.exe or Visual Studio .NET? - No need to know the exact Web Service
> description and endpoint at compile/design time. Just get your WSDL from
> UDDI (or from wherever you want, e.g. XMethods), specify the type to
> instantiate and the methods to call ... voila! Can be used from any .NET
> application or even an unmanaged resource."
>
> --
> Greetz
>
> Jan Tielens
> ________________________________
> Read my weblog: http://weblogs.asp.net/jan
>
>
> "Chris" <> wrote in message
> news:#...
> > Hi all.
> > Does anybody know how to invoke web methods on the fly - without having

> to
> > build a client side proxy.
> > I know this is possible with the soap toolkit - I would not want so use

it
> > though seeing that it is not managed.
> > Any ideas would be great!
> >
> > Thanks
> >
> >

>
>



 
Reply With Quote
 
Michael Pearson
Guest
Posts: n/a
 
      02-19-2004
I'm with Christan on this one. What do you hope to gain by NOT having the
client side proxy?

Michael

"Christian Weyer [MSDN RD]"
<christian.no_spam.weyer_AT_no_spam.xmlwebservices .cc> wrote in message
news:...
> Trust me: the SOAP Toolkit did exactly the same (well, to a certain

extent)
> ... but not based on a .NET assembly, obviously. You have approx. the

exact
> same overhead with my approach (and I am using caching addtionally) as
> comapred to STK.
>
> I don't recommend anybody to handcraft any SOAP requests and to parse any
> SOAP responses - this is just too fragile and error prone. IMHO.
>
> Cheers,
> --
> Christian Weyer
>
> Microsoft .NET & Service Oriented Architectures
> Consulting, Developing, Writing & Teaching
>
> [Microsoft Regional Director, Germany]
> http://www.regionaldirectors.de/
>
> * XML Web Services: http://www.xmlwebservices.cc/
> * Weblog: http://weblogs.asp.net/cweyer/
>
>
>
> "Chris" <> wrote in message
> news:%234p%...
> > Thanks for the reply But.
> > He is actualy building the assembly on the fly.
> > I do not want this. I want to invoke the webmethod without that - as was
> > possible with the soap toolkit.
> > I am thinking along the lines of using HTTPWebRequest to invoke the soap
> > call.
> >
> > Thanks
> >
> > "Jan Tielens" <> wrote in message
> > news:...
> > > Sure, take a look at Christian Weyer's great library:
> > > http://weblogs.asp.net/cweyer/archiv...7/07/9769.aspx
> > >
> > > "Did you ever think about invoking your XML Web Services dynamically

> > without
> > > having to generate a client side proxy class at design/compile time

with
> > > wsdl.exe or Visual Studio .NET? - No need to know the exact Web

Service
> > > description and endpoint at compile/design time. Just get your WSDL

from
> > > UDDI (or from wherever you want, e.g. XMethods), specify the type to
> > > instantiate and the methods to call ... voila! Can be used from any

..NET
> > > application or even an unmanaged resource."
> > >
> > > --
> > > Greetz
> > >
> > > Jan Tielens
> > > ________________________________
> > > Read my weblog: http://weblogs.asp.net/jan
> > >
> > >
> > > "Chris" <> wrote in message
> > > news:#...
> > > > Hi all.
> > > > Does anybody know how to invoke web methods on the fly - without

> having
> > > to
> > > > build a client side proxy.
> > > > I know this is possible with the soap toolkit - I would not want so

> use
> > it
> > > > though seeing that it is not managed.
> > > > Any ideas would be great!
> > > >
> > > > Thanks
> > > >
> > > >
> > >
> > >

> >
> >

>
>



---
Outgoing mail is certified Virus Free.
Checked by AVG anti-virus system (http://www.grisoft.com).
Version: 6.0.591 / Virus Database: 374 - Release Date: 2/17/2004


 
Reply With Quote
 
 
 
Reply

Thread Tools

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
New Web Proxy List - View Restricted Content with web proxy melati1979@gmail.com Cisco 1 02-25-2009 08:51 PM
XsdObjectGen classes in Web Service Client Proxy dave v ASP .Net Web Services 1 02-10-2005 07:56 AM
Invoking Web Service without creating proxy Thomas via .NET 247 ASP .Net Web Services 2 05-14-2004 05:25 AM
Running a managed web service proxy client on a PC without .NET framework Jorge Loureriro ASP .Net Web Services 2 02-11-2004 05:44 PM
XML Web service client without proxy instance? Paul Fin ASP .Net Web Services 0 09-10-2003 09:42 AM



Advertisments
 



1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57