After experiencing a lot of down time, We decided to move this site to
CrystalTech.com. CrystalTech.com is powered by only the finest Windows servers providing the best performance, reliability, and value anywhere.
Calling ASP.Net Web Service from VB script
|
Author |
Message
|
arulmanoj78
-
Total Posts
:
1
- Scores: 0
-
Reward points
:
0
- Joined: 2/4/2009
-
Status: offline
|
Calling ASP.Net Web Service from VB script
Wednesday, February 04, 2009 8:39 PM
( permalink)
Hi, I have a asp.net web service installed in the server as DLL. I am able to add a web reference for this web service in VS 2005. But i want call this web service from vb script. Also i don't have the .asmx file in the installtion path. Please it's very urgent.
|
|
|
|
TNO
-
Total Posts
:
2091
- Scores: 34
-
Reward points
:
0
- Joined: 12/18/2004
- Location: Earth
-
Status: offline
|
RE: Calling ASP.Net Web Service from VB script
Tuesday, March 17, 2009 5:40 AM
( permalink)
You should be able to use XMLHTTPRequest to call the website with a GET/POST parameter just like you would do from an AJAX application
To iterate is human, to recurse divine. -- L. Peter Deutsch
|
|
|
|
abomb
-
Total Posts
:
1
- Scores: 0
-
Reward points
:
0
- Joined: 6/9/2009
-
Status: offline
|
RE: Calling ASP.Net Web Service from VB script
Wednesday, June 10, 2009 6:41 AM
( permalink)
Hi! I'm extremely new to VBScript. I have been able to call a webservice and return a string (sort of) using the script below but eventually I will need to pass some xml to a webservice that will manipulate it and then add it to our database. Do I need to use an XML object? SOAP? Can someone please point me in the right direction? Thanks Dim objHTTP, result Set objHTTP = CreateObject("Microsoft.XMLHTTP") objHTTP.open "POST","http://localhost:4762/Service1.asmx/HelloWorld", False objHTTP.setRequestHeader "Content-Type", "application/x-www-form-urlencoded" objHTTP.Send() result = objHTTP.responseText 'Return received XML MsgBox result
|
|
|
|
TNO
-
Total Posts
:
2091
- Scores: 34
-
Reward points
:
0
- Joined: 12/18/2004
- Location: Earth
-
Status: offline
|
RE: Calling ASP.Net Web Service from VB script
Wednesday, June 10, 2009 9:23 AM
( permalink)
To iterate is human, to recurse divine. -- L. Peter Deutsch
|
|
|
|
Online Bookmarks Sharing: