Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Using HttpWebRequest to send a SOAP envelope to SVC
Message
From
13/09/2012 08:34:55
 
General information
Forum:
ASP.NET
Category:
Web Services
Environment versions
Environment:
VB 9.0
OS:
Windows 7
Network:
Windows 2003 Server
Database:
MS SQL Server
Application:
Web
Miscellaneous
Thread ID:
01552688
Message ID:
01552831
Views:
34
>I don't see why this wouldn't work, but... why would you do this? With all the different .NET Web Service clients available including the WCF client which can connect to just about any kind of service, why would you want to reinvent the wheel? It's quite difficult to create proper HTML by hand and properly handle all the namespace conversions that are often require to make this work right...
>
>If you really want to go down this path I'd recommend you download a copy of SoapUI and connect to the service with that. It will show you the SOAP responses and you can build your manual requests based on that. Makes it much easier to see what's happening and often times you can find small problems before you start coding and can't see the forest for the trees :-)

Thanks

One of the goals is to go generic by having a class at the framework level. I have one for SOAP and one for SOAPSVC. However, with the SOAPSVC class, I cannot find a way to have it working when I have a binding and a custom behavior. See thread #1552778 for what I mean. If you can find a way of where the adjustment would be, that would be appreciated. This class does it pretty well. However, it is only working when I do not have the change the binding and benefit from a custom behavior.
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
Previous
Reply
Map
View

Click here to load this message in the networking platform