Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Dynamically calling a method from a Web Service
Message
De
06/09/2012 08:51:40
 
 
À
06/09/2012 04:43:58
Information générale
Forum:
ASP.NET
Catégorie:
Autre
Versions des environnements
Environment:
VB 9.0
OS:
Windows 7
Network:
Windows 2003 Server
Database:
MS SQL Server
Application:
Web
Divers
Thread ID:
01552418
Message ID:
01552470
Vues:
37
>The above links didn't work for me. But Webservices use SOAP/POST so query strings won't normally work.
>If it's your web service that is being called you might be able to use something like this :http://stackoverflow.com/questions/2006828/possible-to-invoke-asmx-service-with-parameter-via-url-query-string
>
>If not you'd have to build your own Soap request.....

Those links were dummy links, as you probably have found out by now, based on what I put in the URL, just to show an example. Thread #1552092, which contains the link http://www.crowsprogramming.com/archives/66, will show you what I meant.

Yes, query string works in a Web Service call. I do it now and it works very well. It doesn't work when using the assembly to invoke the list of methods from a Web Service however as the assembly requires the .asmx?wsdl syntax which cannot support a .asmx URL following by a query string as the only query string for that code requires the ?wsdl after. If you look at that link, you will see what I mean. But, passing a query string for each Web Service calls to every method works OK. And, this is one requirement we have to support on a particular situation. It is just that I would like to benefit of a test environment, such as that link, to be able to test my Web Service, when the URL contains a parameter at the end.
Michel Fournier
Level Extreme Inc.
Designer, architect, owner of the Level Extreme Platform
Subscribe to the site at https://www.levelextreme.com/Home/DataEntry?Activator=55&NoStore=303
Subscription benefits https://www.levelextreme.com/Home/ViewPage?Activator=7&ID=52
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform